News:

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

Main Menu

strange behaviour with object files folder

Started by FrankTheFox, October 12, 2011, 02:37:18 PM

Previous topic - Next topic

FrankTheFox

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

oBFusCATed

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!]

FrankTheFox

Quote from: oBFusCATed 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)?

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

oBFusCATed

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!]

FrankTheFox

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

oBFusCATed

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!]

FrankTheFox