Skip to content

Commit

Permalink
fix GTK related bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
artivis committed Oct 9, 2014
1 parent b10c79a commit ae31285
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions lsd_slam_core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})

find_package(Eigen3 REQUIRED)
find_package(SuiteParse REQUIRED) # Apparently needed by g2o
find_package(X11 REQUIRED)

# FabMap
# uncomment this part to enable fabmap
Expand Down
3 changes: 3 additions & 0 deletions lsd_slam_core/src/main_live_odometry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,13 @@
#include "IOWrapper/ROS/ROSOutput3DWrapper.h"
#include "IOWrapper/ROS/rosReconfigure.h"

#include <X11/Xlib.h>

using namespace lsd_slam;
int main( int argc, char** argv )
{
XInitThreads();

ros::init(argc, argv, "LSD_SLAM");

dynamic_reconfigure::Server<lsd_slam_core::LSDParamsConfig> srv(ros::NodeHandle("~"));
Expand Down

0 comments on commit ae31285

Please sign in to comment.