User forums > Using Code::Blocks
Wrong path for ".o"
(1/1)
Buenol:
Bonjour(I'm french :oops:),
I have this Build log after a good compile:
--- Quote ---compile foo.h
...
-------------- Build: Debug in Dail ---------------
Linking console executable: ..\..\Dail -debug\Dail.exe
mingw32-g++.exe: obj\Debug\obj\Debug\Context.o: No such file or directory
mingw32-g++.exe: obj\Debug\obj\Debug\Debug\Exceptions.o: No such file or directory
mingw32-g++.exe: obj\Debug\obj\Debug\Debug\File.o: No such file or directory
mingw32-g++.exe: obj\Debug\obj\Debug\Debug\MemoryManager.o: No such file or directory
mingw32-g++.exe: obj\Debug\obj\Debug\Game.o: No such file or directory
mingw32-g++.exe: obj\Debug\obj\Debug\OgreFramework.o: No such file or directory
--- End quote ---
And ,as you can watch, C::B search in obj\Debug\obj\Debug\..
So my .o is in obj\Debug like everybody.
So have you a solution?
For my .cbp see here:http://textsnip.com/ff7c1e/xml
Thanks.
stahta01:
I suggest trying to remove the .o files from your project. Example of line that I mean below.
--- Code: ---<Unit filename="obj\Debug\Context.o" />
--- End code ---
And, turning on full command line mode.
http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F
Tim S.
ollydbg:
Yes, I also notices that you have "XXX.o" file in your project
--- Quote ---# <Unit filename="obj\Debug\Context.o" />
# <Unit filename="obj\Debug\Debug\Exceptions.o" />
# <Unit filename="obj\Debug\Debug\File.o" />
# <Unit filename="obj\Debug\Debug\MemoryManager.o" />
# <Unit filename="obj\Debug\Game.o" />
# <Unit filename="obj\Debug\OgreFramework.o" />
# <Unit filename="obj\Debug\data\AbstractObject.o" />
# <Unit filename="obj\Debug\data\Data.o" />
# <Unit filename="obj\Debug\data\DataManager.o" />
# <Unit filename="obj\Debug\data\Player.o" />
# <Unit filename="obj\Debug\engines\Engine.o" />
# <Unit filename="obj\Debug\engines\EngineEvent.o" />
# <Unit filename="obj\Debug\engines\GameEngine.o" />
# <Unit filename="obj\Debug\engines\GameEngine\Event\PlayerEvent.o" />
# <Unit filename="obj\Debug\engines\GraphicsEngine.o" />
# <Unit filename="obj\Debug\engines\GraphicsEngine\EventHandler.o" />
# <Unit filename="obj\Debug\engines\GraphicsEngine\GameEventHandler.o" />
# <Unit filename="obj\Debug\engines\GraphicsEngine\OgreApp.o" />
# <Unit filename="obj\Debug\engines\SoundEngine.o" />
# <Unit filename="obj\Debug\main.o" />
--- End quote ---
You should totally remove them
Buenol:
Thanks!!!I have remove the .o and i'm happyyyy! :D :D :D :D :D :D
thanks men!
Navigation
[0] Message Index
Go to full version