Dear Roberto, you are of course right, you have to use -c. We'll update the document shortly. Thanks!
Guido Roberto CastaƱeda wrote: > I have just compiled and installed Gecode 3.0.1 in my system (Ubuntu > 8.04.2, GCC 4.2.4), and followed religiously the steps given in the > section 2 ("Getting started") from the document "Modeling with > Gecode". But when I have tried to do a first compilation (section > 2.3.3 of the document), I have realized that I need to add the > option -c to the g++ command line in order to create the object file > send-more-money.o, otherwise g++ does not succeed. The suggested > line in the documentation is: > > g++ -I<dir>/include send-more-money.cpp > > But what actually works for me is: > > g++ -I<dir>/include -c send-more-money.cpp > > Is this a documentation bug or am I missing something? > Thanks for your time! > > Roberto > _______________________________________________ > Gecode users mailing list > us...@gecode.org > https://www.gecode.org/mailman/listinfo/gecode-users _______________________________________________ Gecode users mailing list us...@gecode.org https://www.gecode.org/mailman/listinfo/gecode-users