Boost logo

Boost :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2008-07-22 09:27:45


On 07/22/08 07:00, Larry Evans wrote:
> On 07/21/08 03:30, Stjepan Rajko wrote:
> [snip]
>> If you checkout
>> http://svn.boost.org/svn/boost/sandbox/SOC/2007/signals, and run bjam
>> in the signals/libs/dataflow/example/glv_gui/ directory it should
>> hopefully build the gui examples for you (you will need to have
>> BOOST_ROOT environment variable set, and GLUT/freeglut accessible).
> Apparently LD_LIBRARY_PATH or something similar also needs to be set:
>
> /home/evansl/prog_dev/boost-svn/ro/branches-proto-v4/sandbox/SOC-2007-signals/libs/glv/include/glv_behavior.h:20:
> warning: 'bool glv::Behavior::mouseResize(glv::View*, glv::GLV&)'
> defined but not used
> gcc.link
> ../../../../bin.v2/libs/dataflow/example/glv_gui/gcc-4.1/debug/glv_graph
> /usr/bin/ld: cannot find -lGL
> collect2: ld returned 1 exit status

Apparently that's not the only library that's missing in my setup.
Using `bjam -n` to get the actual link command line, I found it contained:

  -Wl,-Bstatic -lpthread -lGLU -lGL -lglut -lXv -lXext -lXaw7 -lX11-xcb
-lX11

so, I rm'ed the -lGL and then got:

/usr/bin/ld: cannot find -lXv

So...what is required to get the link command to work? IOW, there
must be something in my environment that I need to modify to
get the bjam to find the libraries needed by these examples.
What are those requirements?

-TIA

-Larry


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk