Having trouble compiling Uplink? It's not easy, it's a big project with lots of dependencies and sub-projects. Each time I find out about a compile problem solved, i'll write it up here. Uplink should compile with very little fuss under Microsoft Visual C++ 6.0, and under gnu g++.

 

Microsoft Visual C++ 6.0

 

LINK : fatal error LNK1181: cannot open input file "..\..\..\Contrib\tiff-3.4\libtiff.lib"

LINK : fatal error LNK1181: cannot open input file "..\..\..\Contrib\mikmod-2.1\SOURCE\mikmod.lib"

Both of these errors are caused by a minor bug in the project files distributed on the CD, that causes the compiler to look in the wrong place for those files. You can easily fix this problem by downloading this zip file and extracting it into your Uplink folder. This will replace the Gucci and Soundgarden project files.

 

 

LINK : fatal error LNK1181: cannot open input file "..\..\..\Program Files\Microsoft Visual Studio\VC98\Lib\GLU32.LIB"

On my computer I have installed Visual C in "c:\program files\microsoft visual studio\". If you've put it somewhere else you need to make a minor adjustment to the project file.

Put DevStudio into FileView mode (use the tab at the bottom of the Workspace window). Open the Lib folder. You'll see a bunch of libs that are included as part of the build. You'll need to remove the files "glu32.lib" and "opengl32.lib", and re-add them from wherever you have installed Visual Studio. The files can be found in its VC98\lib directory.

 

 

Linux

Makes sure you have followed our Linux Guide.