I'm trying to build the latest stable release (v9.3) with CPLEX integration (on a Manjaro Linux machine).
When I adapt
Makefile.cpp.mk
so that "USE_CPLEX ?= ON" and provide the location of my CPLEX Studio
installation via UNIX_CPLEX_DIR, "make third_party" reports:
"""
-- CPLEX support: ON
...
-- CPLEX_ROOT: /opt/ibm/ILOG/CPLEX_Studio221
"""
While make proceeds (sort of) successfully, it also reports:
"""
IMPORTED_LOCATION not set for imported target "CPLEX::CPLEX" configuration
"Release".
"""
And
in dependencies/CMakeFiles/ortools.dir/build.make
I find the line: "lib/libortools.so.9.3.10497: CPLEX::CPLEX-NOTFOUND"
...which is where a subsequent run of "make cc" ultimately fails.
FindCPLEX.cmake
looks for libcplex.a at
"${CPLEX_ROOT}/cplex/lib/x86-64_linux/static_pic/libcplex.a" ...which is
exactly where it is to be found.
Any ideas, hints? Thanks in advance, Florian