473,395 Members | 1,791 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Does boost required some additional libraries???

I've try to compile simple program which uses boost::program_options
and got error like this:

LINK : fatal error LNK1104: cannot open file
'libboost_program_options-vc7-mt-s-1_32.lib'

I was suprised, because always think that boost doesn't require any
library, it uses templates, doesn't it?

Maybe it is program_options error? Please help.

Jul 23 '05 #1
5 2074
No you probably haven't build all the libraries..

"SnaiL" <sn***@btobits.com> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
I've try to compile simple program which uses boost::program_options
and got error like this:

LINK : fatal error LNK1104: cannot open file
'libboost_program_options-vc7-mt-s-1_32.lib'

I was suprised, because always think that boost doesn't require any
library, it uses templates, doesn't it?

Maybe it is program_options error? Please help.

Jul 23 '05 #2

Jesper Madsen wrote:
No you probably haven't build all the libraries..


Oh, I should build something myself? Could you please explain me how
can I do it or give a link to documentation?

Thx.

Jul 23 '05 #3
There is a build documentation on www.boost.org it is a bit complicated, but
just take it step by step...

"SnaiL" <sn***@btobits.com> wrote in message
news:11**********************@l41g2000cwc.googlegr oups.com...

Jesper Madsen wrote:
No you probably haven't build all the libraries..


Oh, I should build something myself? Could you please explain me how
can I do it or give a link to documentation?

Thx.

Jul 23 '05 #4
"Jesper Madsen" <ba***@mail.stofanet.dk> wrote in message
news:42*********************@nntp05.dk.telia.net.. .
There is a build documentation on www.boost.org it is a bit complicated, but
just take it step by step...


Please stop top-posting.

- JFA1
Jul 23 '05 #5
SnaiL wrote:
Jesper Madsen wrote:
No you probably haven't build all the libraries..

Oh, I should build something myself? Could you please explain me how
can I do it or give a link to documentation?

Thx.


If your operating system doesn't already have the dev-packages, you have
to get the sources and build them using bjam, that's boost's homebrew
equivalent to GNU make.
You can then automatically build and install it from the sources using e.g.:

bjam "-sTOOLS=gcc" install

whereas you should replace gcc with the compiler toolkit you use,
according to the table in the documentation.
This is all covered in detail here:
http://www.boost.org/more/getting_started.html

As to your original question: No, there are also boost libraries which
require compiled object code, not everything in boost is a template. An
example is the boost filesystem library.

This question should go to gmane.comp.lib.boost.user by the way, not here.

--
Matthias Kaeppler
Jul 23 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Manzanita | last post by:
Hi. I'm using boost::numerics::ublas to solve linear symmetric and hermitian systems (cholesky, qr, etc.). I'm aware that ublas only provide basic algebra operations (blas1, blas2 and blas3) so...
7
by: sbobrows | last post by:
{Whilst I think much of this is OT for this newsgroup, I think the issue of understanding diagnostics just about gets under the door. -mod} Hi, I'm a C++ newbie trying to use the Boost regex...
34
by: Guch Wu | last post by:
Boost has many terrific libraries. But I want to know whether they are ready for using in real projects. Which of them are mature enough, or just only in progress?
3
by: Andreas S. | last post by:
Hi, I don't any solution any more... I have written a small tool wich uses the boost library. It compiles fine, but I can't link it. I am on a Fedora Core 6 x86_64 system. The boost library is...
5
by: Seth | last post by:
I can't get this thing made for the life of me. I've gone through every step per the Boost website regarding using bjam. Nothing. Can anyone give any advice or are there pre-made boost hpps for...
9
by: Peter v. N. | last post by:
Hi all, First off: consider this to be a low priority thread! This may sound heretical: but I'd like to know what the community thinks about using Boost extensively in C++ projects (mainly...
0
by: Osiris | last post by:
My experiences with BOOST on Windows XP and Visual C++ 2005 I'm new to Python. I built software in more than ten other computer languages. I'm not sure if that is not a handicap, when reading...
85
by: g | last post by:
Hello, is there any library for C as Boost is for C++? thanks in advance,
7
by: BubbaT | last post by:
What is the best way to pick up Boost? Thanks BubbaT
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.