User forums > Help
How to setup wxwidgets in code::blocks Linux
Andre:
--- Quote from: Takeshi Miya on April 25, 2006, 11:15:51 am ---You've come across a known bug in C::B RC2 which has been fixed long ago. A little forum search would have revealed that... :roll:
There are two ways you can get it working:
-Go to Settings->Compiler->Other and set the build mode to "GNU make". Backticks will work with it.
or
-Download and install a nightly build.
I recommend the later.
--- End quote ---
I have a nightly build (from yesterday) and i also have this problem. But the setting 'Settings->Compiler->Other->build mode is grayed out, so i can not change it. What can i do?
Thanks in advance,
Andre
takeshimiya:
--- Quote from: Andre on April 25, 2006, 08:14:02 pm ---I have a nightly build (from yesterday) and i also have this problem. But the setting 'Settings->Compiler->Other->build mode is grayed out, so i can not change it. What can i do?
--- End quote ---
No, that problem was solved after RC2 for C::B build method, so it should work with it. The "GNU make" build method was removed after RC2 too.
In your case, it's likely that you don't have wx-config installed.
Issue
--- Quote ---wx-config --version
--- End quote ---
in a shell, and if it outputs something, it means that it is installed.
If it's not installed, you'll need to download a package that contains that script, usually called "wx-common".
Andre:
--- Quote from: Takeshi Miya on April 25, 2006, 09:43:24 pm ---In your case, it's likely that you don't have wx-config installed.
Issue
--- Quote ---wx-config --version
--- End quote ---
in a shell, and if it outputs something, it means that it is installed.
If it's not installed, you'll need to download a package that contains that script, usually called "wx-common".
--- End quote ---
The package wx-common is installed, wx-config --version says 2.6.1. I've made the settings yop told in the second post of this thread. But it seems that wx-config can not be found. Ouput of the build command:
--- Code: ----------------- Build: default in wxSmith_project ---------------
g++ `wx-config --cflags` wx-config --cflags -I.objs -I- -I.objs -I. -I/usr/include -c app.cpp -o .objs/app.o
g++: wx-config: No such file or directory
cc1plus: note: obsolete option -I- used, please use -iquote instead
cc1plus: error: unrecognized command line option "-fcflags"
Process terminated with status 1 (0 minutes, 2 seconds)
0 errors, 0 warnings
--- End code ---
In another Thread you also said
--- Quote from: Takeshi Miya on March 20, 2006, 08:35:33 am ---As a note to anyone using RC2, this can be solved as:
--- Quote ---Go to Settings->Compiler->Other and set the build mode to "GNU make". Backticks work with it.
--- End quote ---
--- End quote ---
But i can not alter these settings as its grayed out. Should i switch away from the nightly build to RC2?
takeshimiya:
--- Quote from: Andre on April 25, 2006, 10:18:56 pm ---But i can not alter these settings as its grayed out. Should i switch away from the nightly build to RC2?
--- End quote ---
No, you're experiencing a different problem.
This thread may help you: http://forums.codeblocks.org/index.php?topic=2195.0
Andre:
--- Quote from: Takeshi Miya on April 25, 2006, 11:00:47 pm ---No, you're experiencing a different problem.
This thread may help you: http://forums.codeblocks.org/index.php?topic=2195.0
--- End quote ---
Yep, did work for me.
Thanks,
Andre
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version