mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-03 10:00:23 +08:00
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:
@@ -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 {
|
||||||
|
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -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());
|
||||||
|
|||||||
Reference in New Issue
Block a user