[Ipopt-tickets] [Ipopt] #166: IPOPT installation fails at make after successful configuration

Ipopt coin-trac at coin-or.org
Sat Aug 13 19:51:49 EDT 2011


#166: IPOPT installation fails at make after successful configuration
-------------------+--------------------------------------------------------
Reporter:  Edo     |       Owner:  ipopt-team
    Type:  defect  |      Status:  new       
Priority:  normal  |   Component:  Ipopt     
 Version:  3.9     |    Severity:  normal    
Keywords:          |  
-------------------+--------------------------------------------------------
 I have been trying to install IPOPT with its Matlab interface on a Mac OS
 10.6 machine running Matlab 2011a. I have the appropriate gcc compilers
 (gcc-4.2, g++-4.2.1 and gfortran-4.6.0). I have tried configuring
 different versions of Ipopt from 3.8.x to 3.10.0. However, it always
 configures sucessfully and fails at make - ends with the same error below.
 The only difference between the various versions of IPOPT is the line
 /.../AmplSolver/AmplTNLP.cpp:xxxx, where xxxx varies with the IPOPT
 version.

 Please help me get IPOPT working on snow leopard.

 FYI: The getMetis file does not work as the metis site has changed. I have
 had to change the file to make it work. Will make this available in
 another ticket.

 Many thanks,
 E


 ../../../../../Ipopt/src/Apps/AmplSolver/AmplTNLP.cpp: In member function
 'void* Ipopt::AmplOptionsList::Keywords(const
 Ipopt::SmartPtr<Ipopt::OptionsList>&, Ipopt::SmartPtr<const
 Ipopt::Journalist>, void**)':
 ../../../../../Ipopt/src/Apps/AmplSolver/AmplTNLP.cpp:1008: error: invalid
 conversion from 'const char*' to 'char*'
 ../../../../../Ipopt/src/Apps/AmplSolver/AmplTNLP.cpp:1008: error:
 initializing argument 1 of 'char* strcpy(char*, const char*)'
 ../../../../../Ipopt/src/Apps/AmplSolver/AmplTNLP.cpp: In member function
 'void Ipopt::AmplSuffixHandler::PrepareAmplForSuffixes(ASL_pfgh*)':
 ../../../../../Ipopt/src/Apps/AmplSolver/AmplTNLP.cpp:1457: error: invalid
 conversion from 'const char*' to 'char*'
 ../../../../../Ipopt/src/Apps/AmplSolver/AmplTNLP.cpp:1457: error:
 initializing argument 1 of 'char* strcpy(char*, const char*)'
 make[3]: *** [AmplTNLP.lo] Error 1
 make[2]: *** [all-recursive] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all-recursive] Error 1

-- 
Ticket URL: <https://projects.coin-or.org/Ipopt/ticket/166>
Ipopt <http://projects.coin-or.org/Ipopt>
Interior-point optimizer for nonlinear programs.



More information about the Ipopt-tickets mailing list