compiling a wxwidgets program prob.
Posted: Sat Nov 14, 2009 11:37 am
hi there, im a bit stuck with this prob. i built codelite from source (which requires wxwidgets?) with no problems. but when i compile a a wxwidgets project within codelite i get the following errors. im using ubuntu 9.10.
----------Build Started--------
/bin/sh -c '"make" -j 2 -f "Comparer_wsp.mk"'
----------Building project:[ Comparer - Debug ]----------
Warning: No config found to match: /usr/bin/wx-config --cxxflags --unicode=yes --debug=yes
g++ -c "/home/lee/.codelite/workspace/Comparer/gui.cpp" -g -D__WX__ -o ./Debug/gui.o "-I."
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.
In file included from /home/lee/.codelite/workspace/Comparer/gui.cpp:8:
/home/lee/.codelite/workspace/Comparer/gui.h:11:21: error: wx/intl.h: No such file or directory
/home/lee/.codelite/workspace/Comparer/gui.h:13:25: error: wx/statline.h: No such file or directory
/home/lee/.codelite/workspace/Comparer/gui.h:14:23: error: wx/gdicmn.h: No such file or directory
/home/lee/.codelite/workspace/Comparer/gui.h:15:21: error: wx/font.h: No such file or directory
/home/lee/.codelite/workspace/Comparer/gui.h:16:23: error: wx/colour.h: No such file or directory
/home/lee/.codelite/workspace/Comparer/gui.h:17:25: error: wx/settings.h: No such file or directory
/home/lee/.codelite/workspace/Comparer/gui.h:18:23: error: wx/string.h: No such file or directory
/home/lee/.codelite/workspace/Comparer/gui.h:19:22: error: wx/sizer.h: No such file or directory
/home/lee/.codelite/workspace/Comparer/gui.h:20:23: error: wx/button.h: No such file or directory
/home/lee/.codelite/workspace/Comparer/gui.h:21:23: error: wx/dialog.h: No such file or directory
In file included from /home/lee/.codelite/workspace/Comparer/gui.cpp:8:
/home/lee/.codelite/workspace/Comparer/gui.h:30: error: expected class-name before ‘{’ token
/home/lee/.codelite/workspace/Comparer/gui.h:35: error: ISO C++ forbids declaration of ‘wxStaticLine’ with no type
/home/lee/.codelite/workspace/Comparer/gui.h:35: error: expected ‘;’ before ‘*’ token
/home/lee/.codelite/workspace/Comparer/gui.h:36: error: ISO C++ forbids declaration of ‘wxStdDialogButtonSizer’ with no type
/home/lee/.codelite/workspace/Comparer/gui.h:36: error: expected ‘;’ before ‘*’ token
/home/lee/.codelite/workspace/Comparer/gui.h:37: error: ISO C++ forbids declaration of ‘wxButton’ with no type
/home/lee/.codelite/workspace/Comparer/gui.h:37: error: expected ‘;’ before ‘*’ token
/home/lee/.codelite/workspace/Comparer/gui.h:38: error: ISO C++ forbids declaration of ‘wxButton’ with no type
/home/lee/.codelite/workspace/Comparer/gui.h:38: error: expected ‘;’ before ‘*’ token
/home/lee/.codelite/workspace/Comparer/gui.h:41: error: ‘wxCloseEvent’ has not been declared
/home/lee/.codelite/workspace/Comparer/gui.h:42: error: ‘wxCommandEvent’ has not been declared
/home/lee/.codelite/workspace/Comparer/gui.h:43: error: ‘wxCommandEvent’ has not been declared
/home/lee/.codelite/workspace/Comparer/gui.h:48: error: expected ‘)’ before ‘*’ token
/home/lee/.codelite/workspace/Comparer/gui.h: In member function ‘virtual void MainDialogBase::OnCloseDialog(int&)’:
/home/lee/.codelite/workspace/Comparer/gui.h:41: error: request for member ‘Skip’ in ‘event’, which is of non-class type ‘int’
/home/lee/.codelite/workspace/Comparer/gui.h: In member function ‘virtual void MainDialogBase::OnCancelClick(int&)’:
/home/lee/.codelite/workspace/Comparer/gui.h:42: error: request for member ‘Skip’ in ‘event’, which is of non-class type ‘int’
/home/lee/.codelite/workspace/Comparer/gui.h: In member function ‘virtual void MainDialogBase::OnOKClick(int&)’:
/home/lee/.codelite/workspace/Comparer/gui.h:43: error: request for member ‘Skip’ in ‘event’, which is of non-class type ‘int’
/home/lee/.codelite/workspace/Comparer/gui.cpp: At global scope:
/home/lee/.codelite/workspace/Comparer/gui.cpp:12: error: expected ‘)’ before ‘*’ token
/home/lee/.codelite/workspace/Comparer/gui.cpp: In destructor ‘MainDialogBase::~MainDialogBase()’:
/home/lee/.codelite/workspace/Comparer/gui.cpp:47: error: ‘class MainDialogBase’ has no member named ‘Disconnect’
/home/lee/.codelite/workspace/Comparer/gui.cpp:47: error: ‘wxEVT_CLOSE_WINDOW’ was not declared in this scope
/home/lee/.codelite/workspace/Comparer/gui.cpp:47: error: ‘wxCloseEventHandler’ was not declared in this scope
/home/lee/.codelite/workspace/Comparer/gui.cpp:48: error: ‘m_sdbSizerCancel’ was not declared in this scope
/home/lee/.codelite/workspace/Comparer/gui.cpp:48: error: ‘wxEVT_COMMAND_BUTTON_CLICKED’ was not declared in this scope
/home/lee/.codelite/workspace/Comparer/gui.cpp:48: error: ‘wxCommandEventHandler’ was not declared in this scope
/home/lee/.codelite/workspace/Comparer/gui.cpp:48: error: ‘NULL’ was not declared in this scope
/home/lee/.codelite/workspace/Comparer/gui.cpp:49: error: ‘m_sdbSizerOK’ was not declared in this scope
make[1]: *** [Debug/gui.o] Error 1
make: *** [All] Error 2
----------Build Ended----------
25 errors, 0 warnings
wxwidgets is def installed.
any ideas?
----------Build Started--------
/bin/sh -c '"make" -j 2 -f "Comparer_wsp.mk"'
----------Building project:[ Comparer - Debug ]----------
Warning: No config found to match: /usr/bin/wx-config --cxxflags --unicode=yes --debug=yes
g++ -c "/home/lee/.codelite/workspace/Comparer/gui.cpp" -g -D__WX__ -o ./Debug/gui.o "-I."
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.
In file included from /home/lee/.codelite/workspace/Comparer/gui.cpp:8:
/home/lee/.codelite/workspace/Comparer/gui.h:11:21: error: wx/intl.h: No such file or directory
/home/lee/.codelite/workspace/Comparer/gui.h:13:25: error: wx/statline.h: No such file or directory
/home/lee/.codelite/workspace/Comparer/gui.h:14:23: error: wx/gdicmn.h: No such file or directory
/home/lee/.codelite/workspace/Comparer/gui.h:15:21: error: wx/font.h: No such file or directory
/home/lee/.codelite/workspace/Comparer/gui.h:16:23: error: wx/colour.h: No such file or directory
/home/lee/.codelite/workspace/Comparer/gui.h:17:25: error: wx/settings.h: No such file or directory
/home/lee/.codelite/workspace/Comparer/gui.h:18:23: error: wx/string.h: No such file or directory
/home/lee/.codelite/workspace/Comparer/gui.h:19:22: error: wx/sizer.h: No such file or directory
/home/lee/.codelite/workspace/Comparer/gui.h:20:23: error: wx/button.h: No such file or directory
/home/lee/.codelite/workspace/Comparer/gui.h:21:23: error: wx/dialog.h: No such file or directory
In file included from /home/lee/.codelite/workspace/Comparer/gui.cpp:8:
/home/lee/.codelite/workspace/Comparer/gui.h:30: error: expected class-name before ‘{’ token
/home/lee/.codelite/workspace/Comparer/gui.h:35: error: ISO C++ forbids declaration of ‘wxStaticLine’ with no type
/home/lee/.codelite/workspace/Comparer/gui.h:35: error: expected ‘;’ before ‘*’ token
/home/lee/.codelite/workspace/Comparer/gui.h:36: error: ISO C++ forbids declaration of ‘wxStdDialogButtonSizer’ with no type
/home/lee/.codelite/workspace/Comparer/gui.h:36: error: expected ‘;’ before ‘*’ token
/home/lee/.codelite/workspace/Comparer/gui.h:37: error: ISO C++ forbids declaration of ‘wxButton’ with no type
/home/lee/.codelite/workspace/Comparer/gui.h:37: error: expected ‘;’ before ‘*’ token
/home/lee/.codelite/workspace/Comparer/gui.h:38: error: ISO C++ forbids declaration of ‘wxButton’ with no type
/home/lee/.codelite/workspace/Comparer/gui.h:38: error: expected ‘;’ before ‘*’ token
/home/lee/.codelite/workspace/Comparer/gui.h:41: error: ‘wxCloseEvent’ has not been declared
/home/lee/.codelite/workspace/Comparer/gui.h:42: error: ‘wxCommandEvent’ has not been declared
/home/lee/.codelite/workspace/Comparer/gui.h:43: error: ‘wxCommandEvent’ has not been declared
/home/lee/.codelite/workspace/Comparer/gui.h:48: error: expected ‘)’ before ‘*’ token
/home/lee/.codelite/workspace/Comparer/gui.h: In member function ‘virtual void MainDialogBase::OnCloseDialog(int&)’:
/home/lee/.codelite/workspace/Comparer/gui.h:41: error: request for member ‘Skip’ in ‘event’, which is of non-class type ‘int’
/home/lee/.codelite/workspace/Comparer/gui.h: In member function ‘virtual void MainDialogBase::OnCancelClick(int&)’:
/home/lee/.codelite/workspace/Comparer/gui.h:42: error: request for member ‘Skip’ in ‘event’, which is of non-class type ‘int’
/home/lee/.codelite/workspace/Comparer/gui.h: In member function ‘virtual void MainDialogBase::OnOKClick(int&)’:
/home/lee/.codelite/workspace/Comparer/gui.h:43: error: request for member ‘Skip’ in ‘event’, which is of non-class type ‘int’
/home/lee/.codelite/workspace/Comparer/gui.cpp: At global scope:
/home/lee/.codelite/workspace/Comparer/gui.cpp:12: error: expected ‘)’ before ‘*’ token
/home/lee/.codelite/workspace/Comparer/gui.cpp: In destructor ‘MainDialogBase::~MainDialogBase()’:
/home/lee/.codelite/workspace/Comparer/gui.cpp:47: error: ‘class MainDialogBase’ has no member named ‘Disconnect’
/home/lee/.codelite/workspace/Comparer/gui.cpp:47: error: ‘wxEVT_CLOSE_WINDOW’ was not declared in this scope
/home/lee/.codelite/workspace/Comparer/gui.cpp:47: error: ‘wxCloseEventHandler’ was not declared in this scope
/home/lee/.codelite/workspace/Comparer/gui.cpp:48: error: ‘m_sdbSizerCancel’ was not declared in this scope
/home/lee/.codelite/workspace/Comparer/gui.cpp:48: error: ‘wxEVT_COMMAND_BUTTON_CLICKED’ was not declared in this scope
/home/lee/.codelite/workspace/Comparer/gui.cpp:48: error: ‘wxCommandEventHandler’ was not declared in this scope
/home/lee/.codelite/workspace/Comparer/gui.cpp:48: error: ‘NULL’ was not declared in this scope
/home/lee/.codelite/workspace/Comparer/gui.cpp:49: error: ‘m_sdbSizerOK’ was not declared in this scope
make[1]: *** [Debug/gui.o] Error 1
make: *** [All] Error 2
----------Build Ended----------
25 errors, 0 warnings
wxwidgets is def installed.
any ideas?