Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
malteim opened this issue Jul 6, 2017 · 0 comments
Open

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

malteim opened this issue Jul 6, 2017 · 0 comments
Labels

Comments

@malteim
Copy link
Contributor

malteim commented Jul 6, 2017

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>
@malteim malteim added the bug label Jul 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant