[gecode-users] building 1.2.2 on WinXP with Visual C++ 2005 Express
Guido Tack
tack at ps.uni-sb.de
Thu Sep 14 09:31:21 CEST 2006
Hi!
> This is the first time I've tried to build gecode. My set-up: gecode
> version 1.2.2 on WinXP with cygwin and Visual C++ 2005 Express. When
> making it, I receive the following msg:
> [..]
> LINK : fatal error LNK1104: cannot open file 'libcp.lib'
> c:\Program Files\NextGeneration\make.exe: *** [GecodeInt.dll] Error 2
>
> What I find curious is that I couldn't spot a reference to a cp
> library
> either in the output or in the Makefile...
This is one of the standard libraries that come with the Microsoft
compiler, and the linker should always be able to find it. It seems
that either your installation is broken or some paths are not
correctly set up.
The Visual C++ express edition comes with a batch file that sets up
the paths correctly (called something like vcvarsall.bat IIRC). When
you use cygwin, you may have to invoke that file manually.
To check that all the paths are correct, try to compile a simple
helloworld program from the command line.
Cheers,
Guido
--
Guido Tack
Programming Systems Lab, Saarland University, Germany
http://www.ps.uni-sb.de/~tack
More information about the gecode-users
mailing list