User forums > Using Code::Blocks

linux and pch

(1/2) > >>

frithjofh:
hi everybody,

i'm a bit ashamed, but i surrender: I'm using c::b 4707 on a suse 10.3 x86_64 installation and i can set up and compile and run a simple wxwidgets project generated with the wizard. but when i generate the same project, all settings identical, only changing to use precompiled headers i get the error:

./wx_pch.h         line 14      error: wx/wxprec.h: file not found

the file does exist, it is in a directory supposedly included by the wx-config --cflags

i searched through the forum and found many related topics, but i don't seem to be able to mine the necessary information from it  :(

please help me somebody

regards

nausea

frithjofh:
please, somebody give me a hint... :)

MortenMacFly:
What does...

--- Quote from: nausea on December 20, 2007, 09:06:46 pm ---the wx-config --cflags

--- End quote ---
...output on a console?
With regards, Morten.

frithjofh:
hi and thanks for the reply,

allready felt a bit deserted ...  :D

the output of wx-config --cflags is this:

-I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread

so far a standard wxwidgets project without pch enabled works fine as stated above...

greetings from asturias y feliz navidad

nausea

frithjofh:
hello, everybody,

i don't get it. is the solution of mi problem taht obvious, that this thread is regarded closed? but why don't i see it ??

please, i'm begin to feel more stupid on daily basis

regads

nausea

Navigation

[0] Message Index

[#] Next page

Go to full version