building boost libraries

This is a discussion on building boost libraries within the C++ Programming forums, part of the General Programming Boards category; Hello Im trying to build LUAbind which needs boost library and can be built using bjam. The documentation says: Set ...

  1. #1
    l2u
    l2u is offline
    Registered User
    Join Date
    May 2006
    Posts
    630

    building boost libraries

    Hello

    Im trying to build LUAbind which needs boost library and can be built using bjam.

    The documentation says:

    Set the following environmental variables:
    BOOST_ROOT - path where boost 1.32 is installed
    LUA_PATH - where lua 5 is installed (and built)

    How do I set those environmental variables?
    I always have problems with building libraries..

    Thanks for help

  2. #2
    Registered User hk_mp5kpdw's Avatar
    Join Date
    Jan 2002
    Location
    Northern Virginia/Washington DC Metropolitan Area
    Posts
    3,798
    One way (on a Windows XP machine) is: Right click on My Computer->Properties->Advanced tab->Environment Variables->New then type in the data there.
    "Owners of dogs will have noticed that, if you provide them with food and water and shelter and affection, they will think you are god. Whereas owners of cats are compelled to realize that, if you provide them with food and water and shelter and affection, they draw the conclusion that they are gods."
    -Christopher Hitchens

  3. #3
    l2u
    l2u is offline
    Registered User
    Join Date
    May 2006
    Posts
    630
    What if I want to compile it from comand prompt using bjam? Like boost libraries?

    The same way?

  4. #4
    ZuK
    ZuK is offline
    Registered User
    Join Date
    Aug 2005
    Location
    Austria
    Posts
    1,990
    something like this
    Code:
    set BOOST_ROOT=C:\path\to\boost
    set LUA_PATH=C:\path\to\lua
    bjam
    Kurt

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. boost building troubles
    By Darkinyuasha1 in forum C++ Programming
    Replies: 8
    Last Post: 07-01-2008, 09:50 PM
  2. building boost iostreams
    By l2u in forum C++ Programming
    Replies: 3
    Last Post: 04-14-2007, 02:29 PM
  3. Building with libraries
    By Opel_Corsa in forum C++ Programming
    Replies: 5
    Last Post: 01-22-2007, 09:50 PM
  4. Building boost
    By Mario F. in forum Tech Board
    Replies: 8
    Last Post: 06-28-2006, 08:40 PM
  5. instaling boost libraries
    By whackaxe in forum C++ Programming
    Replies: 2
    Last Post: 06-04-2004, 09:33 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21