|
Boost-Build : |
Subject: [Boost-build] I am new to Boost and I have an error !
From: MAURICE Jean - externe (jean-externe.maurice_at_[hidden])
Date: 2016-08-26 09:59:59
I apologize : english is not my natural langage.
I have been hired to modify a very big app that seems to be very complicated. It's my second day of work here !
After copying the source files on my brand new computer, I try to build the app. Building all the libraries (including Boost) seems ok but the final build return an error :
g++ -W -Wall -fPIC -I ./ -I ../sources/include -I ../../kheopsToolBox/sources/include/ ...... -I ../../Libraries/Linux/Boost/include -D NDEBUG -O2 -o ../../build/linux/kheopslauncher/Tests/Binary/Release/LauncherTest ../... ../../Libraries/Linux/Boost/lib -lkheopsdataaccess ...-lboost_program_options -lboost_system -lboost_filesystem -lboost_date_time -lboost_regex -lboost_thread
/usr/bin/ld: warning: libboost_chrono.so.1.50.0, needed by ../../Libraries/Linux/Boost/lib/libboost_thread.so, not found (try using -rpath or -rpath-link)
../../build/linux/kheopsdataaccess/Binary/Release/libkheopsdataaccess.so: référence indéfinie vers « boost::filesystem::detail::copy_file(boost::filesystem::path const&, boost::filesystem::path const&, boost::filesystem::copy_option::enum_type, boost::system::error_code*) »
collect2: error: ld returned 1 exit status
first is the warning "libboost_chrono.so.1.50.0 not found" important ?
second about "undefined reference to « boost::filesystem::detail::copy_file ...", I read on internet that we have to write
#define BOOST_NO_CXX11_SCOPED_ENUMS
#include <boost/filesystem.hpp>
#undef BOOST_NO_CXX11_SCOPED_ENUMS
in some .h files. I did it but with no success.
Can you give me the first steps towards the solution ?
TIA
Jean in France
Ce message et toutes les pièces jointes (ci-après le 'Message') sont établis à l'intention exclusive des destinataires et les informations qui y figurent sont strictement confidentielles. Toute utilisation de ce Message non conforme à sa destination, toute diffusion ou toute publication totale ou partielle, est interdite sauf autorisation expresse.
Si vous n'êtes pas le destinataire de ce Message, il vous est interdit de le copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou partie. Si vous avez reçu ce Message par erreur, merci de le supprimer de votre système, ainsi que toutes ses copies, et de n'en garder aucune trace sur quelque support que ce soit. Nous vous remercions également d'en avertir immédiatement l'expéditeur par retour du message.
Il est impossible de garantir que les communications par messagerie électronique arrivent en temps utile, sont sécurisées ou dénuées de toute erreur ou virus.
____________________________________________________
This message and any attachments (the 'Message') are intended solely for the addressees. The information contained in this Message is confidential. Any use of information contained in this Message not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval.
If you are not the addressee, you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return message.
E-mail communication cannot be guaranteed to be timely secure, error or virus-free.
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk