Page 1 of 1

Debian wheezy install wx-config missing

Posted: Sat May 18, 2013 5:03 pm
by Tom
Based on other searches it seems that may be an intermediate file (part of make files?)

When I do the Hello World tutorial and I generate code I do not get any changes to MainDialog.cpp so then I tried
a Build or Rebuild and get errors, the first was wx-config not found

I think there is a wxCrafter issue due to lack of updates to the MainDialog.cpp

log here:

Code: Select all

/bin/sh -c 'make -j 4 -e -f  "HelloWorld_wsp.mk"'
----------Building project:[ HelloWorld - Debug ]----------
make[1]: wx-config: Command not found
make[1]: Entering directory `/home/tom/workspace/CodeLite1/HelloWorld'
make[1]: wx-config: Command not found
g++  -c  "/home/tom/workspace/CodeLite1/HelloWorld/wxcrafter.cpp" -g -O0 -Wall   -o ./Debug/wxcrafter.o -I. -I.
wxcrafter_bitmaps.cpp:16:20: error: missing binary operator before token "("
make[1]: *** [Debug/wxcrafter_bitmaps.o.d] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from /home/tom/workspace/CodeLite1/HelloWorld/wxcrafter.cpp:6:0:
/home/tom/workspace/CodeLite1/HelloWorld/wxcrafter.h:9:25: fatal error: wx/settings.h: No such file or directory
compilation terminated.
make[1]: *** [Debug/wxcrafter.o] Error 1
make[1]: Leaving directory `/home/tom/workspace/CodeLite1/HelloWorld'
make: *** [All] Error 2
2 errors, 1 warnings
Is there a log file of the wxCrafter code generation?

I did notice in the TRACE tab

Code: Select all

08:41:46 AM: Symbols file loaded into OS file system cache (0 seconds)
08:42:04 AM: Warning: Resource files must have same version number.
I am not sure what I did at that time to get that output, but it may be significant.

Tom

Re: Debian wheezy install wx-config missing

Posted: Sat May 18, 2013 6:13 pm
by eranif
You need to install wx-dev package.
You can either install it from your repo or use the one that we provide (recommended):

http://codelite.org/LiteEditor/WxWidgets29Binaries

Eran