Re: [eclipse-users] Compiling Eclipse with CPLEX 10.2

From: Kish Shen <kish_at_...2...>
Date: Sun, 01 Jul 2007 17:42:58 +0100
Hi Brammert,

B. Ottens wrote:
> Hello,
>
> at the moment I am trying to compile Eclipse with CPLEX 10.2 and am
> running into the following error
>
> seplex.c: In function ‘p_cpx_loadprob’:
> seplex.c:4246: warning: passing argument 8 of ‘CPXcopysos’ from
> incompatible pointer type
> seplex.c:4246: warning: passing argument 9 of ‘CPXcopysos’ from
> incompatible pointer type
> seplex.c: In function ‘p_cpx_optimise’:
> seplex.c:5713: error: ‘CPXERR_NO_INT_SOLN’ undeclared (first use in this
> function)
> seplex.c:5713: error: (Each undeclared identifier is reported only once
> seplex.c:5713: error: for each function it appears in.)
> make[1]: *** [i386_linux/secplex102.so] Error 1
> make[1]: Leaving directory `/ufs/gast217/Eclipse/icparc_solvers'
> make: *** [make_icparc_solvers] Error 2
>
> I have no idea how to solve this, so I hope that someone does.
>
> Kind regards,
>
> Brammert Ottens
>
>
> _______________________________________________
> ECLiPSe-Users mailing list
> ECLiPSe-Users_at_...2...
> http://www.crosscoreop.com/mailman/options/eclipse-users
>   

It looks like you are using a old version of ECLiPSe -support for CPLEX 
10 was added around ECLiPSe 5.10#57 -- if you are using an older version 
of the source, please update your source. If not, then you seem to be 
compiling with the wrong flags -- can you show the entire gcc command 
for compiling the seplex.c?

The problem is that ILOG changed their C API between CPLEX 9 and 10, for 
example, CPXERR_NO_INT_SOLN is no longer defined in CPLEX 10, and the 
arguments for CPXcopysos was changed, and this required updates to 
seplex.c.

Cheers,

Kish
Received on Sun Jul 01 2007 - 17:43:12 CEST

This archive was generated by hypermail 2.3.0 : Tue Apr 16 2024 - 09:13:19 CEST