[FlopCpp] problem compiling examples
Michal Kaut
mail at michalkaut.net
Mon May 7 10:20:21 EDT 2007
Hello,
I have a problem building the examples, using
https://projects.coin-or.org/svn/FlopC++/stable/1.0 on Windows XP with
MinGW (gcc 3.4.5) and MSYS.
The package as such builds OK, including "make test", but when I tried
to "make" the examples, none of them compiles (links).
Is this just me, or is a (known) problem? And if so, is there any
(preferably easy) fix?
These are just the first few error messages I get for "make ampl":
g++ -g -I../../include -I../include -L../../lib -L../lib
-Wl,-rpath,../../lib -Wl,-rpath,../lib -lFlopCpp -lOsi -lOsiClp -lClp
-lOsiCbc -lCbc -lCoinUtils -lCgl ampl.cpp -o ampl
C:/DOCUME~1/kaut/LOCALS~1/Temp/ccQJbaaa.o: In function
`main':c:/Appl/Math/Coin-OR/coin-FlopCpp/FlopCpp/examples/ampl.cpp:13:
undefined reference to `flopc::MP_model::getDefaultModel()'
:c:/Appl/Math/Coin-OR/coin-FlopCpp/FlopCpp/examples/ampl.cpp:14:
undefined reference to `OsiClpSolverInterface::OsiClpSolverInterface()'
:c:/Appl/Math/Coin-OR/coin-FlopCpp/FlopCpp/examples/ampl.cpp:14:
undefined reference to
`OsiCbcSolverInterface::OsiCbcSolverInterface(OsiSolverInterface*,
CbcStrategy*)'
:c:/Appl/Math/Coin-OR/coin-FlopCpp/FlopCpp/examples/ampl.cpp:27:
undefined reference to `flopc::MP_set::getEmpty()'
I do not how important it is, but the makefile in the "examples"
directory includes
IncDir += $(FlopcDir)/include
LIBDIRS += $(FlopcDir)/lib
None of these directories exist.
Thanks a lot in advance.
Regards,
Michal Kaut
More information about the FlopCpp
mailing list