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

fail to build, boost error #1

Open
MerlotQ opened this issue Nov 14, 2018 · 0 comments
Open

fail to build, boost error #1

MerlotQ opened this issue Nov 14, 2018 · 0 comments

Comments

@MerlotQ
Copy link

MerlotQ commented Nov 14, 2018

In file included from /usr/include/boost/thread/thread_only.hpp:17:0,
from /usr/include/boost/thread/thread.hpp:12,
from /usr/include/boost/thread.hpp:13,
from /home/ht/src/GSLAM-ORBSLAM/src/Map.h:26,
from /home/ht/src/GSLAM-ORBSLAM/src/ORBSLAM.h:4,
from /home/ht/src/GSLAM-ORBSLAM/src/ORBSLAM.cpp:1:
/usr/include/boost/thread/pthread/thread_data.hpp: In member function ‘void boost::thread_attributes::set_stack_size(std::size_t)’:
/usr/include/boost/thread/pthread/thread_data.hpp:52:47: error: ‘getpagesize’ was not declared in this scope
std::size_t page_size = getpagesize();
^
/usr/include/boost/thread/pthread/thread_data.hpp:52:47: note: suggested alternative:
In file included from /usr/local/include/GSLAM/core/Glog.h:184:0,
from /usr/local/include/GSLAM/core/Mutex.h:26,
from /usr/local/include/GSLAM/core/GSLAM.h:21,
from /home/ht/src/GSLAM-ORBSLAM/src/ORBSLAM.h:3,
from /home/ht/src/GSLAM-ORBSLAM/src/ORBSLAM.cpp:1:
/usr/include/unistd.h:978:12: note: ‘GSLAM::getpagesize’
extern int getpagesize (void) __THROW attribute ((const));
^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant