Ok, sorry about he missing info.
My Codelite verion is 2.6.0.4189
The Codelite is installed from the Debian repositories and is not self compiled.
My OS is Debian Squeeze version 6.06.
I tried what you requested but it will still not build the project. I have also created a new workspace and created another project in there with the same outcome.
Code: Select all
----------Build Started--------
/bin/sh -c '"make" -j 2 -f "test_wsp.mk"'
----------Building project:[ test2 - Debug ]----------
Warning: No config found to match: /usr/bin/wx-config --cxxflags --unicode=yes --debug=yes
in /usr/lib/wx/config
If you require this configuration, please install the desired
library build. If this is part of an automated configuration
test and no other errors occur, you may safely ignore it.
You may use wx-config --list to see all configs available in
the default prefix.
Warning: No config found to match: /usr/bin/wx-config --debug=yes --libs --unicode=yes
in /usr/lib/wx/config
If you require this configuration, please install the desired
library build. If this is part of an automated configuration
test and no other errors occur, you may safely ignore it.
You may use wx-config --list to see all configs available in
the default prefix.
make[1]: Entering directory `/home/dave/.codelite/test'
g++ -c "/home/dave/.codelite/test/main.cpp" -g -D__WX__ -o ./Debug/main.o "-I."
g++ -c "/home/dave/.codelite/test/gui.cpp" -g -D__WX__ -o ./Debug/gui.o "-I."
In file included from /home/dave/.codelite/test/main.cpp:14:
/home/dave/.codelite/test/main.h:18:19: error: wx/wx.h: No such file or directory
In file included from /home/dave/.codelite/test/main.h:20,
from /home/dave/.codelite/test/main.cpp:14:
/home/dave/.codelite/test/gui.h:11:21: error: wx/intl.h: No such file or directory
/home/dave/.codelite/test/gui.h:13:23: error: wx/string.h: No such file or directory
/home/dave/.codelite/test/gui.h:14:23: error: wx/bitmap.h: No such file or directory
/home/dave/.codelite/test/gui.h:15:22: error: wx/image.h: No such file or directory
/home/dave/.codelite/test/gui.h:16:21: error: wx/icon.h: No such file or directory
/home/dave/.codelite/test/gui.h:17:21: error: wx/menu.h: No such file or directory
/home/dave/.codelite/test/gui.h:18:23: error: wx/gdicmn.h: No such file or directory
/home/dave/.codelite/test/gui.h:19:21: error: wx/font.h: No such file or directory
/home/dave/.codelite/test/gui.h:20:23: error: wx/colour.h: No such file or directory
/home/dave/.codelite/test/gui.h:21:25: error: wx/settings.h: No such file or directory
/home/dave/.codelite/test/gui.h:22:22: error: wx/sizer.h: No such file or directory
/home/dave/.codelite/test/gui.h:23:25: error: wx/statusbr.h: No such file or directory
/home/dave/.codelite/test/gui.h:24:22: error: wx/frame.h: No such file or directory
In file included from /home/dave/.codelite/test/main.h:20,
from /home/dave/.codelite/test/main.cpp:14:
/home/dave/.codelite/test/gui.h:33: error: expected class-name before ‘{’ token
/home/dave/.codelite/test/gui.h:37: error: ISO C++ forbids declaration of ‘wxMenuBar’ with no type
/home/dave/.codelite/test/gui.h:37: error: expected ‘;’ before ‘*’ token
/home/dave/.codelite/test/gui.h:38: error: ISO C++ forbids declaration of ‘wxMenu’ with no type
/home/dave/.codelite/test/gui.h:38: error: expected ‘;’ before ‘*’ token
/home/dave/.codelite/test/gui.h:39: error: ISO C++ forbids declaration of ‘wxStatusBar’ with no type
/home/dave/.codelite/test/gui.h:39: error: expected ‘;’ before ‘*’ token
/home/dave/.codelite/test/gui.h:42: error: ‘wxCloseEvent’ has not been declared
/home/dave/.codelite/test/gui.h:43: error: ‘wxCommandEvent’ has not been declared
/home/dave/.codelite/test/gui.h:48: error: expected ‘)’ before ‘*’ token
/home/dave/.codelite/test/gui.h: In member function ‘virtual void MainFrameBase::OnCloseFrame(int&)’:
/home/dave/.codelite/test/gui.h:42: error: request for member ‘Skip’ in ‘event’, which is of non-class type ‘int’
/home/dave/.codelite/test/gui.h: In member function ‘virtual void MainFrameBase::OnExitClick(int&)’:
/home/dave/.codelite/test/gui.h:43: error: request for member ‘Skip’ in ‘event’, which is of non-class type ‘int’
In file included from /home/dave/.codelite/test/main.cpp:14:
/home/dave/.codelite/test/main.h: At global scope:
/home/dave/.codelite/test/main.h:27: error: expected class-name before ‘{’ token
/home/dave/.codelite/test/main.h:39: error: expected constructor, destructor, or type conversion before ‘class’
/home/dave/.codelite/test/main.cpp:17: error: expected constructor, destructor, or type conversion before ‘;’ token
/home/dave/.codelite/test/main.cpp: In member function ‘virtual bool MainApp::OnInit()’:
/home/dave/.codelite/test/main.cpp:25: error: expected type-specifier before ‘MainFrame’
/home/dave/.codelite/test/main.cpp:25: error: expected ‘)’ before ‘MainFrame’
/home/dave/.codelite/test/main.cpp:25: error: ‘SetTopWindow’ was not declared in this scope
/home/dave/.codelite/test/main.cpp:26: error: ‘GetTopWindow’ was not declared in this scope
/home/dave/.codelite/test/main.cpp: At global scope:
/home/dave/.codelite/test/main.cpp:36: error: ‘MainFrame’ has not been declared
/home/dave/.codelite/test/main.cpp:36: error: expected constructor, destructor, or type conversion before ‘(’ token
/home/dave/.codelite/test/main.cpp:40: error: expected constructor, destructor, or type conversion before ‘::’ token
/home/dave/.codelite/test/main.cpp:44: error: ‘MainFrame’ has not been declared
/home/dave/.codelite/test/main.cpp:44: error: variable or field ‘OnCloseFrame’ declared void
/home/dave/.codelite/test/main.cpp:44: error: ‘wxCloseEvent’ was not declared in this scope
/home/dave/.codelite/test/main.cpp:44: error: ‘event’ was not declared in this scope
/home/dave/.codelite/test/main.cpp:49: error: ‘MainFrame’ has not been declared
/home/dave/.codelite/test/main.cpp:49: error: variable or field ‘OnExitClick’ declared void
/home/dave/.codelite/test/main.cpp:49: error: ‘wxCommandEvent’ was not declared in this scope
/home/dave/.codelite/test/main.cpp:49: error: ‘event’ was not declared in this scope
make[1]: *** [Debug/main.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from /home/dave/.codelite/test/gui.cpp:8:
/home/dave/.codelite/test/gui.h:11:21: error: wx/intl.h: No such file or directory
/home/dave/.codelite/test/gui.h:13:23: error: wx/string.h: No such file or directory
/home/dave/.codelite/test/gui.h:14:23: error: wx/bitmap.h: No such file or directory
/home/dave/.codelite/test/gui.h:15:22: error: wx/image.h: No such file or directory
/home/dave/.codelite/test/gui.h:16:21: error: wx/icon.h: No such file or directory
/home/dave/.codelite/test/gui.h:17:21: error: wx/menu.h: No such file or directory
/home/dave/.codelite/test/gui.h:18:23: error: wx/gdicmn.h: No such file or directory
/home/dave/.codelite/test/gui.h:19:21: error: wx/font.h: No such file or directory
/home/dave/.codelite/test/gui.h:20:23: error: wx/colour.h: No such file or directory
/home/dave/.codelite/test/gui.h:21:25: error: wx/settings.h: No such file or directory
/home/dave/.codelite/test/gui.h:22:22: error: wx/sizer.h: No such file or directory
/home/dave/.codelite/test/gui.h:23:25: error: wx/statusbr.h: No such file or directory
/home/dave/.codelite/test/gui.h:24:22: error: wx/frame.h: No such file or directory
In file included from /home/dave/.codelite/test/gui.cpp:8:
/home/dave/.codelite/test/gui.h:33: error: expected class-name before ‘{’ token
/home/dave/.codelite/test/gui.h:37: error: ISO C++ forbids declaration of ‘wxMenuBar’ with no type
/home/dave/.codelite/test/gui.h:37: error: expected ‘;’ before ‘*’ token
/home/dave/.codelite/test/gui.h:38: error: ISO C++ forbids declaration of ‘wxMenu’ with no type
/home/dave/.codelite/test/gui.h:38: error: expected ‘;’ before ‘*’ token
/home/dave/.codelite/test/gui.h:39: error: ISO C++ forbids declaration of ‘wxStatusBar’ with no type
/home/dave/.codelite/test/gui.h:39: error: expected ‘;’ before ‘*’ token
/home/dave/.codelite/test/gui.h:42: error: ‘wxCloseEvent’ has not been declared
/home/dave/.codelite/test/gui.h:43: error: ‘wxCommandEvent’ has not been declared
/home/dave/.codelite/test/gui.h:48: error: expected ‘)’ before ‘*’ token
/home/dave/.codelite/test/gui.h: In member function ‘virtual void MainFrameBase::OnCloseFrame(int&)’:
/home/dave/.codelite/test/gui.h:42: error: request for member ‘Skip’ in ‘event’, which is of non-class type ‘int’
/home/dave/.codelite/test/gui.h: In member function ‘virtual void MainFrameBase::OnExitClick(int&)’:
/home/dave/.codelite/test/gui.h:43: error: request for member ‘Skip’ in ‘event’, which is of non-class type ‘int’
/home/dave/.codelite/test/gui.cpp: At global scope:
/home/dave/.codelite/test/gui.cpp:12: error: expected ‘)’ before ‘*’ token
/home/dave/.codelite/test/gui.cpp: In destructor ‘MainFrameBase::~MainFrameBase()’:
/home/dave/.codelite/test/gui.cpp:43: error: ‘class MainFrameBase’ has no member named ‘Disconnect’
/home/dave/.codelite/test/gui.cpp:43: error: ‘wxEVT_CLOSE_WINDOW’ was not declared in this scope
/home/dave/.codelite/test/gui.cpp:43: error: ‘wxCloseEventHandler’ was not declared in this scope
/home/dave/.codelite/test/gui.cpp:44: error: ‘class MainFrameBase’ has no member named ‘Disconnect’
/home/dave/.codelite/test/gui.cpp:44: error: ‘wxID_ANY’ was not declared in this scope
/home/dave/.codelite/test/gui.cpp:44: error: ‘wxEVT_COMMAND_MENU_SELECTED’ was not declared in this scope
/home/dave/.codelite/test/gui.cpp:44: error: ‘wxCommandEventHandler’ was not declared in this scope
make[1]: *** [Debug/gui.o] Error 1
make[1]: Leaving directory `/home/dave/.codelite/test'
make: *** [All] Error 2
----------Build Ended----------
224 errors, 0 warnings
parser includes:-
/usr/include
/usr/include/c++/4.4.5
parser excludes:-
/usr/include/c++/4.4.5/debug
I am not an hardened c++ programmer by any means as I am just trying to get back into it after a 15 year break.I am no slouch and I do understand a fair amount of what is going on but has got me baffled.