<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">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.,<div class=""><br class=""></div><div class="">./configure CC=clang CXX=clang++</div><div class=""><br class=""></div><div class="">or</div><div class=""><br class=""></div><div class="">./configure CC=gcc-6 CXX=g++-6</div><div class=""><br class=""></div><div class="">Maybe that will fix your case.</div><div class=""><br class=""></div><div class="">Gabe</div><div class=""><br class=""></div><div class=""><div><blockquote type="cite" class=""><div class="">On Oct 14, 2015, at 2:09 PM, Carmelo Sferrazza (Carlo) <<a href="mailto:carlo.sferrazza@hotmail.it" class="">carlo.sferrazza@hotmail.it</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">I’m trying to run the ‘hs071’ example, but I’m running in the following error:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">Undefined symbols for architecture x86_64:</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""> "_IpoptApplicationFactory", referenced from:</div></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><br class=""></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">How can I solve this? I’m on a Mac OS X.</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><br class=""></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">Thank you.</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><br class=""></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">Carlo</div></div>_______________________________________________<br class="">Ipopt mailing list<br class=""><a href="mailto:Ipopt@list.coin-or.org" class="">Ipopt@list.coin-or.org</a><br class="">http://list.coin-or.org/mailman/listinfo/ipopt<br class=""></div></blockquote></div><br class=""></div></body></html>