[BuildTools] BuildTools help
Horand Gassmann
Horand.Gassmann at Dal.Ca
Wed May 28 19:43:20 EDT 2014
Hi,
I am trying to connect the CSDP solver to Optimization Services (OS). Since CSDP does not have a build system, I tried to put the line
AC_COIN_CHECK_USER_LIBRARY([Csdp], [CSDP], [blockmat.h])
into my configure.ac. The configure file currently has two other calls to AC_COIN_CHECK_USER_LIBRARY (for Lindo and knitro), but I have neither of those installed on my system, so I can't really use them to verify my approach. (The checks for these two packages have a fourth argument, [OSLib], but when I tried this with Csdp, I got an error message during the run_autotools step. Taking it out completed the run_autotools.)
I then ran configure as follows:
../configure -C --enable-debug --with-csdp-lib="-L$HOME/research/Csdp/lib -sdp" --with-csdp-incdir="$HOME/research/Csdp/include"
The incdir definitely lists the correct path. However, when I try to use this include directory in the make step, I get the error
fatal error: declarations.h: No such file or directory
(The environment variable COIN_HAS_CSDP seems to be set correctly.) I then looked at the compile command, and, sure enough, it does not list the include path
-I /home/gus/research/Csdp/include
even though it is clearly mentioned on the configure step. I am obviously doing something wrong.
Can anyone help?
Thanks
gus
-------------------------------------------------------
Horand I. Gassmann, Professor
Kenneth C. Rowe School of Business, Dalhousie University
6100 University Avenue, PO Box 15000
Halifax, Nova Scotia, Canada, B3H 4R2
ph. (902) 494-1844
fax (902) 494-1107
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/buildtools/attachments/20140528/93b4d5ae/attachment.html>
More information about the BuildTools
mailing list