[Coin-ipopt] Compiling error making Ipopt library in Windows
Andreas Waechter
andreasw at watson.ibm.com
Tue Apr 4 16:06:01 EDT 2006
Hi Marius,
It seems that the compilation error you report is due to the fact the you
did not switch on the Fortran preprocessor.
Here a paragraph from README.Windows:
----- 8< --------
Ipopt has been build successfully this way using the Compaq Fortran 6
and Microsoft Visual C++ 6.0 compilers. Here, the calling convention
for the C/C++ compiler was set to "__stdcall" in the C compilers
settings, and the Fortran preprocessor was activated with the FPP
check box in the Fortran compiler settings.
----- 8< --------
Please check if the preprocess option has been selected.
Regards,
Andreas
On Tue, 28 Mar 2006, Marius Berntsen wrote:
> Hi,
>
>
>
> I want to make a library containing DFO and Ipopt. I have followed the
> instructions in README.WINDOWS, but I get some problems when I'm compiling.
>
>
>
> I get the following error when trying to compile the library:
>
>
>
> C:\coin\Ipopt\IPOPT\ipopt\initparams.F(230) : Error: Syntax error, found ','
>
> when expecting one of: (
>
> 1 'DCMAXTOL', !
>
>
>
> Below is the code with the error.
>
>
>
> #ifndef INCLUDE_CC
>
> 1 'DCMAXTOL'/ ! maximal allowed (unscaled) constraint
>
> ! violation for successful termination #else
>
> 1 'DCMAXTOL', !
>
>
>
> What could possibly be wrong here? Does anybody know? I would really
> appreciate it.
>
>
>
> Marius
>
>
>
>
More information about the Coin-ipopt
mailing list