[opensource-dev] Using Boost & the viewer
CJ Davies
cjohndavies at gmail.com
Thu Jul 12 04:09:49 PDT 2012
I'm trying to get the viewer to read data from an Arduino via serial
(long story...). I'm using Boost for this.
So far I have changed the Boost prebuilt in autobuild.xml to this one
after a conversation with LightDrake on #opensl on freenode;
https://bitbucket.org/LightDrake/public-libs/downloads/boost-1.45.0-linux-20120213.tar.bz2
then added a boost_thread line to indra/cmake/Boost.cmake & added
${BOOST_SYSTEM_LIBRARY} & ${BOOST_THREAD_LIBRARY} to
indra/newview/CMakeLists.txt.
This allows the .h & .cpp files that implement the serial functionality
to be added to the build & successfully built, however when I try to
include one of these header files in llviewerjoystick.h the build fails
spectacularly.
This is the file that I am trying to #include in llviewerjoystick.h -->
http://paste2.org/p/2071086
This is the output of the build --> http://paste2.org/p/2071087
I assume there isn't actually anything wrong with the code & I'm just
still missing part of Boost that I need. Can anybody help me identify this?
Regards,
CJ Davies
More information about the opensource-dev
mailing list