Hello, I'm a new Boost user and I need to install it (v. 1.30.0) under Windows 2000, with Borland C++ Builder 6. I've succeed in correctly installing and using it under linux, but I couldn't install it under Windows. I downloaded and unpacked boost_1_30_0.zip. I set the following variables: BOOST_ROOT=d:\proyect\boost_1_30_0 TOOLS=borland BCCROOT=c:\archiv~1\borland\cbuilder6 PYTHON_ROOT=c:\win\python I compiled bjam.exe by running tools\build\jam_scr\build.bat, and put it somewhere in the path. (but I also tried downloading a precompiled version) I run bjam from the boost_1_30_0 directory and the following message appeared: /****************************************************/ /****************************************************/ ...found 5339 targets... ...updating 573 targets... borland-C++-action libs\python\build\bin\boost_python.dll\borland\debug\runtime-link-dynamic\numeric.obj libs\python\build\../src\numeric.cpp: Error E2401 D:\project\boost_1_30_0\boost/python/object/inheritance.hpp 69: Invalid template argument list Error E2040 D:\project\boost_1_30_0\boost/python/object/inheritance.hpp 69: Declaration terminated incorrectly Error E2231 D:\project\boost_1_30_0\boost/python/object/inheritance.hpp 130: Member cast_generator<Source,Target>::is_upcast cannot be used without an object Error E2401 D:\project\boost_1_30_0\boost/python/object/inheritance.hpp 131: Invalid template argument list Error E2040 D:\project\boost_1_30_0\boost/python/object/inheritance.hpp 132: Declaration terminated incorrectly Error E2228 D:\project\boost_1_30_0\boost/python/object/inheritance.hpp 132: Too many error or warning messages *** 6 errors in Compile *** /****************************************************/ /****************************************************/ For the moment I just need ublas and random libraries, I need boost in order to compile another library which use it, called Bayes++. I wil be very grateful if someone could help me, and I'm sorry for the length of the mail. Regards, Matías ___________________________________________________ Yahoo! Messenger - Nueva versión GRATIS Super Webcam, voz, caritas animadas, y más... http://messenger.yahoo.es
Matías Nicolás Bossa <kiske_delsir@yahoo.com.ar> writes:
Hello,
I'm a new Boost user and I need to install it (v. 1.30.0) under Windows 2000, with Borland C++ Builder 6. I've succeed in correctly installing and using it under linux, but I couldn't install it under Windows.
I downloaded and unpacked boost_1_30_0.zip. I set the following variables:
BOOST_ROOT=d:\proyect\boost_1_30_0 TOOLS=borland BCCROOT=c:\archiv~1\borland\cbuilder6 PYTHON_ROOT=c:\win\python
I compiled bjam.exe by running tools\build\jam_scr\build.bat, and put it somewhere in the path. (but I also tried downloading a precompiled version)
I run bjam from the boost_1_30_0 directory and the following message appeared:
/****************************************************/ /****************************************************/
...found 5339 targets... ...updating 573 targets... borland-C++-action libs\python\build\bin\boost_python.dll\borland\debug\runtime-link-dynamic\numeric.obj libs\python\build\../src\numeric.cpp: Error E2401 D:\project\boost_1_30_0\boost/python/object/inheritance.hpp 69: Invalid template argument list Error E2040 D:\project\boost_1_30_0\boost/python/object/inheritance.hpp 69: Declaration terminated incorrectly Error E2231 D:\project\boost_1_30_0\boost/python/object/inheritance.hpp 130: Member cast_generator<Source,Target>::is_upcast cannot be used without an object Error E2401 D:\project\boost_1_30_0\boost/python/object/inheritance.hpp 131: Invalid template argument list Error E2040 D:\project\boost_1_30_0\boost/python/object/inheritance.hpp 132: Declaration terminated incorrectly Error E2228 D:\project\boost_1_30_0\boost/python/object/inheritance.hpp 132: Too many error or warning messages *** 6 errors in Compile ***
Boost.Python is not compatible with Broken^H^H^H^H^Horland C++.
/****************************************************/ /****************************************************/
For the moment I just need ublas and random libraries,
Then I think you can just ignore those errors.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
--- David Abrahams <dave@boost-consulting.com> escribió: ---------------------------------
Matías Nicolás Bossa <kiske_delsir@yahoo.com.ar> writes:
For the moment I just need ublas and random libraries,
Then I think you can just ignore those errors.
Ok, I had done it, but when I've tried to compile the other library (bayes++), after setting BAYES_ROOT=d:\project\bayes++ and all the others variables, bjam gave errors like these: /************************************************/ ...found 2806 targets... ...updating 38 targets... borland-C++-action target\BayesFilter\bin\libBayesFilter.lib\borland\debug\runtime-link-dynamic\bayesFlt.obj BayesFilter\bayesFlt.cpp: Error E2299 BayesFilter\uBLASmatrix.hpp 117: Cannot generate template specialization from 'boost::numeric::ublas::matrix_row<M>' Error E2040 BayesFilter\uBLASmatrix.hpp 117: Declaration terminated incorrectly Error E2299 BayesFilter\uBLASmatrix.hpp 118: Cannot generate template specialization from 'boost::numeric::ublas::matrix_row<M>' Error E2040 BayesFilter\uBLASmatrix.hpp 118: Declaration terminated incorrectly Error E2299 BayesFilter\uBLASmatrix.hpp 119: Cannot generate template specialization from 'boost::numeric::ublas::matrix_column<M>' Error E2228 BayesFilter\uBLASmatrix.hpp 119: Too many error or warning messages *** 6 errors in Compile *** /************************************************/ I guess that is missing some variable that needs bjam, but I couldn't find which, Matías ___________________________________________________ Yahoo! Messenger - Nueva versión GRATIS Super Webcam, voz, caritas animadas, y más... http://messenger.yahoo.es
Matías Nicolás Bossa <kiske_delsir@yahoo.com.ar> writes:
Ok, I had done it, but when I've tried to compile the other library (bayes++), after setting
BAYES_ROOT=d:\project\bayes++
and all the others variables, bjam gave errors like these:
/************************************************/
...found 2806 targets... ...updating 38 targets... borland-C++-action target\BayesFilter\bin\libBayesFilter.lib\borland\debug\runtime-link-dynamic\bayesFlt.obj BayesFilter\bayesFlt.cpp: Error E2299 BayesFilter\uBLASmatrix.hpp 117: Cannot generate template specialization from 'boost::numeric::ublas::matrix_row<M>' Error E2040 BayesFilter\uBLASmatrix.hpp 117: Declaration terminated incorrectly Error E2299 BayesFilter\uBLASmatrix.hpp 118: Cannot generate template specialization from 'boost::numeric::ublas::matrix_row<M>' Error E2040 BayesFilter\uBLASmatrix.hpp 118: Declaration terminated incorrectly Error E2299 BayesFilter\uBLASmatrix.hpp 119: Cannot generate template specialization from 'boost::numeric::ublas::matrix_column<M>' Error E2228 BayesFilter\uBLASmatrix.hpp 119: Too many error or warning messages *** 6 errors in Compile ***
/************************************************/
I guess that is missing some variable that needs bjam, but I couldn't find which,
Well, you should probably be asking the Bayes++ people, but first, are you sure Bayes++ and uBlas work with Borland? -- Dave Abrahams Boost Consulting www.boost-consulting.com
participants (2)
-
David Abrahams
-
Matías Nicolás Bossa