albino
24-09-2006 12:41:55
Hi!
I get this error while linking my project,
LINK : fatal error LNK1104: cannot open file 'OgreNewt_Main_d.obj'
What i have to do
Hansel
24-09-2006 15:56:19
Inside your project properties:
In C/C++ -> General -> Additional Include directories add:
- C:\OgreNewt\OgreNewt_Main\inc
- C:\OgreNewt\demos\Include
In Linker -> General -> Additional Library Directories add:
- C:\OgreNewt\OgreNewt_Main\lib\release
In Linker -> Input -> Additional dependencies add:
- OgreNewt_Main.lib
And turn your project to release mode, at least for the moment
pd.- C:\OgreNewt\ is the path I have for Ogrenewt, perhaps yours is different.
albino
25-09-2006 11:26:07
hmm.. i found the problem
i put OgreNewt_Main in the linker input additional dependencies
instead of OgreNewt_Main.lib
but now it compiles and everything seems to be working correctly but after it loads the program it shuts down immidiatelly and no errors came
walaber
25-09-2006 17:10:06
you probably don't have the "working directory" set properly in your IDE. set it to the "bin" directory, and it should run fine.
albino
25-09-2006 18:20:13
hmm.. you might be right, my directories are pretty messed up
have to try that one
albino
25-09-2006 18:59:50
okay, now it runs, though i miss some textures, but those i can handle by myself, thanks