[gecode-users] Problems following the document "Modeling with Gecode"

Guido Tack tack at ps.uni-sb.de
Thu Mar 26 00:39:00 CET 2009


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
> users at gecode.org
> https://www.gecode.org/mailman/listinfo/gecode-users





More information about the gecode-users mailing list