How to compile boost in Borland c++ Builder 6
As subject says - I am in need of information about on how to compile boost in Borland c++ Builder 6 on operation system Windows XP. I have been searching everywhere, instructions are either too complicated or badly written - in any case I still havent found the answer. I hope you'll help me, I'm realy stuck and you guys are probably my last resort. Looking forward to answers or hints, cheers.
pes nemarn wrote:
As subject says - I am in need of information about on how to compile boost in Borland c++ Builder 6 on operation system Windows XP. I have been searching everywhere, instructions are either too complicated or badly written - in any case I still havent found the answer. I hope you'll help me, I'm realy stuck and you guys are probably my last resort.
bjam -sTOOLS=borland Russell
As subject says - I am in need of information about on how to compile boost in Borland c++ Builder 6 on operation system Windows XP. I have been searching everywhere, instructions are either too complicated or badly written - in any case I still havent found the answer. I hope you'll help me, I'm realy stuck and you guys are probably my last resort.
Please follow the getting started guide: http://www.boost.org/more/getting_started.html The toolset you need to use is "borland", so as someone else suggested, you really just need to do a : bjam -sTOOLS=borland stage or bjam -sTOOLS=borland install depending on where you want the binaries to end up. John.
oky but when i compile it i still get
failed updating 104 targets, skipped 168 targets, updated 2 targets...
And when i try to compile a program using boost i get: Mixing a dll doost
library with a static runtime is a really bed idea...
I am using multi threading in borlands compiler.
Does anyone have any idea what could be wrong?
Rayman2
----- Original Message -----
From: "John Maddock"
As subject says - I am in need of information about on how to compile boost in Borland c++ Builder 6 on operation system Windows XP. I have been searching everywhere, instructions are either too complicated or badly written - in any case I still havent found the answer. I hope you'll help me, I'm realy stuck and you guys are probably my last resort.
Please follow the getting started guide: http://www.boost.org/more/getting_started.html
The toolset you need to use is "borland", so as someone else suggested, you really just need to do a :
bjam -sTOOLS=borland stage
or
bjam -sTOOLS=borland install
depending on where you want the binaries to end up.
John.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
You need to compile your project using dynamic RTL. To do this, in the Borland IDE select the project, then Options. On the Linker tab tick the "Use dynamic RTL" checkbox. Depending on which version of Boost you are using, some libraries won't compile. For v1.33.0 you might like to exclude Wave since that won't compile:
bjam -sTOOLS=Borland --without-wave stage
The filesystem library will complain about generating a dynamic link
library as it's not supported for this compiler: you'll have to ignore
that. You can stil use filesystem though.
Check also that you have got Spirit v 1.6.x as the version shipped with
recent Boost won't compile. See instructions here:
http://www.boost.org/libs/serialization/doc/release.html
You may also need to replace spirit.hpp in your Boost include directory.
Richard
On Wed, 23 Nov 2005 19:29:18 -0000, pivk
oky but when i compile it i still get
failed updating 104 targets, skipped 168 targets, updated 2 targets...
And when i try to compile a program using boost i get: Mixing a dll doost library with a static runtime is a really bed idea...
I am using multi threading in borlands compiler.
Does anyone have any idea what could be wrong?
Rayman2
----- Original Message -----
From: "Richard Jennings"
You need to compile your project using dynamic RTL. To do this, in the Borland IDE select the project, then Options. On the Linker tab tick the "Use dynamic RTL" checkbox.
Depending on which version of Boost you are using, some libraries won't compile. For v1.33.0 you might like to exclude Wave since that won't compile:
bjam -sTOOLS=Borland --without-wave stage
The filesystem library will complain about generating a dynamic link library as it's not supported for this compiler: you'll have to ignore that. You can stil use filesystem though.
Check also that you have got Spirit v 1.6.x as the version shipped with recent Boost won't compile. See instructions here: http://www.boost.org/libs/serialization/doc/release.html
You may also need to replace spirit.hpp in your Boost include directory.
Richard
On Wed, 23 Nov 2005 19:29:18 -0000, pivk
wrote: oky but when i compile it i still get
failed updating 104 targets, skipped 168 targets, updated 2 targets...
And when i try to compile a program using boost i get: Mixing a dll doost library with a static runtime is a really bed idea...
I am using multi threading in borlands compiler.
Does anyone have any idea what could be wrong?
Rayman2
Thanks now it is working :D but now i am getting error Miltiple declaration
for 'element
Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Thanks now it is working :D but now i am getting error Miltiple declaration for 'element
' (line 156 in tuple_basic.hpp) and Eariler declaration of 'element '(line 141 in tuple_basic.hpp) Any idea?
The tuple tests all work for me with Borland 5.5.1 and 5.6.4, so I'm confused, are you using a weird Borland C++ version? Unpatched maybe? What does __BORLANDC__ report: it should be 0x564. John.
----- Original Message -----
From: "John Maddock"
Thanks now it is working :D but now i am getting error Miltiple declaration for 'element
' (line 156 in tuple_basic.hpp) and Eariler declaration of 'element '(line 141 in tuple_basic.hpp) Any idea?
The tuple tests all work for me with Borland 5.5.1 and 5.6.4, so I'm confused, are you using a weird Borland C++ version? Unpatched maybe? What does __BORLANDC__ report: it should be 0x564.
John.
i am using borland c++ 6 builder, i downloaded it from www.borland.com some trial version. _______________________________________________
Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
oky thanks i will try too find it :S but that wont be easy because i am
using cracked version :S
thanx again
LP
----- Original Message -----
From: "John Maddock"
i am using borland c++ 6 builder, i downloaded it from www.borland.com some trial version.
It's probably the unpatched version then: if you buy the full product be sure to register and get Update 4, without it the compiler is rather broken as far as Boost is concerned.
John.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
when i am trying to link my project i get Build [Linker Fatal Error] Fatal: Unable to open file 'LIBBOOST_DATE_TIME-BCB-MT-1_33.LIB' and idea what could be wrong? does anyone have this file? can someone send it to luka.pivk[at]gmail.com LP
pivk wrote:
Build [Linker Fatal Error] Fatal: Unable to open file 'LIBBOOST_DATE_TIME-BCB-MT-1_33.LIB'
and idea what could be wrong?
does anyone have this file?
It was build by the 'bjam' process. Its final location depends on whether you specified 'install' or 'stage' when invoking bjam. You need to add the folder where this file is located to the lib paths (under directories/conditionals in project options). Cheers Russell
yes but there is a problem that i dont have this file ::S
LP
----- Original Message -----
From: "Russell Hind"
pivk wrote:
Build [Linker Fatal Error] Fatal: Unable to open file 'LIBBOOST_DATE_TIME-BCB-MT-1_33.LIB'
and idea what could be wrong?
does anyone have this file?
It was build by the 'bjam' process. Its final location depends on whether you specified 'install' or 'stage' when invoking bjam.
You need to add the folder where this file is located to the lib paths (under directories/conditionals in project options).
Cheers
Russell
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
At 09:32 2005-11-25, pivk wrote:
yes but there is a problem that i dont have this file ::S
did you build the boost libraries? if so, how did you do it?
LP ----- Original Message ----- From: "Russell Hind"
To: Sent: Friday, November 25, 2005 5:31 PM Subject: Re: [Boost-users] LIBBOOST_DATE_TIME-BCB-MT-1_33.LIB pivk wrote:
Build [Linker Fatal Error] Fatal: Unable to open file 'LIBBOOST_DATE_TIME-BCB-MT-1_33.LIB'
and idea what could be wrong?
does anyone have this file?
It was build by the 'bjam' process. Its final location depends on whether you specified 'install' or 'stage' when invoking bjam.
You need to add the folder where this file is located to the lib paths (under directories/conditionals in project options).
Cheers
Russell
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"
first i builded boostjam and then bjam -sTOOLS="borland" install..
----- Original Message -----
From: "Victor A. Wagner Jr."
At 09:32 2005-11-25, pivk wrote:
yes but there is a problem that i dont have this file ::S
did you build the boost libraries? if so, how did you do it?
LP ----- Original Message ----- From: "Russell Hind"
To: Sent: Friday, November 25, 2005 5:31 PM Subject: Re: [Boost-users] LIBBOOST_DATE_TIME-BCB-MT-1_33.LIB pivk wrote:
Build [Linker Fatal Error] Fatal: Unable to open file 'LIBBOOST_DATE_TIME-BCB-MT-1_33.LIB'
and idea what could be wrong?
does anyone have this file?
It was build by the 'bjam' process. Its final location depends on whether you specified 'install' or 'stage' when invoking bjam.
You need to add the folder where this file is located to the lib paths (under directories/conditionals in project options).
Cheers
Russell
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
At 10:56 2005-11-25, pivk wrote:
first i builded boostjam and then bjam -sTOOLS="borland" install..
I'm not up on the borland products, I note that there are some other tools files for borland: borland-5_5_1-tools.jam borland-5_6_4-tools.jam perhaps one of those would be more appropriate
----- Original Message ----- From: "Victor A. Wagner Jr."
To: ; Sent: Friday, November 25, 2005 6:47 PM Subject: Re: [Boost-users] LIBBOOST_DATE_TIME-BCB-MT-1_33.LIB At 09:32 2005-11-25, pivk wrote:
yes but there is a problem that i dont have this file ::S
did you build the boost libraries? if so, how did you do it?
[deleted] Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"
Victor A. Wagner Jr. wrote:
At 10:56 2005-11-25, pivk wrote:
first i builded boostjam and then bjam -sTOOLS="borland" install..
I'm not up on the borland products, I note that there are some other tools files for borland: borland-5_5_1-tools.jam borland-5_6_4-tools.jam
I think it automatically picks up the correct 1. I just use bjam -sTOOLs="borland" stage That puts them in the boost/stage folder. I think install may create a folder in the root of C and put them in there. You'll have to look around or read the instructions on the getting started page as to where the files will be done. But the whole point of building boost using bjam is to generate these lib files, so if you've built it correctly, then you have them. I you don't have them, you haven't built it correctly. Cheers Russell
failed updating 104 targets, skipped 168 targets, updated 2 targets...
Which targets? I suspect Borland's compiler is too broken to compile all of Boost.
And when i try to compile a program using boost i get: Mixing a dll doost library with a static runtime is a really bed idea...
It is. If you want to use Boost as a dll then YOU MUST USE A DLL RUNTIME, this is a general compiler requirement, not a Boost one. Select a dll runtime from the C++ Builder IDE. However: my understanding is that TeamB recomend static linking under all curcumstances for this compiler, so you want to switch to use static Boost libs. John.
participants (6)
-
John Maddock
-
pes nemarn
-
pivk
-
Richard Jennings
-
Russell Hind
-
Victor A. Wagner Jr.