2011-01-07 15 views
0

Ich habe boost 1.45.0 heruntergeladen, installierte Python 3.1.3 auf meinem Mac. Ich habe den Boost mit Python erfolgreich aufgebaut. Dazu musste ich meinen "project-config.jam" editieren und hinzufügen "mit Python: 3.1: /Library/Frameworks/Python.framework/Versions/3.1;" hinein.Linker Problem mit Boost Python auf Xcode

An diesem Punkt scheint alles in Ordnung zu sein.

Jetzt, wenn ich versuche diese lib in einem Xcode-Projekt zu verwenden, ich habe Linkfehler:

undefinierte Symbole: „boost :: python :: Objekte :: make_nurse_and_patient (_object *, _object *) "referenziert von: _object * boost :: python :: mit_custodian_and_ward_postcall < 0ul, 1ul, boost :: python :: default_call_policies> :: postcall < _object *> (_ objekt * const &, _object *) in libFluxCore.a (Python .o) "boost :: python :: objekte :: enum_base :: enum_base (char const *, _object * () (void const), void * (*) (_ ob ject *), void (*) (_ Objekt *, boost :: python :: converter :: rvalue_from_python_stage1_data *), boost :: python :: type_info, char const *) ", referenziert von: sandbox :: BindComponentState() in libFluxCore.a (Python.o) Sandbox :: BindCallOptions() in libFluxCore.a (Python.o) Sandbox :: BindFrameRate() in libFluxCore.a (Python.o)

Und viel mehr ...

Pfade und Lib sind in meinem Projekt gut eingestellt.

Hat jemand eine Vorstellung davon, was passieren kann? Danke.

+0

Ich habe endlich diesen Fehler gefunden. buid boost python mit "./bjam toolset = darwin-4.2 architektur = x86 adressenmodell = 32 link = statisches threading = multi runtime-link = statisch" hat den job gemacht, da ich auf i86 arch bin. – Ziggy

Antwort

0

Ich habe endlich diesen Fehler gefunden. buid Boost-Python mit

./bjam Toolset = Darwin-4.2-Architektur = x86-Adresse-Modell = 32 link = statisch Threading = multi runtime-link = statischem

hat den Job, wie ich auf i86 Bogen bin.