Author Topic: LINK : fatal error LNK1181 (solved)  (Read 3743 times)

jc

  • Guest
LINK : fatal error LNK1181 (solved)
« on: January 17, 2006, 07:23:37 pm »
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'

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?
« Last Edit: January 17, 2006, 07:40:55 pm by jc »

jc

  • Guest
Re: LINK : fatal error LNK1181 (solved)
« Reply #1 on: January 17, 2006, 07:44:19 pm »
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).