Author Topic: Problem with object files  (Read 4258 times)

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Problem with object files
« 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

Offline Deschamps

  • Multiple posting newcomer
  • *
  • Posts: 120
Re: Problem with object files
« Reply #1 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.
Those who were seen dancing were thought to be insane by those who could not hear the music

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: Problem with object files
« Reply #2 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. :)
Be a part of the solution, not a part of the problem.

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: Problem with object files
« Reply #3 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. :)
Be a part of the solution, not a part of the problem.

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: Problem with object files
« Reply #4 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