strands-project-attic / 3d_annotation_tool

3D Annotation tool
0 stars 3 forks source link

Indigo version of tool #10

Open cdondrup opened 8 years ago

cdondrup commented 8 years ago

Would it be possible to get this to build under indigo as well?

Currently I get the following error:

In file included from /usr/include/qt4/QtCore/qchar.h:45:0,
                 from /usr/include/qt4/QtCore/qstring.h:45,
                 from /usr/include/qt4/QtCore/QString:1,
                 from /home/cdondrup/tmp/ros/src/3d_annotation_tool/annotation-tool/src/objectsinformation.h:5,
                 from /home/cdondrup/tmp/ros/src/3d_annotation_tool/annotation-tool/src/viewerinteractor.h:10,
                 from /home/cdondrup/tmp/ros/src/3d_annotation_tool/annotation-tool/src/viewerinteractor.cpp:1:
/usr/include/boost/multi_index/sequenced_index.hpp:926:10: error: ‘boost::Q_FOREACH’ has not been declared
   boost::foreach::tag)
          ^
/usr/include/boost/multi_index/ordered_index.hpp:1399:10: error: ‘boost::Q_FOREACH’ has not been declared
   boost::foreach::tag)
          ^
/home/cdondrup/tmp/ros/src/3d_annotation_tool/annotation-tool/src/mainwindow.cpp: In member function ‘void MainWindow::on_actionOpen_triggered()’:
/home/cdondrup/tmp/ros/src/3d_annotation_tool/annotation-tool/src/mainwindow.cpp:63:16: error: ‘boost::filesystem3’ has not been declared
         boost::filesystem3::path p(_fileName.toStdString());
                ^
/home/cdondrup/tmp/ros/src/3d_annotation_tool/annotation-tool/src/mainwindow.cpp:63:34: error: expected ‘;’ before ‘p’
         boost::filesystem3::path p(_fileName.toStdString());
                                  ^
/home/cdondrup/tmp/ros/src/3d_annotation_tool/annotation-tool/src/mainwindow.cpp:64:28: error: ‘p’ was not declared in this scope
         std::string path = p.parent_path().string();
                            ^
make[2]: *** [3d_annotation_tool/annotation-tool/src/CMakeFiles/Annotation_tool.dir/viewerinteractor.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [3d_annotation_tool/annotation-tool/src/CMakeFiles/Annotation_tool.dir/mainwindow.cpp.o] Error 1
make[1]: *** [3d_annotation_tool/annotation-tool/src/CMakeFiles/Annotation_tool.dir/all] Error 2
make: *** [all] Error 2

and the cmake structure is too messed up for me to motivate me to debug it. @kkusumam would like to use it under ubuntu 14.04 so we'd appreciate any help.

akshayats commented 8 years ago

I am actually working on this with an MS student at the moment, and he seems to have fixed this problem. It will be resolved in a couple of days. I will also take care of the naming convention at the same time.

Cheers Akshaya

On 25 August 2015 at 15:56, Christian Dondrup notifications@github.com wrote:

Would it be possible to get this to build under indigo as well?

Currently I get the following error:

In file included from /usr/include/qt4/QtCore/qchar.h:45:0, from /usr/include/qt4/QtCore/qstring.h:45, from /usr/include/qt4/QtCore/QString:1, from /home/cdondrup/tmp/ros/src/3d_annotation_tool/annotation-tool/src/objectsinformation.h:5, from /home/cdondrup/tmp/ros/src/3d_annotation_tool/annotation-tool/src/viewerinteractor.h:10, from /home/cdondrup/tmp/ros/src/3d_annotation_tool/annotation-tool/src/viewerinteractor.cpp:1: /usr/include/boost/multi_index/sequenced_index.hpp:926:10: error: ‘boost::Q_FOREACH’ has not been declared boost::foreach::tag) ^ /usr/include/boost/multi_index/ordered_index.hpp:1399:10: error: ‘boost::Q_FOREACH’ has not been declared boost::foreach::tag) ^ /home/cdondrup/tmp/ros/src/3d_annotation_tool/annotation-tool/src/mainwindow.cpp: In member function ‘void MainWindow::on_actionOpen_triggered()’: /home/cdondrup/tmp/ros/src/3d_annotation_tool/annotation-tool/src/mainwindow.cpp:63:16: error: ‘boost::filesystem3’ has not been declared boost::filesystem3::path p(_fileName.toStdString()); ^ /home/cdondrup/tmp/ros/src/3d_annotation_tool/annotation-tool/src/mainwindow.cpp:63:34: error: expected ‘;’ before ‘p’ boost::filesystem3::path p(_fileName.toStdString()); ^ /home/cdondrup/tmp/ros/src/3d_annotation_tool/annotation-tool/src/mainwindow.cpp:64:28: error: ‘p’ was not declared in this scope std::string path = p.parent_path().string(); ^ make[2]: * [3d_annotation_tool/annotation-tool/src/CMakeFiles/Annotation_tool.dir/viewerinteractor.cpp.o] Error 1 make[2]: * Waiting for unfinished jobs.... make[2]: * [3d_annotation_tool/annotation-tool/src/CMakeFiles/Annotation_tool.dir/mainwindow.cpp.o] Error 1 make[1]: * [3d_annotation_tool/annotation-tool/src/CMakeFiles/Annotation_tool.dir/all] Error 2 make: *\ [all] Error 2

and the cmake structure is too messed up for me to motivate me to debug it. @kkusumam https://github.com/kkusumam would like to use it under ubuntu 14.04 so we'd appreciate any help.

— Reply to this email directly or view it on GitHub https://github.com/strands-project/3d_annotation_tool/issues/10.

...._ಅkshay_अ....

cdondrup commented 8 years ago

That's great. Please keep me and @kkusumam in the loop. Any time frame?

akshayats commented 8 years ago

Is Keerthy getting our messages here? I am looking at end of this week, so that it is available on Monday.

Cheers AK

On 25 August 2015 at 19:31, Christian Dondrup notifications@github.com wrote:

That's great. Please keep me and @kkusumam https://github.com/kkusumam in the loop. Any time frame?

— Reply to this email directly or view it on GitHub https://github.com/strands-project/3d_annotation_tool/issues/10#issuecomment-134678815 .

...._ಅkshay_अ....

cdondrup commented 8 years ago

I made her aware. Thank you!