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:
>> 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:
> warning: 'bool glv::Behavior::mouseResize(glv::View*, glv::GLV&)'
> defined but not used
> /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
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?