[BCP] Configuring / Compiling BCP with Cplex 12.2

Serdar Karademir karademirs at gmail.com
Thu Jan 5 06:29:07 EST 2012


Hi,

I have been trying to compile BCP 1.3.3 with Cplex 12.2 on a OS X 10.6
(Snow Leopard) but had no luck so far. I have *cplex.h* and *libcplex.a *and
include them in the config.site file as follows:

with_cplex_incdir='/CPLEX/cplex/include/ilcplex'
with_cplex_lib='-L/CPLEX/cplex/lib/x86-64_darwin9_gcc4.0/static_pic -lcplex
-lpthread'

I get the following configuration error (complete configuration log
attached):

checking if user provides library for Cplex... yes
checking whether symbol CPXgetstat is available with CPX... no
configure: error: Cannot find symbol(s) CPXgetstat with CPX
configure: error: /bin/sh '../../Osi/configure' failed for Osi


I am using *gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)* and I
suspect that might be the problem... Thanks for your time.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/bcp/attachments/20120105/e626e382/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: application/octet-stream
Size: 14762 bytes
Desc: not available
URL: <http://list.coin-or.org/pipermail/bcp/attachments/20120105/e626e382/attachment.obj>


More information about the BCP mailing list