Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: *ptr on August 24, 2005, 01:04:22 pm

Title: Cannot Compile wxWidgets App in CodeBlocks RC1-1
Post by: *ptr on August 24, 2005, 01:04:22 pm
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
Title: Re: Cannot Compile wxWidgets App in CodeBlocks RC1-1
Post by: mandrav on August 24, 2005, 01:26:22 pm
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.
Title: Re: Cannot Compile wxWidgets App in CodeBlocks RC1-1
Post by: *ptr on August 24, 2005, 01:28:40 pm
Many Thanks Yiannis its work. :) Regards