Author Topic: strange behaviour with object files folder  (Read 3928 times)

Offline FrankTheFox

  • Single posting newcomer
  • *
  • Posts: 7
strange behaviour with object files folder
« on: October 12, 2011, 02:37:18 pm »
Hi,

first i build my project located in /home/me/devel/myProgramm. All object files located there a well. Then i use some files from /usr/include/tools/ (h-files and cpp files).
When creating a new file (or class) i use /home/me/devel/myProgramm/myEngine.cpp. When compiling the project i see that /home/me/devel/myProgramm/obj/Debug/home/me/devel/ is used as a location for the object file?

Greetz

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: strange behaviour with object files folder
« Reply #1 on: October 12, 2011, 02:52:02 pm »
This is the correct behaviour.

What have you expected to happen?
C::B to generate object files  in /usr (this is system dir most of the time is read-only for simple users)?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline FrankTheFox

  • Single posting newcomer
  • *
  • Posts: 7
Re: strange behaviour with object files folder
« Reply #2 on: October 12, 2011, 03:14:33 pm »
This is the correct behaviour.

What have you expected to happen?
C::B to generate object files  in /usr (this is system dir most of the time is read-only for simple users)?

No /usr is not the location where to put my files. Before putting header from /usr/include  into my project, all object files are created in "myProgramm/obj/Debug".
After putting the header (and sources) the "Debug" path is extended by home/me/devel/myProgramm. So most of the object files resides in myProgram/obj/Debug and my newly created ones in /home/me/devel/myProgramm/obj/Debug/home/me/devel/myProgramm.

Greetz

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: strange behaviour with object files folder
« Reply #3 on: October 12, 2011, 03:36:05 pm »
Hm, sorry for the confusion...

What is the value in Projects->Properties->Build targets-> Objects output dir?
And what version of C::B are you using? OS?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline FrankTheFox

  • Single posting newcomer
  • *
  • Posts: 7
Re: strange behaviour with object files folder
« Reply #4 on: October 12, 2011, 04:17:19 pm »
Hi,

C::B Version :          Build: Jul 19 2009, 21:04:26 - wx2.8.8( Linux, unicode )
OS:                       OpenSuSE 11.1
Objects output dir:   obj/Debug/

Greetz

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: strange behaviour with object files folder
« Reply #5 on: October 12, 2011, 04:33:04 pm »
Hm, it is pretty old. Can you try 10.05 at least or a nightly build (I'm not sure if there are binaries for suse, thought, so you'll have to build it yourself).
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline FrankTheFox

  • Single posting newcomer
  • *
  • Posts: 7
Re: strange behaviour with object files folder
« Reply #6 on: October 12, 2011, 04:56:41 pm »
Ok,

thanks!