Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: byo on June 02, 2007, 02:28:28 pm

Title: Problem with object files
Post by: byo on June 02, 2007, 02:28:28 pm
Hi
I've changed my main C::B package from latest nightly (  ) to the one compiled myself (rev 4043). Now when I try to compile anything, object files are created in directories where are the sources (just like there's no object directory at all). I've checked svn logs and I don't see where it could be broken (maybe I just don't see it). I'm compiling on WinXP.

Here's example command generated when compiling:
Code
mingw32-g++.exe -Wall -g -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DTIXML_USE_STL -DCB_PRECOMP -DWX_PRECOMP -DwxUSE_UNICODE -include sdk.h -DBUILDING_PLUGIN  -IE:\wxWidgets-2.8.4\include -IE:\wxWidgets-2.8.4\lib\gcc_dll\mswu -Iinclude\wxscintilla\include -Iinclude\propgrid\include -Iinclude\tinyxml -Iinclude -Iinclude\scripting\include -Iinclude\scripting\sqplus -IE:\MinGW\include  -c E:\codeblocks\src\plugins\scriptedwizard\wizpage.cpp -o plugins\scriptedwizard\wizpage.o

Does anybody know the reason of such behavior ? Maybe my C::B configuration is messed-up ?

Regards
   BYO
Title: Re: Problem with object files
Post by: Deschamps on June 02, 2007, 05:51:59 pm
Quote from: byo
(..) when I try to compile anything, object files are created in directories where are the sources (just like there's no object directory at all) (..) Maybe my C::B configuration is messed-up ?

No such problem with rev.4028 on Windows neither revs. 4028 or 4046 on Linux in my box.
Title: Re: Problem with object files
Post by: Biplab on June 02, 2007, 06:36:40 pm
I applied one patch in Rev 4036 which could be the cause. Though it shouldn't create problem, but you may revert it and see if that helps. :)
Title: Re: Problem with object files
Post by: Biplab on June 02, 2007, 09:16:12 pm
Thanks Byo for pointing this.

It was my patch which was breaking it, Only on Windows. I've applied a fix. It's in Rev 4050. :)
Title: Re: Problem with object files
Post by: byo on June 02, 2007, 09:45:47 pm
Thanks Byo for pointing this.

It was my patch which was breaking it, Only on Windows. I've applied a fix. It's in Rev 4050. :)

Huh, I've already suspected broken C::B configuration :)

BYO