building boost with dev-cpp
Hi, I need some help on building boost. I am trying to build boost 1.32.0 with dev-cpp. I am employing the command line: bjam "-sTOOLS=mingw" "--with-python-root=C:\Python24" "-sMINGW_ROOT_DIRECTORY=C:\Program Files\Dev-Cpp" install And I am getting the errors: D:\katti\programasOutros\bibliotecasC++\boost\boost_1_32_0>bjam "-sTOOLS=mingw" "--with-python-root=C:\Python24" "-sMINGW_ROOT_DIRECTORY=C:\Program Files\Dev-Cpp" install ...found 11553 targets... ...updating 1601 targets... gcc-C++-action bin\boost\libs\date_time\build\boost_date_time.dll\mingw\debug\gr eg_month.obj In file included from D:/katti/programasOutros/bibliotecasC++/boost/boost_1_32_0 /boost/config.hpp:40, from D:/katti/programasOutros/bibliotecasC++/boost/boost_1_32_0 /boost/date_time/constrained_value.hpp:12, from D:/katti/programasOutros/bibliotecasC++/boost/boost_1_32_0 /boost/date_time/gregorian/greg_month.hpp:12, from D:/katti/programasOutros/bibliotecasC++/boost/boost_1_32_0 /libs/date_time/src/gregorian/greg_month.cpp:14: D:/katti/programasOutros/bibliotecasC++/boost/boost_1_32_0/boost/config/select_s tdlib_config.hpp:20:19: utility: No such file or directory In file included from D:/katti/programasOutros/bibliotecasC++/boost/boost_1_32_0 /boost/shared_ptr.hpp:26, from D:/katti/programasOutros/bibliotecasC++/boost/boost_1_32_0 /boost/date_time/gregorian/greg_month.hpp:14, from D:/katti/programasOutros/bibliotecasC++/boost/boost_1_32_0 /libs/date_time/src/gregorian/greg_month.cpp:14: D:/katti/programasOutros/bibliotecasC++/boost/boost_1_32_0/boost/detail/shared_c ount.hpp:34:61: memory: No such file or directory D:/katti/programasOutros/bibliotecasC++/boost/boost_1_32_0/boost/detail/shared_c ount.hpp:35:41: functional: No such file or directory D:/katti/programasOutros/bibliotecasC++/boost/boost_1_32_0/boost/detail/shared_c ount.hpp:36:46: exception: No such file or directory D:/katti/programasOutros/bibliotecasC++/boost/boost_1_32_0/boost/detail/shared_c ount.hpp:37:46: new: No such file or directory D:/katti/programasOutros/bibliotecasC++/boost/boost_1_32_0/boost/detail/shared_c ount.hpp:38:61: typeinfo: No such file or directory ....
"Katti Faceli"
I am trying to build boost 1.32.0 with dev-cpp.
I am employing the command line: bjam "-sTOOLS=mingw" "--with-python-root=C:\Python24" "-sMINGW_ROOT_DIRECTORY=C:\Program Files\Dev-Cpp"
I don't know the Dev-Cpp directory structure, but I would assume you need something like -sMINGW_ROOT_DIRECTORY=C:\Program Files\Dev-Cpp\mingw Jonathan
after adding "C:\Program Files\Dev-Cpp\bin" to PATH, you can just use as
following:
bjam "-sTOOLS=mingw" "--with-python-root=C:\Python24" install
to compile and install boost to default directory C:\Boost,
but if you want to install another directory, use:
bjam "--prefix=some\path\you\like" "-sTOOLS=mingw"
"--with-python-root=C:\Python24" install
-----Original Message-----
From: boost-users-bounces@lists.boost.org
[mailto:boost-users-bounces@lists.boost.org]On Behalf Of Jonathan
Turkanis
Sent: 2004年12月7日 8:35
To: boost-users@lists.boost.org
Subject: [Boost-users] Re: building boost with dev-cpp
"Katti Faceli"
I am trying to build boost 1.32.0 with dev-cpp.
I am employing the command line: bjam "-sTOOLS=mingw" "--with-python-root=C:\Python24" "-sMINGW_ROOT_DIRECTORY=C:\Program Files\Dev-Cpp"
I don't know the Dev-Cpp directory structure, but I would assume you need something like -sMINGW_ROOT_DIRECTORY=C:\Program Files\Dev-Cpp\mingw Jonathan _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Jonathan Turkanis wrote:
"Katti Faceli"
wrote in message: I am trying to build boost 1.32.0 with dev-cpp.
I am employing the command line: bjam "-sTOOLS=mingw" "--with-python-root=C:\Python24" "-sMINGW_ROOT_DIRECTORY=C:\Program Files\Dev-Cpp"
I don't know the Dev-Cpp directory structure, but I would assume you need something like
-sMINGW_ROOT_DIRECTORY=C:\Program Files\Dev-Cpp\mingw
Dev-cpp has an include subdirectory so that's not the problem, after all it's supposed to search the system headers without any intervention. The problem is known issue with mingw in that it doesn't handle quoted arguments correctly and breaks at the spaces. (if I remember correctly) You can "solve" the problem by installing dev-cpp in a path without spaces in it, like c:\dev-cpp. -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq
Dev-cpp has an include subdirectory so that's not the problem, after all it's supposed to search the system headers without any intervention.
The problem is known issue with mingw in that it doesn't handle quoted arguments correctly and breaks at the spaces. (if I remember correctly) You can "solve" the problem by installing dev-cpp in a path without spaces in it, like c:\dev-cpp.
I install dev-cpp in the path c:\dev-cpp. It works better. Now I got the messages: ... FileClone C:\Boost\include\boost-1_32\boost\variant\detail\variant_io.hpp FileClone C:\Boost\include\boost-1_32\boost\variant\detail\visitation_impl.hpp ...failed updating 80 targets... ...skipped 24 targets... ...updated 3360 targets... I am building with: bjam -sTOOLS=mingw -sMINGW_ROOT_DIRECTORY=C:\Dev-Cpp install Most of the libraries were built, but now I am trying to compile the filesystem example "simple_ls.cpp" and I am getting undefined references linking errors: [Linker error] undefined reference to `boost::filesystem::initial_path()' [Linker error] undefined reference to `boost::filesystem::native(std::string const&)' [Linker error] undefined reference to `boost::filesystem::path::path(char const*, bool (*)(std::string const&))' ... What is wrong now? Katti
participants (4)
-
Jonathan Turkanis
-
Katti Faceli
-
Rene Rivera
-
youngs