Intermodalics / tango_ros

ROS related software for Tango
Apache License 2.0
67 stars 22 forks source link

Missing header file (for Android API-Level > 20): asm/page.h #339

Open malteim opened 7 years ago

malteim commented 7 years ago

Workaround: Uncomment lines 28 to 30 in file tango_ros/third_party/roscpp_android_ndk/include/boost/thread/pthread/thread_data.hpp .

thread_data.hpp before

#include <map>
#include <vector>
#include <utility>

#if defined(__ANDROID__)
#include <asm/page.h> // http://code.google.com/p/android/issues/detail?id=39983
#endif

#include <pthread.h>
#include <unistd.h>

#include <boost/config/abi_prefix.hpp>

thread_data.hpp after

#include <map>
#include <vector>
#include <utility>

//#if defined(__ANDROID__)
//#include <asm/page.h> // http://code.google.com/p/android/issues/detail?id=39983
//#endif

#include <pthread.h>
#include <unistd.h>

#include <boost/config/abi_prefix.hpp>