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
@@ -14,10 +14,11 @@
#include <rtabmap/utilite/UEventsSender.h>
#include <rtabmap/utilite/UThread.h>
#include <libfreenect.h>
#include <opencv2/opencv.hpp>
class UTimer;
typedef struct _freenect_context freenect_context;
typedef struct _freenect_device freenect_device;
namespace rtabmap {
+2
View File
@@ -13,6 +13,8 @@
#include <rtabmap/utilite/UEventsManager.h>
#include <opencv2/imgproc/imgproc.hpp>
#include <libfreenect.h>
namespace rtabmap {
//
+1 -1
View File
@@ -42,7 +42,7 @@ void MapVisibilityWidget::updateCheckBoxes()
QWidget * area = this->findChild<QWidget*>("area");
QVBoxLayout * layout = (QVBoxLayout *)area->layout();
QList<QCheckBox*> checkboxes = area->findChildren<QCheckBox*>();
while(checkboxes.size() && checkboxes.size() > _poses.size())
while(checkboxes.size() && checkboxes.size() > (int)_poses.size())
{
delete *checkboxes.begin();
checkboxes.erase(checkboxes.begin());