<p>Hello<br> <br>I have trouble coming when I tried to compile Bcp with Cplex. I used the following command:<br> <br> ../configure --with-cplex-lib="-L/usr/local/ilog/cplex91/lib/x86_RHEL3.0_3.2/static_pic" \<br>
> --with-cplex-incdir="/usr/local/ilog/cplex91/include/ilcplex" \<br>> --enable-static -C<br> <br><font color="#ff0000">and I got the following error when compiling:</font></p>
<div><em>checking how to hardcode library paths into programs... immediate<br>checking dependency style of gcc... (cached) gcc3<br>checking dependency style of g++... (cached) gcc3<br>checking whether to enable maintainer-specific portions of Makefiles... no
<br>checking for COIN project Cbc... unavailable<br>checking for COIN project Cgl... ../Cgl<br>checking for COIN project Clp... ../Clp<br>checking for COIN project CoinUtils... ../CoinUtils<br>checking for COIN project DyLP... unavailable
<br>checking for COIN project Osi... .<br>checking for COIN project SYMPHONY... unavailable<br>checking for COIN project Vol... ../Vol<br>checking if user provides library for Cplex... yes<br>checking for /usr/local/ilog/cplex91/include/ilcplex/cplex.h... yes
<br><font color="#ff6600">checking whether symbol CPXgetstat is available with CPX... no<br>configure: error: Cannot find symbol CPXgetstat with CPX<br>configure: error: /bin/sh '../../Osi/configure' failed for Osi <br></font>
</em></div>
<div><font color="#3366ff">NOTE: </font></div>
<p>In my cplex system, under /lib directory, there are 5 folders as follows:<br>ia64_RHEL3.0_3.2<br>x86-64_RHEL3.0_3.2<br>x86-64_sles9.0_3.3<br>x86_RHEL2.1_2.96<br>x86_RHEL3.0_3.2<br>and a file: cplex.jar<br> <br>Within each folder, this is a folder called "static_pic", I tried all of them as the one for lib and got the same result as above.
<br> <br>Thank you for the help!<br> <br>Roy</p>