Code::Blocks Forums
User forums => Help => Topic started by: fosforo on January 01, 2011, 07:46:58 pm
-
I installed CodeBlock on Ubuntu Maverick
Just add a wxSmith element the program gives me an error:
||=== Test_1, Debug ===|
/home/ubuntu/Scrivania/CodeBlock/Test_1/NewPanel.h|5|fatal error: wx/panel.h: File o directory non esistente|
||=== Build finished: 1 errors, 0 warnings ===|
what caused the error?
Thanks for your help
-
Do you have wxWidgets development files installed (most likely libwxgtk2.8-dev on ubuntu) ?
-
Thanks for the help
I installed it but now gives me this error:
/home/ubuntu/Scrivania/CodeBlock/Test_1/NewPanel.h|5|fatal error: wx/textctrl.h: File o directory non esistente|
||=== Build finished: 1 errors, 0 warnings ===|
-
This header is in wx2.8-headers, it should be installed also.
-
It is installed but can not find it in my PC
-
This is the situation:
[attachment deleted by admin]
-
The log say
-------------- Build: Debug in Test_1 ---------------
Compiling: NewFrame.cpp
In file included from /home/ubuntu/Scrivania/CodeBlock/Test_1/NewFrame.cpp:1:
/home/ubuntu/Scrivania/CodeBlock/Test_1/NewFrame.h:5: fatal error: wx/frame.h: File o directory non esistente
compilation terminated.
Process terminated with status 1 (0 minutes, 0 seconds)
1 errors, 0 warnings
buti the file wx/frame.h is present on mi PC
I must set some setting?
-
On linux you should use wx-config, create the wxWidgets sample with the wizard and look how it is done there.
wx-config is included in wx-common if I remember right.