Author Topic: Ubuntu Maverick wxSmith problem  (Read 5845 times)

Offline fosforo

  • Single posting newcomer
  • *
  • Posts: 5
Ubuntu Maverick wxSmith problem
« 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

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Ubuntu Maverick wxSmith problem
« Reply #1 on: January 01, 2011, 07:56:06 pm »
Do you have wxWidgets development files installed (most likely libwxgtk2.8-dev on ubuntu) ?

Offline fosforo

  • Single posting newcomer
  • *
  • Posts: 5
Re: Ubuntu Maverick wxSmith problem
« Reply #2 on: January 01, 2011, 08:01:21 pm »
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 ===|

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Ubuntu Maverick wxSmith problem
« Reply #3 on: January 01, 2011, 08:05:50 pm »
This header is in wx2.8-headers, it should be installed also.

Offline fosforo

  • Single posting newcomer
  • *
  • Posts: 5
Re: Ubuntu Maverick wxSmith problem
« Reply #4 on: January 01, 2011, 08:08:00 pm »
It is installed but can not find it in my PC

Offline fosforo

  • Single posting newcomer
  • *
  • Posts: 5
Re: Ubuntu Maverick wxSmith problem
« Reply #5 on: January 01, 2011, 09:03:18 pm »
This is the situation:

[attachment deleted by admin]

Offline fosforo

  • Single posting newcomer
  • *
  • Posts: 5
Re: Ubuntu Maverick wxSmith problem
« Reply #6 on: January 02, 2011, 12:53:47 pm »
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?

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Ubuntu Maverick wxSmith problem
« Reply #7 on: January 02, 2011, 01:32:44 pm »
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.