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

Offline *ptr

  • Single posting newcomer
  • *
  • Posts: 8
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: 4291
    • 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...

Offline *ptr

  • Single posting newcomer
  • *
  • Posts: 8
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