Thread: Boost Blues

  1. #1
    Kiss the monkey. CodeMonkey's Avatar
    Join Date
    Sep 2001
    Posts
    937

    Boost Blues

    Hi all,

    So, my days with the Boost library begin. I installed BoostPro's free binaries package shindig for my compiler (MSVC++9). Now, the header-only libraries work. The path is set up correctly. However, if I write an empty program that includes <boost/thread.hpp>, I receive a linking error:
    Code:
    LINK : fatal error LNK1104: cannot open file 'libboost_thread-vc90-mt-1_36.lib'
    That file is in boost/lib. I can see it. I extended the path into lib, but the compiler still can't seem to find it. Either that or it just can't open it. What might the problem be?

    Thanks.
    "If you tell the truth, you don't have to remember anything"
    -Mark Twain

  2. #2
    Registered User
    Join Date
    Nov 2006
    Posts
    519
    -try to open the file with a text editor yourself
    -check the properties of your project under "Linker" / "command line". Is the path really there and pointing to the right folder?

  3. #3
    Kiss the monkey. CodeMonkey's Avatar
    Join Date
    Sep 2001
    Posts
    937
    -looks fine
    -Ah. There it is. It won't look for libraries where the includes are, duh. Thanks.
    "If you tell the truth, you don't have to remember anything"
    -Mark Twain

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Boost Auto-Linking
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 12-30-2007, 06:11 AM
  2. Replies: 2
    Last Post: 12-12-2007, 06:45 AM
  3. Boost and Size
    By CrazyNorman in forum C++ Programming
    Replies: 3
    Last Post: 07-13-2007, 12:07 PM
  4. building boost iostreams
    By l2u in forum C++ Programming
    Replies: 3
    Last Post: 04-14-2007, 02:29 PM
  5. Integrating Boost with STLPort
    By Mario F. in forum Tech Board
    Replies: 1
    Last Post: 11-11-2006, 06:49 AM