User forums > Using Code::Blocks

Cannot Compile wxWidgets App in CodeBlocks RC1-1

(1/1)

*ptr:
Hi.
When I try to compile a wxWidgets project under Code::Blocks on Fedora I get the following message:
g++: `wx-config: No such file or directory
cc1plus: error: unrecognized command line option "-fcflags`"
Can somebody please tell me what can I do to make it work?

Many thanks beforehand

mandrav:
If you 're going to use "evaluated commands" (sorry, don't know how they 're called exactly), like `wx-config` in the compiler's options, you must use the "GNU make" build method.
To do this, change "Settings->Compiler->Other->Build method".

Yiannis.

*ptr:
Many Thanks Yiannis its work. :) Regards

Navigation

[0] Message Index

Go to full version