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.