Hello,

J'essaie de compiler QxOrm sous macos avec la dernière version de xcode, je crois qu'il y a vraiment un souci car je n'ai pas de souci avec clang darwin12
Ma version de clang:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
clang++ --version
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix
J'ai compilé boost avec ces flags:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
./b2 -j9 --link=shared --threading=multi --runtime-link=shared --toolset=clang
Voici l'erreur:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Undefined symbols for architecture x86_64:
  "boost::archive::text_iarchive_impl<boost::archive::text_iarchive>::load(std::string&)", referenced from:
      void boost::serialization::qx_load<boost::archive::text_iarchive>(boost::archive::text_iarchive&, QByteArray&, unsigned int) in QxSerialize_QByteArray.o
      boost::archive::detail::iserializer<boost::archive::text_iarchive, std::pair<std::string, QVariant> >::load_object_data(boost::archive::detail::basic_iarchive&, void*, unsigned int) const in QxSerialize_QObject.o
      void boost::serialization::qx_serialize_qstring<true>::load<boost::archive::text_iarchive>(boost::archive::text_iarchive&, QString&, unsigned int) in QxSerialize_QString.o
  "boost::archive::text_iarchive_impl<boost::archive::text_iarchive>::text_iarchive_impl(std::istream&, unsigned int)", referenced from:
      qx::QxArchive<qx::service::QxTransaction, boost::archive::text_iarchive, boost::archive::text_oarchive>::fromByteArray(qx::service::QxTransaction&, QByteArray const&, unsigned int) in QxTools.o
  "boost::archive::text_oarchive_impl<boost::archive::text_oarchive>::save(std::string const&)", referenced from:
      boost::archive::basic_text_oarchive<boost::archive::text_oarchive>::save_override(boost::archive::class_name_type const&, int) in QxExportDllBoostArchive.o
      boost::serialization::save(boost::archive::text_oarchive&, QByteArray const&, unsigned int) in QxSerialize_QByteArray.o
      boost::archive::detail::oserializer<boost::archive::text_oarchive, std::pair<std::string, QVariant> >::save_object_data(boost::archive::detail::basic_oarchive&, void const*) const in QxSerialize_QObject.o
      void boost::serialization::qx_serialize_qstring<true>::save<boost::archive::text_oarchive>(boost::archive::text_oarchive&, QString const&, unsigned int) in QxSerialize_QString.o
      boost::archive::basic_text_oarchive<boost::archive::text_oarchive>::save_override(boost::archive::class_name_type const&, int) in QxTools.o
  "boost::archive::text_oarchive_impl<boost::archive::text_oarchive>::text_oarchive_impl(std::ostream&, unsigned int)", referenced from:
      qx::QxArchive<qx::service::QxTransaction, boost::archive::text_iarchive, boost::archive::text_oarchive>::toByteArray(qx::service::QxTransaction const&, std::string*, unsigned int) in QxTools.o
ld: symbol(s) not found for architecture x86_64
Qu'en penses-tu ?