Game Development Community

Compiling Error

by none · in Torque Game Engine · 07/15/2011 (2:38 pm) · 13 replies

I'm getting only this error every time I attempt to compile, I've spent hours but I cannot find the reason for this error. Anyone have any ideas?

1>LINK : fatal error LNK1181: cannot open input file 'unicows.lib'

#1
07/15/2011 (3:10 pm)
unicows.lib is related to Unicode which a standard for handling text in various languages around the world. I would think that comes with Visual Studio/Windows API. Which version of Visual Studio are you running?
#2
07/15/2011 (3:10 pm)
If I remember right, unicows.lib used to live next to the TGE executable file in the example/ directory. Maybe check if it hasn't been accidentally deleted?

EDIT: ninja'd.
#3
07/15/2011 (3:15 pm)
@Matt I've tried using 2005, 2008, and 2010..
@Daniel That's the unicows.dll and its there, I just don't know how to make this error dissappear
#4
07/15/2011 (3:28 pm)
I wonder if this has anything to do with the windows SDK installed?

I'm using win 7 and it compiles fine with 2008 and 2010, using the sdk installed with 2010
#5
07/15/2011 (4:44 pm)
Well the weird thing is it allows a blank slate torque to compile fine. It's just my project.
#6
07/15/2011 (5:28 pm)
did you manually change any of the VC++ directory options to look for specific platform SDK folders
Microsoft SDKs\Windows\v6.0A
Microsoft SDKs\Windows\v6.1

for example i dont know the 2005 one, i havent used that since XP

Perhaps you could merge your changes into a vanilla install of TGE and see if that works?
#7
07/15/2011 (5:40 pm)
I just tried that, but no dice :/. And I just tried the vanilla install also, but it didnt work
#8
07/16/2011 (7:27 am)
Are you using Visual Studio Express or Professional? I know Torque 3D works with VS2008/2010 Express but recall having to use my copy of VS 2005 Professional back when I used TGE.
#9
07/16/2011 (8:35 am)
I'm using express, but I've had no problems with the vanilla build, but I don't understand which code file could have caused the issue I'm having. I suppose I could add the files in subgroups until I have a problem and track it down that way, but that sounds very time consuming.
#10
07/16/2011 (2:43 pm)
You could use WinMerge (www.winmerge.org) to compare the directories for differences in files.
#11
07/16/2011 (2:56 pm)
Alright, I'll give that a go, thankyou!
#12
07/16/2011 (3:34 pm)
Also, now might be an opportune moment for me to plug version control! I've been using TortoiseSVN for years now, and it saved my butt several times.
#13
07/16/2011 (3:53 pm)
This looks awesome, and I will definitely use this from now on to prevent this one stupid error haha! Thanks to all three of you!