Author Topic: Cannot Compile wxWidgets App in CodeBlocks RC1-1  (Read 7267 times)

*ptr

  • Guest
Cannot Compile wxWidgets App in CodeBlocks RC1-1
« 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

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Cannot Compile wxWidgets App in CodeBlocks RC1-1
« Reply #1 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.
Be patient!
This bug will be fixed soon...

*ptr

  • Guest
Re: Cannot Compile wxWidgets App in CodeBlocks RC1-1
« Reply #2 on: August 24, 2005, 01:28:40 pm »
Many Thanks Yiannis its work. :) Regards