[Coin-discuss] MaxCut build
Lou Hafer
lou at cs.sfu.ca
Wed Aug 2 11:30:01 EDT 2006
Michele,
I was able to try a build of MaxCut on cygwin. The problem lies in
Makefiles/Makefile.CYGWIN. At the top of the file you'll see the lines
CXX := g++ -mno-cygwin
FF := g77 -mno-cygwin
Change these lines to read
CXX := g++
FF := g77
(MaxCut doesn't use Fortran, but fixing the FF definition can't hurt.) This
fixes the problem on my local cygwin system --- I was able to build and run the
example. You'll need to remove all executables and library files and rebuild
from scratch for consistency.
The -mno-cygwin option produces executable files which will run in a standard
Windows environment (i.e., the executable does not depend on libraries that are
only available in the cygwin environment). This is a good thing, but my
knowledge of BCP is not sufficient for me to do a quick fix that incorporates
-mno-cygwin.
Lou
More information about the Coin-discuss
mailing list