Comments (2)
Comment by compiler created at 2011-10-16 01:08:42
i guess the reason is that cplex 12.2 compiles only with gcc4.0. If anyone could verify that, this ticket could be closed.
from bcp.
Comment by artondorneles created at 2013-08-01 15:56:05
Replying to [ticket:26 compiler]:
Hi,
I am using Mac OS X 10.6.8 (10K549) with gcc4.3 +gfortran (Not directly related to this problem but I could not compile the code with gcc45 and gcc46). As instructed in the configure.site file, I have declared the cplex include and library directories 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'It says it can't compile the simple test code that calls CPXgetstat. I don't think the problem is a cplex licence problem because the ILM file path is a global env var on my system.
I couldn't attached the configure log, so here is a snapshot:
.....
checking for pkg-config... /opt/local/bin/pkg-config
checking pkg-config is at least version 0.16.0... yes
checking for COIN-OR package CoinUtils... yes: 2.8.1
checking for COIN-OR package Glpk... not given: No package 'coinglpk' found
checking for COIN-OR package SoPlex... not given: No package 'coinsoplex' found
checking for COIN-OR package Sample... not given: No package 'coindatasample' found
checking for COIN-OR package Netlib... not given: No package 'coindatanetlib' found
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 OsiThanks,
Serdar Karademir
I guess you just need to append -lm after -lpthread.
from bcp.
Related Issues (20)
- Incorrect counting of processed nodes; crash HOT 2
- bound checking in test_full() HOT 2
- configure fails at COPY_FROM_FILELIST part HOT 1
- Segmentation fault in Bcp examples execution. HOT 2
- `make distclean' leaves behind files/directories and erronously removes Bcp/examples HOT 6
- sys/time.h missing HOT 2
- wrong file name in example file copying HOT 1
- sys/ressources problem (Fedora 10) HOT 9
- compile of most examples fails HOT 2
- make unitTest fails HOT 2
- no Makefiles are made in Applications directory HOT 1
- Configure error in Bcp / OS HOT 5
- stable/1.1 does not compile with gcc-4.4
- Broken link to BAC paper HOT 1
- tried to install Bcp, but ... HOT 2
- got lot of warnings during making Bcp on 64bit SUSE Linux 11.2
- Compilation with gcc-4.6.0 (Fedora 15)
- Bcp-1.4.4, configuring and making and installing everything results in a framework which will not compile all but the BAC example. Platform: Debian on Intel. HOT 3
- make test fails on Linux HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bcp.