Moderator: coordinators
haraldthi wrote:Next problem: boost

Dade wrote:haraldthi wrote:Next problem: boost
You could try to add a:
ADD_DEFINITIONS(-DBOOST_FILESYSTEM_VERSION=2)
like in: http://src.luxrender.net/lux/file/914f1 ... cmake#l154
I guess 1.48 uses the new BOOST_FILESYSTEM.
haraldthi wrote:[ 52%] Building CXX object samples/smallluxgpu/CMakeFiles/slg.dir/displayfunc.cpp.o
In file included from /home/harald/src/luxrender/luxrays/samples/smallluxgpu/smalllux.h:43:0,
from /home/harald/src/luxrender/luxrays/samples/smallluxgpu/slgscene.h:29,
from /home/harald/src/luxrender/luxrays/samples/smallluxgpu/renderconfig.h:27,
from /home/harald/src/luxrender/luxrays/samples/smallluxgpu/displayfunc.cpp:40:
/home/harald/src/luxrender/luxrays/include/luxrays/utils/core/atomic.h: In function ‘void luxrays::AtomicAdd(float*, float)’:
/home/harald/src/luxrender/luxrays/include/luxrays/utils/core/atomic.h:46:32: error: ‘boost::interprocess::detail’ has not been declared
/home/harald/src/luxrender/luxrays/include/luxrays/utils/core/atomic.h: In function ‘void luxrays::AtomicAdd(unsigned int*, unsigned int)’:
/home/harald/src/luxrender/luxrays/include/luxrays/utils/core/atomic.h:60:23: error: ‘boost::interprocess::detail’ has not been declared
/home/harald/src/luxrender/luxrays/include/luxrays/utils/core/atomic.h: In function ‘void luxrays::AtomicInc(unsigned int*)’:
/home/harald/src/luxrender/luxrays/include/luxrays/utils/core/atomic.h:65:23: error: ‘boost::interprocess::detail’ has not been declared
make[2]: *** [samples/smallluxgpu/CMakeFiles/slg.dir/displayfunc.cpp.o] Error 1
make[1]: *** [samples/smallluxgpu/CMakeFiles/slg.dir/all] Error 2
make: *** [all] Error 2
which actually is a bit further. (I didn't notice that!) (The dwarwes «off we go»-song from Disneys «Snow white»...)


jeanphi wrote:When using Boost 1.48 or newer, boost::interprocess::detail has been renamed to boost::interprocess::ipcdetail, you need to change every occurence in the source and it then works flawlessly.


Return to Compilation & Portability
Users browsing this forum: Bing [Bot] and 0 guests