User forums > Using Code::Blocks
strange behaviour with object files folder
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)?
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)?
--- End quote ---
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?
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
Navigation
[0] Message Index
[#] Next page
Go to full version