Code::Blocks Forums

User forums => Help => Topic started by: LonelySTar on January 17, 2006, 11:15:08 pm

Title: wx/wxprec.h "No such file or directory" in plugin wizard created project.
Post by: LonelySTar on January 17, 2006, 11:15:08 pm
Hello together,
I created a plugin using the wizard. After setting the sdk path and inserting the sample "Hello world" code, I tried to compile it:

wx/wxprec.h No such file or directory.

 :shock:
In "Project->Build options -> Compiler -> other options" it says very correctly: `wx-config --cflags`
If I compile the source file by hand: g++ plugin.cpp `wx-config --cflags`
It seems to find "wx/wxprec.h".
Could it be, that compilation is not using the `wx-config --cflags` parameter? Why not?
Thanks! Nathan
Title: Re: wx/wxprec.h "No such file or directory" in plugin wizard created project.
Post by: ghostrifle on March 29, 2006, 08:44:22 am
I've got the same problem. Did you manage to solve it ??