From @johnfox on Tue May 02 2017 11:50:54 GMT+0000 (UTC)
Hi,
I’m trying to compile latest version 0.3 RC and the compilation fails on:
In file included from /usr/local/include/boost/atomic.hpp:12:0, from /usr/local/include/boost/thread/pthread/once_atomic.hpp:20, from /usr/local/include/boost/thread/once.hpp:20, from /usr/local/include/boost/thread.hpp:17, from /usr/include/pcl-1.7/pcl/io/boost.h:50, from /usr/include/pcl-1.7/pcl/io/file_io.h:43, from /usr/include/pcl-1.7/pcl/io/obj_io.h:42, from /home/fox/open_drone_map/modules/odm_orthophoto/src/OdmOrthoPhoto.hpp:9, from /home/fox/open_drone_map/modules/odm_orthophoto/src/OdmOrthoPhoto.cpp:7: /usr/local/include/boost/atomic/atomic.hpp:202:16: error: ‘uintptr_t’ was not declared in this scope typedef atomic<uintptr_t> atomic_uintptr_t; ^
And lot of similar errors like above.
I’m guessing this is boost library version problem - I’m sure I have latest, but would appreciate any help with compilation or any workaround to include right boost version.
Should I try on different Ubuntu version? I was following recommendation on the project home page saying Ununtu 14 is the right one
Cheers and thank you for great job.
Copied from original issue: https://github.com/OpenDroneMap/OpenDroneMap/issues/558