News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Ubuntu Maverick wxSmith problem

Started by fosforo, January 01, 2011, 07:46:58 PM

Previous topic - Next topic

fosforo

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

Jenna

Do you have wxWidgets development files installed (most likely libwxgtk2.8-dev on ubuntu) ?

fosforo

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 ===|

Jenna

This header is in wx2.8-headers, it should be installed also.

fosforo

It is installed but can not find it in my PC

fosforo

This is the situation:

[attachment deleted by admin]

fosforo

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?

Jenna

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.