News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

LINK : fatal error LNK1181 (solved)

Started by jc, January 17, 2006, 07:23:37 PM

Previous topic - Next topic

jc

I get this error when trying to compile an Ogre project with VC++ Toolkit 2003: LINK : fatal error LNK1181: cannot open input file 'C:\Program.obj'

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).