I am trying to build swIMP on a 64 bit linux installation. (I could not find a prebuilt 64-bit version. If there is one, I can just use that).
I ran configure, which appeared to be successful. The configure command was
./configure -C CFLAGS=-I/path/to/jni/include CXXFLAGS="-I/path/to/jni/include" CXX=g++34 CPPFLAGS="-I/path/to/jni/include -I/path/to/Cbc-2.7/include -I/path/to/Cbc-2.7/include/coin" LDFLAGS="-L/path/to/Cbc-2.7/lib" --disable-binbundle
If I try make forcegen, there are several warnings about PACKAGE* being redefined, but that seems to work until it starts to build .libs/libswIMPOsiSym.so.0.0.1.
This fails with the message
/usr/bin/ld: cannot find -lOsiSym
OsiSym appears to be the Osi wrapper for Symphony, which I have not installed. Unless I'm misunderstanding the dependencies, I don't need that, since all I want to use is Cbc. The cbc directory has libCbc, libCgl and libClp and the Osi versions of those files, so I think I have all the files that I need.
A plain "make" with no arguments fails in the same way. Is there a reason it is trying to build the symphony library? Or a way to avoid having it build it?
I have been playing with similar issues, but with no success so far. Anyway, you can disable a particular solver modifying project.properties file. There is a "build.exclude" and/or "test.exclude". You can add */OsiSym to it, like:
something.exclude = \ /Abstract* \ /OsiSym
I hope it helps!