> g++ -pipe -Wno-multichar -Wno-write-strings -fno-enforce-eh-specs -s -O3
> -ffast-math -march=native -pthread -L/usr/lib -L/usr/lib -o povray disp_sdl.o
> disp_text.o ../vfe/libvfe.a ../source/backend/libbackend.a
> .../source/frontend/libfrontend.a ../source/base/libbase.a ../source/libpovray.a
> -lSDL -L/usr/lib -lSDL -lSM -lICE -lX11 -ltiff -ljpeg -lpng -lz -lrt -lm
> -pthread
> .../vfe/libvfe.a(vfesession.o): In function `vfe::vfeSession::Shutdown(bool)':
> vfesession.cpp:(.text+0x4b9): undefined reference to `boost::thread::join()'
> vfesession.cpp:(.text+0x4cd): undefined reference to `boost::thread::~thread()'
Oops. Looks like I replied too fast and you're at the linking stage. Usually
boost libraries are in /usr/local/lib so add /usr/local/lib/libboost_thread.a at
the end like this:
g++ -pipe -Wno-multichar -Wno-write-strings -fno-enforce-eh-specs -s -O3
-ffast-math -march=native -pthread -L/usr/lib -L/usr/lib -o povray disp_sdl.o
disp_text.o ../vfe/libvfe.a ../source/backend/libbackend.a
../source/frontend/libfrontend.a ../source/base/libbase.a ../source/libpovray.a
/usr/local/lib/libboost_thread.a
Do this in the unix directory and out pops the povray executable.
Post a reply to this message
|