Thread: Extracting BOOST and JAM libraries VS2005

  1. #16
    Registered User
    Join Date
    Apr 2008
    Posts
    610
    Compiled now but link error

    Code:
    LNK1104: cannot open file 'libboost_regex-vc80-mt-gd-1_36.lib'

  2. #17
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    You need to find that file after you've built boost. Find it, and copy it into your compiler's "lib" directory.

    Okay, good night.
    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.

  3. #18
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  4. #19
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    I knew there had to be a binary version out there somewhere . . .
    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.

  5. #20
    Registered User
    Join Date
    Apr 2008
    Posts
    610
    Quote Originally Posted by dwks View Post
    You need to find that file after you've built boost. Find it, and copy it into your compiler's "lib" directory.

    Okay, good night.
    I must have done something wrong because i olnly have this file

    libboost_system-vc90-mt-1_36

  6. #21
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    Quote Originally Posted by csonx_p View Post
    I must have done something wrong because i olnly have this file

    libboost_system-vc90-mt-1_36
    I assume this is a .lib file, and not a directory.

    Well, vc90 probably refers to the 9.0 version of visual studio (which I believe = 2008), while vc80 would refer to the 8.0 version (=2005), so that's a mismatch of some kind there. And did you build the regex portion of boost?

  7. #22
    Registered User
    Join Date
    Apr 2008
    Posts
    610
    Quote Originally Posted by tabstop View Post
    I assume this is a .lib file, and not a directory.

    Well, vc90 probably refers to the 9.0 version of visual studio (which I believe = 2008), while vc80 would refer to the 8.0 version (=2005), so that's a mismatch of some kind there. And did you build the regex portion of boost?
    This thing is giving me a headache, am about to lose it!!! Why does C++ becomes this difficult ... I downloaded the files indicated in the begging of this thread .. I don't know HOW TO configure this boost thingy!!!


    I ran the build.bat which created a bjam.exe file .. Then i copied the file to the boost 1.36 root folder ... Ran bjam.exe from there ... Took about 15-20min to finish compiling ... So, maybe in that process, it created a VC90 ver instead of VC80 .. i don't know really

    [EDIT] I have VS2005 standard & 2008 Express installed (free edition) [/EDIT]

  8. #23
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    Quote Originally Posted by csonx_p View Post
    This thing is giving me a headache, am about to lose it!!! Why does C++ becomes this difficult ... I downloaded the files indicated in the begging of this thread .. I don't know HOW TO configure this boost thingy!!!


    I ran the build.bat which created a bjam.exe file .. Then i copied the file to the boost 1.36 root folder ... Ran bjam.exe from there ... Took about 15-20min to finish compiling ... So, maybe in that process, it created a VC90 ver instead of VC80 .. i don't know really

    [EDIT] I have VS2005 standard & 2008 Express installed (free edition) [/EDIT]
    Did you read the getting started for windows document here? In particular, it says how to choose which compiler/version to use, and how to make sure boost.regex is built, and how to test it, etc.

  9. #24
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by csonx_p View Post
    This thing is giving me a headache, am about to lose it!!! Why does C++ becomes this difficult ... I downloaded the files indicated in the begging of this thread .. I don't know HOW TO configure this boost thingy!!!
    This is not the fault of C++, but rather a typical problem with linux/cross-platform stuff. No installer. You need to extract, configure, and all that manually.
    If it was Windows only, you'd bet there would be an installer already.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  10. #25
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    There is an installer. I have posted the link.

    As for Linux, it's as easy to install as any other package. Just use your distro's package manager.

    It's peculiar how you keep griping about Linux and cross platform programs' installers, when in my experience Linux works far better in this regard.
    Last edited by CornedBee; 09-05-2008 at 02:13 AM.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  11. #26
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Shrug. Only bad experiences from my side.
    And I have witnessed confusion and headaches typically arriving from non-Windows only distributions. Although, of course, not ALWAYS.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  12. #27
    Registered User
    Join Date
    Apr 2008
    Posts
    610
    this http://www.nabble.com/Boost.Regex-1....d19036160.html is a problem i get after 5 hours of building ... Now i have to fix it!!!

  13. #28
    Registered User
    Join Date
    Apr 2008
    Posts
    610
    Quote Originally Posted by csonx_p View Post
    this http://www.nabble.com/Boost.Regex-1....d19036160.html is a problem i get after 5 hours of building ... Now i have to fix it!!!
    These guys don't even say how to use the patch ... don't know where to start actually

  14. #29
    Registered User
    Join Date
    Dec 2007
    Posts
    2,675
    Five hours of building? Holy cow, are you building on a 8086?

    Did you notice they said this appeared to be the result of not having VS2005 SP1 installed? Maybe you need to install that?

  15. #30
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    It compiles on VC9 too, if I'm not mistaken.
    PLUS there are already finished libraries - and an installer, as CornedBee kindly pointed out!
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Why does boost jam build repeating libraries?
    By indigo0086 in forum Tech Board
    Replies: 0
    Last Post: 05-30-2007, 06:35 AM