Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8604657
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T02:37:43+00:00 2026-06-12T02:37:43+00:00

I am trying to link against boost libraries from Jamfile: import os ; path-constant

  • 0

I am trying to link against boost libraries from Jamfile:

import os ;
path-constant BOOST_ROOT : [ os.environ BOOST_ROOT ] ;
use-project /boost : $(BOOST_ROOT) ;

exe hello :
            hello.cpp
            /boost//filesystem
            /boost//system
          :
            <link>static
          ;

Although I can see from the console output that the libraries are compiled, the linker outputs an error:

msvc.link bin\msvc-10.0\debug\link-static\hello.exe
LINK : fatal error LNK1104: cannot open file 'libboost_filesystem-vc100-mt-gd-1_46.lib'

Why there is an error reported? I AM linking against the library from the level of Jamfile, so why the library is not linked when it should be? To my understanding, if the entire build process is controlled by Jamfiles, the library should be automatically linked statically, and no compiler-specific flags should be added (as it would made Jamfiles less portable). Please help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T02:37:44+00:00Added an answer on June 12, 2026 at 2:37 am

    You are probably having problems with boost’s auto link feature. You can disable it by defining BOOST_ALL_NO_LIB (I suppose adding <define>BOOST_ALL_NO_LIB to the requirements of the target hello would suffice).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to make my autotools project in C++ link against library, that
I've got a project which links against various common libraries, as well as Boost.
I'm stumped trying to link the SDL libraries against a new C++ Win32 Console
I'm tryin to use boost threads on mingw (TDM-mingw, 32bit based on gcc4.6) from
I've been trying to statically link against a C++ library called Poco on Windows
I'm trying to link my XPCOM extension against the 1.9.3a3pre SDK and I get
Background Hi All, I'm trying to use Boost::MPI, at the moment I'm just trying
I am trying to use a php script to only show a link, when
I'm attempting to link a program against ogre and a few other libraries on
I am trying to link against the libconfig++ library using cmake. I installed the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.