Hi, downloaded the two zip files boost_1_36_0.zip & boost-jam-3.1.16 but searched and can't find a straight forward instruction on how to install them .. Please help ...
Hi, downloaded the two zip files boost_1_36_0.zip & boost-jam-3.1.16 but searched and can't find a straight forward instruction on how to install them .. Please help ...
Well . . . pretty much the same way you'd install any other library, I should imagine.
http://www-eleves-isia.cma.fr/docume.../download.htmlInstallation
Boost does not yet have a standardized installation process. There has been some interest in developing one; as of this writing Bill Kempf has volunteered to coordinate and is gathering volunteers. If you have expertise in this area (particularly cross-platform expertise), and you would like to contribute, please announce your availability on the Boost Install mailing list.
That said, preparing to use Boost in a development project is relatively straightforward. Most boost libraries are implemented entirely within their header files. The only preparation for their use is to add the boost root directory to your compiler's list of #include<...> search paths. For example, using Windows 2000, if you have unzipped release 1.28.0 from boost_all.zip into the top level directory of your C drive, adding '-Ic:/boost_1_28_0' to the command line of most compilers is sufficient.
Basically, if you have a pre-compiled version, extract the archive, and either modify your project settings to use boost, or copy boost into your compiler's include/lib directories.
If you downloaded the source version, you'll have to compile it first. That might be a bit harder, and will certainly take a long time. I suggested getting a pre-compiled version if possible.
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.
jam is the build system used to build boost, or so I gather. It will let you compile boost, if you downloaded the source form of boost. If not, you probably won't need it just yet (unless/until you start using jam yourself).
One minute, I'm trying to download boost myself here so I can see what needs doing . . . .
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.
Boost has these folders : boost, doc, libs, more, people, status, tools, and wiki
jam has build.bat which i think might be doing the job for me ...
Try it, see what happens.
[edit] Nah, don't wait until tomorrow . . . [/edit]
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.
And you get that error when you do what, exactly? Did you add the folders to your include path in your compiler/IDE?
You know the boost folder in the boost*.zip archive? Copy that into C:\Dev-C++\include, so that include\boost\regex.hpp exists. Assuming you're using Dev-C++. But it should be the same for most compilers. (Assuming the boost folder in question does actually contain a "regex.hpp".)
I can't open the downloaded boost at the moment, unfortunately.
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.
This version. http://sourceforge.net/project/showf...ease_id=619445
You don't want an "include" folder. You want to copy the "boost" folder in the boost archive into the "include" folder of your compiler. (I just checked, and it is indeed the folder you want.)
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.
You mean copy everything from/inside but excluding the folder boost to the root f include? Boost contains many folders and .hpp files ..
Oh! I copied bjam.exe to where i extracted boost files [root flder]. Ran the file, now its taking 7years to finish whatever its doing ..compiling and stuff
Well, that works too.
What I and tabstop meant was to copy the boost folder itself, not the contents thereof, into the include directory. That way, include\boost\regex.hpp exists, as I mentioned. [edit] And all of the sub-directories of the boost folder, too. You want include\boost\random\* to exist, too. [/edit]
You don't want to populate your include directory with dozens of boost files. It makes more sense to put all of the boost-related files in one directory, does it not?
You'll probably end up copying the folder there, anyway. Unless you want to add a -I or whatever to your project options for every program that you write that uses boost . . . .
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.