Topic
  • 1 reply
  • Latest Post - ‏2013-11-04T14:41:53Z by GGR
TaQ
TaQ
1 Post

Pinned topic CPLEX + CP on mac os x mavericks

‏2013-10-31T23:52:09Z |

I am using cpoptimizer + cplex + concert + cp solver + cp scheduler in my application on Mac os x mavericks.

On Linux this works well, but on mac no way!

First of all, there is no ILOG CP (solver, scheduler, concert) .bin for mac os x. 

So, I used the latest version for linux, ILOG CP 1.7, but without any success:

When performing make in >> ilogCP17/solver/examples/x86-64.../static_pic/makefile:

clang++ -DILO_LINUX  -fPIC -DIL_STD  -O3 -fomit-frame-pointer -DNDEBUG -I../../../include -I../../../../solver/include -I../../../../concert/include -I../../../examples/src  -DILOUSEMT -D_REENTRANT altlns.o -o altlns -L../../../lib/x86-64_sles10_4.1/static_pic -L../../../../solver/lib/x86-64_sles10_4.1/static_pic -L../../../../concert/lib/x86-64_osx/static_pic -lschedule -lsolveriim -lsolver -lconcert  -lpthread 

ld: warning: ld: warning: ld: warning: ignoring file ../../../../solver/lib/x86-64_sles10_4.1/static_pic/libsolver.a, file was built for archive which is not the architecture being linked (x86_64): ../../../../solver/lib/x86-64_sles10_4.1/static_pic/libsolver.aignoring file ../../../../solver/lib/x86-64_sles10_4.1/static_pic/libsolveriim.a, file was built for archive which is not the architecture being linked (x86_64): ../../../../solver/lib/x86-64_sles10_4.1/static_pic/libsolveriim.aignoring file ../../../lib/x86-64_sles10_4.1/static_pic/libschedule.a, file was built for archive which is not the architecture being linked (x86_64): ../../../lib/x86-64_sles10_4.1/static_pic/libschedule.a

There is  "...libsolver.a, file was built for archive which is not the architecture being linked (x86_64)".  I also used g++_4.8, but no way!

The same holds for ilogCP17/solver/examples/....

Someone can help me?

Updated on 2013-10-31T23:53:56Z at 2013-10-31T23:53:56Z by TaQ
  • GGR
    GGR
    62 Posts

    Re: CPLEX + CP on mac os x mavericks

    ‏2013-11-04T14:41:53Z  

    Hi

     

    There is no mac os port for ILog CP (Solver, scheduler).

    A mac-os port is available for the latest version of IBM ILOG CP Optimizer which replaces Ilog CP.

     

    Hope that helps