[gecode-users] How to compile the examples in Xcode

serge lemouton serge.lemouton at ircam.fr
Sun May 17 19:49:13 CEST 2009


Hello,

I am not able to compile the examples included from the Gecode 3.0.2  
Macintosh binary distribution.
I have installed Gecode with the "Install Gecode 3.0.2.pkg", (after  
having desinstalled the oldest frameworks with the uninstall script)
created an Xcode project with the latest version of Xcode and GCC 4.2  
(and put the "-framework gecode" option in the Linker Flags)
When  compiling any examples in the "C++ examples" folder of the disk  
image, I get the following errors :

collect2: ld returned 1 exit status
symbol(s) not found
__ZTV7Options$non_lazy_ptr in money.o
"vtable for Options", referenced from:
Options::~Options()in money.o
etc .... (all the errors seems related to Options)

Maybe there il something left from a previous gecode installation ?
Do I need to recompile Gecode ?

Thanks for any hint or suggestion !

Serge




More information about the gecode-users mailing list