[gecode-users] Gecode/XCode 4.4+

Luca Di Gaspero l.digaspero at uniud.it
Wed Sep 26 08:54:03 CEST 2012


Hi Guido,

I've been a bit imprecise in my question. Actually from the command line the compilation works fine, but it's inside Xcode that it's failing because headers cannot be found. I added to Xcode the gecode framework through the Build Settings (the whole framework) as recommended with the new version of Xcode (in the previous version you add an "Add Framework to Project" menu item which disappeared now).

All the best,

Luca

Il giorno 26/set/2012, alle ore 01:13, Guido Tack <tack at gecode.org> ha scritto:

> Hi Luca,
> 
> I can't reproduce this problem on my machine (Mac OS 10.8.2, Xcode 4.5), it's working for me.  Did you try copying one of the examples that come with Gecode (e.g. money.cpp) to a tmp folder and compiling it? It should be as simple as this:
> 
> g++ -c money.cpp
> g++ -framework gecode money.o -o money
> 
> Cheers,
> Guido
> 
> -- 
> Guido Tack
> http://www.csse.monash.edu/~guidot/
> 
> 
> 
> On 26/09/2012, at 1:51 AM, Luca Di Gaspero <l.digaspero at uniud.it> wrote:
> 
>> Hi all,
>> 
>> I am trying to use the binary gecode framework for Mac OS X with the most recent version of Xcode (both 4.4 and 4.5), but the source code I've written failed to compile (it does not find the proper headers within the gecode.framework bundle). Are the developers aware of this issue (and possibly do they have a way to fix it)?
>> 
>> All the best,
>> 
>> Luca Di Gaspero
>> _______________________________________________
>> Gecode users mailing list
>> users at gecode.org
>> https://www.gecode.org/mailman/listinfo/gecode-users
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gecode.org/pipermail/users/attachments/20120926/08aa0818/attachment.html>


More information about the users mailing list