Fixed libfreenect.h not found error when compiling the rtabmap-gui lib

git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1313 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
matlabbe
2014-06-03 14:26:30 +00:00
parent acd208fc6a
commit 61f026071e
3 changed files with 5 additions and 2 deletions

View File

@@ -14,10 +14,11 @@
#include <rtabmap/utilite/UEventsSender.h> #include <rtabmap/utilite/UEventsSender.h>
#include <rtabmap/utilite/UThread.h> #include <rtabmap/utilite/UThread.h>
#include <libfreenect.h>
#include <opencv2/opencv.hpp> #include <opencv2/opencv.hpp>
class UTimer; class UTimer;
typedef struct _freenect_context freenect_context;
typedef struct _freenect_device freenect_device;
namespace rtabmap { namespace rtabmap {

View File

@@ -13,6 +13,8 @@
#include <rtabmap/utilite/UEventsManager.h> #include <rtabmap/utilite/UEventsManager.h>
#include <opencv2/imgproc/imgproc.hpp> #include <opencv2/imgproc/imgproc.hpp>
#include <libfreenect.h>
namespace rtabmap { namespace rtabmap {
// //

View File

@@ -42,7 +42,7 @@ void MapVisibilityWidget::updateCheckBoxes()
QWidget * area = this->findChild<QWidget*>("area"); QWidget * area = this->findChild<QWidget*>("area");
QVBoxLayout * layout = (QVBoxLayout *)area->layout(); QVBoxLayout * layout = (QVBoxLayout *)area->layout();
QList<QCheckBox*> checkboxes = area->findChildren<QCheckBox*>(); QList<QCheckBox*> checkboxes = area->findChildren<QCheckBox*>();
while(checkboxes.size() && checkboxes.size() > _poses.size()) while(checkboxes.size() && checkboxes.size() > (int)_poses.size())
{ {
delete *checkboxes.begin(); delete *checkboxes.begin();
checkboxes.erase(checkboxes.begin()); checkboxes.erase(checkboxes.begin());