User forums > Using Code::Blocks

Error building a WxWidget project

<< < (2/3) > >>

sethjackson:
Yes sorry I was not clear. My bad.  :P

dada:
For -Winvalid-pch:


--- Quote ---Project-->Build options-->Compiler-->Other options

--- End quote ---


Ehm...  :? I feel stupid but in the Project-->Build options-->Compiler-->Other options there is nothing at all to remove, it is blank.

sethjackson:
Hmmm could you post the project file? Do you happen to have RC2? If so grab a nightly from here.

http://forums.codeblocks.org/index.php?board=20.0

Michael:

--- Quote from: dada on February 14, 2006, 07:46:01 pm ---Ehm...  :? I feel stupid but in the Project-->Build options-->Compiler-->Other options there is nothing at all to remove, it is blank.

--- End quote ---

I have these here there:


--- Quote ----pipe
-mthreads
-Winvalid-pch
-include "wx_pch.h"

--- End quote ---

Michael

yop:

--- Quote from: sethjackson on February 14, 2006, 07:48:46 pm ---Do you happen to have RC2?
--- End quote ---
Most probably... Do you remember that the compiler options used to persist when you changed compilers? The project has the valid Winvalid-pch switch for gcc but is building with the M$ compiler. Switch the compiler of your project back to gcc to see if it appears. If you don't have gcc then you can edit the project file by hand but it's better to...

--- Quote from: sethjackson on February 14, 2006, 07:48:46 pm ---...grab a nightly from here.
http://forums.codeblocks.org/index.php?board=20.0

--- End quote ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version