-
Notifications
You must be signed in to change notification settings - Fork 634
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
problem when make on ubuntu #833
Comments
Are you building the
There's always a solution ;-) |
Sorry I can't tell the which branch of mrpt I'm building, the author of PL-SLAM offered a website of mrpt, he said if we use the most recent versions of the MRPT library we might find some issues due to hard refactoring,and the website is:
|
Try checking out the mrpt-1.5 branch, it should be compatible and perhaps it fixes that wxWidgets error. PS: Or even better... give it a try to the mrpt-1.5 PPA and directly install the precompiled version of mrpt, so you avoid all these problems (!). |
Hmmm maybe we should suggest some guidance to the author to use the 1.5.x releases. |
Progress on this topic: I think we can now close this ticket, since pl-slam could be now built against the latest mrpt-1.5 branch. Notice that, as of today, there're other g2o-related build problems, discussed in other issue threads of the original repo. |
I have tried to build mrpt on ubuntu16.04,but meet some problems when make:
[ 71%] Building CXX object libs/hwdrivers/CMakeFiles/mrpt-hwdrivers.dir/src/aria/src/ArTcpConnection.cpp.o
/home/hlx/package/mrpt/apps/ReactiveNavigationDemo/reactive_navigator_demoMain.cpp:335:100: error: ‘wxTE_AUTO_SCROLL’ was not declared in this scope
edLog = new wxTextCtrl(Panel2, ID_TEXTCTRL5, wxEmptyString, wxDefaultPosition, wxSize(612,85), wxTE_AUTO_SCROLL|wxTE_MULTILINE|wxTE_READONLY|wxTE_DONTWRAP|wxALWAYS_SHOW_SB, wxDefaultValidator, _T("ID_TEXTCTRL5"));
/home/hlx/package/mrpt/apps/ReactiveNavigationDemo/reactive_navigator_demoMain.cpp:1042:102: error: ‘wxTE_AUTO_SCROLL’ was not declared in this scope
edWpLog = new wxTextCtrl(wxFrWpInfo,wxNewId(), wxEmptyString, wxDefaultPosition, wxSize(400,150), wxTE_AUTO_SCROLL|wxTE_MULTILINE|wxTE_READONLY|wxTE_DONTWRAP|wxALWAYS_SHOW_SB, wxDefaultValidator, _T("ID_TEXTCTRL_WP"));
.........
[ 82%] Building CXX object libs/hwdrivers/CMakeFiles/mrpt-hwdrivers.dir/src/CVelodyneScanner.cpp.o
/home/hlx/package/mrpt/libs/hwdrivers/src/CGenericSensor.cpp:26:11: warning: ‘dumm’ defined but not used [-Wunused-variable]
const int dumm = mrpt_hwdrivers_class_reg.do_nothing(); // Avoid compiler removing this class in static linking
^
[ 82%] Linking CXX shared library ../../lib/libmrpt-hwdrivers.so
[ 82%] Built target mrpt-hwdrivers
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
Is there any solutions?
The text was updated successfully, but these errors were encountered: