[Ipopt] problem with ipopt examples

Gabriel Hackebeil gabe.hackebeil at gmail.com
Thu Jun 23 13:30:25 EDT 2016


I have run into many cases on OS X in the past where the environment variables set by XCode confuse the C++ compiler with the C compiler during the link phase (or something like this). I was always able to get around it by explicitly setting the compiler variables in the configure step. E.g.,

./configure CC=clang CXX=clang++

or

./configure CC=gcc-6 CXX=g++-6

Maybe that will fix your case.

Gabe

> On Oct 14, 2015, at 2:09 PM, Carmelo Sferrazza (Carlo) <carlo.sferrazza at hotmail.it> wrote:
> 
> Hi,
> 
> I’m trying to run the ‘hs071’ example, but I’m running in the following error:
> 
> Undefined symbols for architecture x86_64:
>   "_IpoptApplicationFactory", referenced from:
> 
> How can I solve this? I’m on a Mac OS X.
> 
> Thank you.
> 
> Carlo
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/ipopt/attachments/20160623/901bb836/attachment-0001.html>


More information about the Ipopt mailing list