wx project in CodeLite, Ubuntu 10.04 Lucid...
Posted: Tue Jun 01, 2010 1:43 pm
Since CodeLite is not willing to work under Ubuntu 9.10 last week,
i did a thorough upgrading yesterday, to Ubuntu 10.04 Lucid.
The default package in the repository is "CodeLite 2.5.2.4031~dfsg-1",
which I believe it's the newest stable version of CodeLite compatible with Ubuntu 10.04.
However, my former "wx" projects are now confronting new problems:
Even after I freshly created a wx-GUI project, I still got the following error messages:
My compiler options in tab compiler is
and preprocessor:
Linker options:
the default wx-2.8 is install to
/usr/include/wx-2.8 (for headers)
/usr/lib (for libraries)
Any suggestions Eran?
Best Regards
JIA
i did a thorough upgrading yesterday, to Ubuntu 10.04 Lucid.
The default package in the repository is "CodeLite 2.5.2.4031~dfsg-1",
which I believe it's the newest stable version of CodeLite compatible with Ubuntu 10.04.
However, my former "wx" projects are now confronting new problems:
Even after I freshly created a wx-GUI project, I still got the following error messages:
Code: Select all
In file included from /home/jiapei/MyPrograms/C++/CodeLite/aam/WXBuildStatisticalModels/src/gui/buildinggui.cpp:2:
./include/gui/WXBuildGUIFrame.h:9:19: error: wx/wx.h: No such file or directory
In file included from /home/jiapei/MyPrograms/C++/CodeLite/aam/WXBuildStatisticalModels/src/gui/WXBuildGUIFrame.cpp:25:
./include/gui/AboutDialog.h:5:19: error: wx/wx.h: No such file or directory
./include/gui/AboutDialog.h:6:26: error: wx/hyperlink.h: No such file or directory
In file included from /home/jiapei/MyPrograms/C++/CodeLite/aam/WXBuildStatisticalModels/src/gui/WXBuildGUIFrame.cpp:25:
./include/gui/AboutDialog.h:10: error: expected class-name before ‘{’ token
./include/gui/AboutDialog.h:12: error: ISO C++ forbids declaration of ‘wxStaticBox’ with no type
./include/gui/AboutDialog.h:12: error: expected ‘;’ before ‘*’ token
./include/gui/AboutDialog.h:13: error: ISO C++ forbids declaration of ‘wxStaticText’ with no type
./include/gui/AboutDialog.h:13: error: expected ‘;’ before ‘*’ token
./include/gui/AboutDialog.h:14: error: ISO C++ forbids declaration of ‘wxHyperlinkCtrl’ with no type
./include/gui/AboutDialog.h:14: error: expected ‘;’ before ‘*’ token
......
My compiler options in tab compiler is
Code: Select all
-g;$(shell wx-config --cxxflags --unicode=yes --debug=yes)
Code: Select all
__WX__
Code: Select all
-mwindows;$(shell wx-config --debug=yes --libs --unicode=yes)
the default wx-2.8 is install to
/usr/include/wx-2.8 (for headers)
/usr/lib (for libraries)
Any suggestions Eran?
Best Regards
JIA