Hello Mauricio,

It works also for me when compiling directly with gcc, but in this case i guess that you are not linking your object with "-framework gecode", but rather with the dynamic libraries (-lgecodekernel, etc ...)
Right ?

Serge

On 30 oct. 09, at 09:52, Mauricio Toro wrote:

Hello,

I am using Mac OS X 10.5.8, the Gecode 3.2.0 framework and gcc 4.2 and it works perfectly. Perhaps there is a problem when using Xcode; I am compiling without Xcode.

2009/10/30 Guido Tack <t...@ps.uni-sb.de>
serge lemouton wrote:
> I am on MacOs X (10.5.8) and using Xcode.
> When the examples are compiled (with gcc 4.2) and linked against the
> gecode framework, I get the following error:
>
> dyld: lazy symbol binding failed: Symbol not found:
> __ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_i
>   Referenced from: /Library/Frameworks/gecode.framework/Versions/18/
> gecode
>   Expected in: /usr/lib/libstdc++.6.dylib
>
> If I switch back to the previous (3.1) gecode framework, it works
> perfectly ...
> What's new there ?

The 3.2.0 binaries have been built on Mac OS 10.6.  I thought it
should be backwards-compatible, but maybe it isn't.  When exactly did
you download the package?  I uploaded a new 3.2.0 package yesterday
afternoon, it would be interesting to know whether you got the new
package or the old one (another way to find out is to see whether the
command
file /Library/Frameworks/gecode.framework/gecode
reports x86_64 as an architecture - if yes, it's the new package).

Cheers,
       Guido


_______________________________________________
Gecode users mailing list
us...@gecode.org
https://www.gecode.org/mailman/listinfo/gecode-users



--
Mauricio TORO BERMUDEZ

Research Postgraduate Student (Ph.D)
Computer Science Research Laboratory of Bordeaux (LABRI)
University of Bordeaux 1: Science and Technology

http://cic.javerianacali.edu.co/~mauriciotoro/

351, cours de la Libération
F-33405 Talence Cedex. France.
Phone: (+33) 5 4000 24 85
Fax: (+33) 5 4000 66 69

Please don't print this e-mail unless you really need to.


_______________________________________________
Gecode users mailing list
us...@gecode.org
https://www.gecode.org/mailman/listinfo/gecode-users

Reply via email to