News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

linux build using CodeBlocks-unix.cbp project file

Started by tiwag, December 13, 2006, 05:45:02 PM

Previous topic - Next topic

tiwag

has anyone had problems with a recent svn revision to build CB using the CodeBlocks-unix.cbp project file ?

when i try to build svn rev 3374 with my last working version CB-svn 3315, i get the following error

-------------- Build: src in Code::Blocks - Unix ---------------
g++ -Wall -g `wx-config --cflags` -fmessage-length=0 -fexceptions -Winvalid-pch -fPIC -DcbDEBUG -DCB_PRECOMP -DENABLE_BINRELOC  -Isdk -Isrc/wxAUI -Isdk/wxFlatNotebook/include -Isdk/scripting/include -Isdk/scripting/sqplus -Isdk/wxscintilla/include -I/usr/include  -c src/app.cpp -o .objs/src/app.o
src/app.cpp:1: fatal error: had to relocate PCH
compilation terminated.


runnning on ubuntu 6.10, using g++ 4.1.1

any ideas ?

mandrav

Maybe you have built it before using autotools? The PCH generated by autotools is not compatible with the .cbp build. Remove the sdk.h.gch manually and see if this fixes it.
And yes, I build it every day with the .cbp in linux.
Be patient!
This bug will be fixed soon...

tiwag

Quote from: mandrav on December 13, 2006, 05:48:18 PM
... Remove the sdk.h.gch manually and see if this fixes it.

yes i did that, but it didn't fix it,

btw.
i discovered, the following points
1.) sdk_precomp.h isn't set to precompiled state in the CodeBlocks-unix.cbp project file.
2.) the update script doesn't strip the files in the output folder (strip commands remarked)
are they intended or by mistake ?

thx tiwag