Errors in building codelite ubuntu
Posted: Thu Oct 24, 2013 10:05 am
Hello,
I am trying to build the latest codelite repo which i pulled as below:
git clone git://git.code.sf.net/p/codelite/codelitegit codelitegit
and then I ran the below three commands:
[/color]
They worked fine without errors.
but when I ran make -j4 I get the below error. Can anyone help ..! The precompiled binary hangs on my system so I am following this path but now this also does not work.
I am using ubuntu 12.04 LTS.
I am trying to build the latest codelite repo which i pulled as below:
git clone git://git.code.sf.net/p/codelite/codelitegit codelitegit
and then I ran the below three commands:
Code: Select all
mkdir build-release
cd build-release
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ..
They worked fine without errors.
but when I ran make -j4 I get the below error. Can anyone help ..! The precompiled binary hangs on my system so I am following this path but now this also does not work.
I am using ubuntu 12.04 LTS.
In file included from /home/nitin/software/codelite/codelitegit/sdk/wxshapeframework/src/CurveShape.cpp:20:0:
/home/nitin/software/codelite/codelitegit/sdk/wxshapeframework/include/wx/wxsf/ShapeCanvas.h:93:37: error: invalid use of incomplete type ‘class wxDropTarget’
In file included from /usr/local/include/wx-2.9/wx/wx.h:39:0,
from /home/nitin/software/codelite/codelitegit/sdk/wxshapeframework/src/wx_pch.h:37,
from /home/nitin/software/codelite/codelitegit/sdk/wxshapeframework/src/CurveShape.cpp:11:
/usr/local/include/wx-2.9/wx/window.h:73:28: error: forward declaration of ‘class wxDropTarget’
In file included from /home/nitin/software/codelite/codelitegit/sdk/wxshapeframework/src/CurveShape.cpp:20:0:
/home/nitin/software/codelite/codelitegit/sdk/wxshapeframework/include/wx/wxsf/ShapeCanvas.h:101:10: error: ‘wxDragResult’ does not name a type
In file included from /home/nitin/software/codelite/codelitegit/sdk/wxshapeframework/src/CurveShape.cpp:20:0:
/home/nitin/software/codelite/codelitegit/sdk/wxshapeframework/include/wx/wxsf/ShapeCanvas.h:440:2: error: ‘wxDragResult’ does not name a type
/home/nitin/software/codelite/codelitegit/sdk/wxshapeframework/include/wx/wxsf/ShapeCanvas.h:991:44: error: ‘wxDragResult’ has not been declared
/home/nitin/software/codelite/codelitegit/sdk/wxshapeframework/include/wx/wxsf/ShapeCanvas.h:1188:37: error: ‘wxDragResult’ has not been declaredIn file included from /home/nitin/software/codelite/codelitegit/sdk/wxshapeframework/src/ControlShape.cpp:19:0:
/home/nitin/software/codelite/codelitegit/sdk/wxshapeframework/include/wx/wxsf/ShapeCanvas.h:93:37: error: invalid use of incomplete type ‘class wxDropTarget’
In file included from /usr/local/include/wx-2.9/wx/wx.h:39:0,
from /home/nitin/software/codelite/codelitegit/sdk/wxshapeframework/src/wx_pch.h:37,
from /home/nitin/software/codelite/codelitegit/sdk/wxshapeframework/src/ControlShape.cpp:11:
/usr/local/include/wx-2.9/wx/window.h:73:28: error: forward declaration of ‘class wxDropTarget’
In file included from /home/nitin/software/codelite/codelitegit/sdk/wxshapeframework/src/ControlShape.cpp:19:0:
/home/nitin/software/codelite/codelitegit/sdk/wxshapeframework/include/wx/wxsf/ShapeCanvas.h:101:10: error: ‘wxDragResult’ does not name a type
In file included from /home/nitin/software/codelite/codelitegit/sdk/wxshapeframework/src/ControlShape.cpp:19:0:
/home/nitin/software/codelite/codelitegit/sdk/wxshapeframework/include/wx/wxsf/ShapeCanvas.h:440:2: error: ‘wxDragResult’ does not name a type
/home/nitin/software/codelite/codelitegit/sdk/wxshapeframework/include/wx/wxsf/ShapeCanvas.h:991:44: error: ‘wxDragResult’ has not been declared
/home/nitin/software/codelite/codelitegit/sdk/wxshapeframework/include/wx/wxsf/ShapeCanvas.h:1188:37: error: ‘wxDragResult’ has not been declared
In file included from /home/nitin/software/codelite/codelitegit/sdk/wxshapeframework/src/MultiSelRect.cpp:18:0:
/home/nitin/software/codelite/codelitegit/sdk/wxshapeframework/include/wx/wxsf/ShapeCanvas.h:93:37: error: invalid use of incomplete type ‘class wxDropTarget’
In file included from /usr/local/include/wx-2.9/wx/wx.h:39:0,
from /home/nitin/software/codelite/codelitegit/sdk/wxshapeframework/src/wx_pch.h:37,
from /home/nitin/software/codelite/codelitegit/sdk/wxshapeframework/src/MultiSelRect.cpp:11:
/usr/local/include/wx-2.9/wx/window.h:73:28: error: forward declaration of ‘class wxDropTarget’
In file included from /home/nitin/software/codelite/codelitegit/sdk/wxshapeframework/src/MultiSelRect.cpp:18:0:
/home/nitin/software/codelite/codelitegit/sdk/wxshapeframework/include/wx/wxsf/ShapeCanvas.h:101:10: error: ‘wxDragResult’ does not name a type
In file included from /home/nitin/software/codelite/codelitegit/sdk/wxshapeframework/src/MultiSelRect.cpp:18:0:
/home/nitin/software/codelite/codelitegit/sdk/wxshapeframework/include/wx/wxsf/ShapeCanvas.h:440:2: error: ‘wxDragResult’ does not name a type
/home/nitin/software/codelite/codelitegit/sdk/wxshapeframework/include/wx/wxsf/ShapeCanvas.h:991:44: error: ‘wxDragResult’ has not been declared
/home/nitin/software/codelite/codelitegit/sdk/wxshapeframework/include/wx/wxsf/ShapeCanvas.h:1188:37: error: ‘wxDragResult’ has not been declared
make[2]: *** [sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/CurveShape.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/ControlShape.cpp.o] Error 1
make[2]: *** [sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/MultiSelRect.cpp.o] Error 1
make[1]: *** [sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 2%] [ 2%] [ 2%] Building CXX object sdk/databaselayer/CMakeFiles/databaselayersqlite.dir/src/dblayer/SqliteResultSet.cpp.o
Building CXX object sdk/databaselayer/CMakeFiles/databaselayersqlite.dir/src/dblayer/SqliteDatabaseLayer.cpp.o
Building CXX object sdk/databaselayer/CMakeFiles/databaselayersqlite.dir/src/dblayer/SqlitePreparedStatement.cpp.o
[ 2%] Building CXX object sdk/databaselayer/CMakeFiles/databaselayersqlite.dir/src/dblayer/DatabaseQueryParser.cpp.o
[ 2%] [ 2%] Building CXX object sdk/databaselayer/CMakeFiles/databaselayersqlite.dir/src/dblayer/DatabaseErrorReporter.cpp.o
Building CXX object sdk/databaselayer/CMakeFiles/databaselayersqlite.dir/src/dblayer/DatabaseResultSet.cpp.o
[ 2%] Building CXX object sdk/databaselayer/CMakeFiles/databaselayersqlite.dir/src/dblayer/DatabaseLayer.cpp.o
[ 2%] Building CXX object sdk/databaselayer/CMakeFiles/databaselayersqlite.dir/src/dblayer/DatabaseStringConverter.cpp.o
[ 2%] Building CXX object sdk/databaselayer/CMakeFiles/databaselayersqlite.dir/src/dblayer/PreparedStatement.cpp.o
[ 2%] Building C object sdk/databaselayer/CMakeFiles/databaselayersqlite.dir/src/sqlite3/sqlite3.c.o
Linking CXX shared library ../../lib/libdatabaselayersqlite.so
[ 2%] Built target databaselayersqlite
make: *** [all] Error 2