User forums > Using Code::Blocks
LINK : fatal error LNK1181 (solved)
(1/1)
jc:
I get this error when trying to compile an Ogre project with VC++ Toolkit 2003:
--- Code: ---LINK : fatal error LNK1181: cannot open input file 'C:\Program.obj'
--- End code ---
I googled for this problem and it seems that it stems from 'spaces' being in my directories. I have to say that I have no spaces in them, so I don't know what else can be causing this. Any ideas guys?
jc:
Okay, I figured it out. I'd been explicitly linking the user32/gdi32 libraries, using the full path name. I'm an idiot. :)
Sorry for the waste of forum space. At least anyone else who searches for that should find this solution, though (I did do a search before posting).
Navigation
[0] Message Index
Go to full version