J'ai installer boost sous devcpp.
J'ai essayer plusieurs version.
A chaque fois que j'essaye de de l'expemple ls.cpp ou tout autre exemple, les même message d'erreurs qui revienent :
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
17
18
19
20
21
22
23
24
25
26 Compilateur: Default compiler Building Makefile: "C:\Documents and Settings\krost\Mes documents\prog\ls\Makefile.win" Exécution de make... make.exe -f "C:\Documents and Settings\krost\Mes documents\prog\ls\Makefile.win" all g++.exe ls.o -o "ls.exe" -L"C:/Dev-Cpp/lib" -L"C:/Dev-Cpp/mingw32/lib" -L"C:/Dev-Cpp/the-agency/boost_1_31_0/libs" -L"C:/Boost/lib" ls.o(.text+0xda):ls.cpp: undefined reference to `boost::filesystem::initial_path()' ls.o(.text+0x104):ls.cpp: undefined reference to `boost::filesystem::native(std::string const&)' ls.o(.text+0x125):ls.cpp: undefined reference to `boost::filesystem::path::path(char const*, bool (*)(std::string const&))' ls.o(.text+0x144):ls.cpp: undefined reference to `boost::filesystem::system_complete(boost::filesystem::path const&)' ls.o(.text+0x224):ls.cpp: undefined reference to `boost::filesystem::exists(boost::filesystem::path const&)' ls.o(.text+0x23e):ls.cpp: undefined reference to `boost::filesystem::path::native_file_string() const' ls.o(.text+0x2ee):ls.cpp: undefined reference to `boost::filesystem::is_directory(boost::filesystem::path const&)' ls.o(.text+0x308):ls.cpp: undefined reference to `boost::filesystem::path::native_directory_string() const' ls.o(.text+0x3fc):ls.cpp: undefined reference to `boost::filesystem::is_directory(boost::filesystem::path const&)' ls.o(.text+0x42f):ls.cpp: undefined reference to `boost::filesystem::path::leaf() const' ls.o(.text+0x4e6):ls.cpp: undefined reference to `boost::filesystem::path::leaf() const' ls.o(.text+0x5d1):ls.cpp: undefined reference to `boost::filesystem::path::leaf() const' ls.o(.text+0x7bd):ls.cpp: undefined reference to `boost::filesystem::path::native_file_string() const' ls.o(.text$_ZN5boost10filesystem18directory_iteratorC1ERKNS0_4pathE+0x67):ls.cpp: undefined reference to `boost::filesystem::detail::dir_itr_init(boost::shared_ptr<boost::filesystem::detail::dir_itr_imp>&, boost::filesystem::path const&)' ls.o(.text$_ZNK5boost10filesystem18directory_iterator11dereferenceEv+0xd):ls.cpp: undefined reference to `boost::filesystem::detail::dir_itr_dereference(boost::shared_ptr<boost::filesystem::detail::dir_itr_imp> const&)' ls.o(.text$_ZN5boost10filesystem18directory_iterator9incrementEv+0xd):ls.cpp: undefined reference to `boost::filesystem::detail::dir_itr_increment(boost::shared_ptr<boost::filesystem::detail::dir_itr_imp>&)' make.exe: *** [ls.exe] Error 1
Ma version de devcpp est 4.9.9.1.
Merci d'avance pour votre aide.
Et bonne année a tout le monde.
![]()
Partager