I'm trying to build CodeLite from Subversion on Ubuntu 8.10 (Intrepid Ibex). I ran "configure --enable-debug", then "make -j2". I'm getting the following error:
=====
g++ -g -DREGEXP_UNICODE -Wall -I/usr/lib/wx/include/base-unicode-debug-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -DwxUSE_GUI=0 -pthread -fno-strict-aliasing -DASTYLE_LIB -DYY_NEVER_INTERACTIVE=1 -DGTK -DSCI_LEXER -DLINK_LEXERS -D__WX__ -ILiteEditor -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I. -I./sdk/wxsqlite3/include -I./sdk/wxsqlite3/sqlite3/include -I./sdk/wxscintilla/include -I./sdk/wxscintilla/src/scintilla/include -I./sdk/wxscintilla/src/scintilla/src -I./Interfaces -I./Debugger -I./Plugin -I./CodeLite -c CodeLite/archive.cpp -o Debug_gcc_unicode/archive.o
In file included from /usr/include/c++/4.3/i486-linux-gnu/bits/gthr-default.h:44,
from /usr/include/c++/4.3/i486-linux-gnu/bits/gthr.h:132,
from /usr/include/c++/4.3/ext/atomicity.h:39,
from /usr/include/c++/4.3/bits/basic_string.h:46,
from /usr/include/c++/4.3/string:58,
from /usr/include/wx-2.8/wx/string.h:176,
from CodeLite/archive.h:28,
from CodeLite/archive.cpp:25:
./CodeLite/unistd.h:37:16: error: io.h: No such file or directory
./CodeLite/unistd.h:38:21: error: process.h: No such file or directory
CodeLite/archive.cpp: In member function ‘bool Archive::Read(const wxString&, wxColour&)’:
CodeLite/archive.cpp:494: error: invalid use of incomplete type ‘struct wxColour’
=====
Any clue as to what might be wrong?
adam
build error on Ubuntu 8.10
-
- CodeLite Curious
- Posts: 2
- Joined: Wed Jan 07, 2009 6:43 pm
- Contact:
-
- CodeLite Curious
- Posts: 2
- Joined: Wed Jan 07, 2009 6:43 pm
- Contact:
Re: build error on Ubuntu 8.10
Aha - I figured out what was wrong. I had installed the libwxbase2.8-dbg package, but not the libwxgtk2.8-dbg package which includes debug versions of GUI classes in wxWidgets.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: build error on Ubuntu 8.10
anyhow, there is a bug in the makefile - so to use the -j2 option, it is advised to compile:
OR
Eran
Code: Select all
make -j2; make -j2; make
Code: Select all
make
Make sure you have read the HOW TO POST thread