[ros-users] Error in building pytoro
Tully Foote
tfoote at willowgarage.com
Fri Apr 16 15:46:03 UTC 2010
Vu,
It's in the toro package. Make sure you're doing a full rosmake to
build pytoro.
wg-ros-pkg-unreleased/vision/toro$ find . -name treeoptimizer3.hh
./toro_svn/trunk/treeoptimizer3.hh
Tully
Vu Hong Thuan wrote:
> Help me,
> How could i find out the file treeoptimizer3.hh. Can you help me?
>
> 2010/4/15 Vu Hong Thuan <thuanvh at gmail.com <mailto:thuanvh at gmail.com>>
>
> Hi all,
> I can't build the package pytoro by the following error. Maybe
> because of missing treeoptimizer3.hh. How can i find this file.
> Thank.
>
> mkdir -p bin
> cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find
> rosbuild`/rostoolchain.cmake ..
> [rosbuild] Building package pytoro
> [rosbuild] Including
> /opt/ros/latest/ros/core/roscpp/cmake/roscpp.cmake
> [rosbuild] Including /opt/ros/latest/ros/core/rospy/cmake/rospy.cmake
> [rosbuild] WARNING: rosbuild_genmsg() was called, but no .msg
> files were found
> -- Configuring done
> -- Generating done
> -- Build files have been written to:
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/build
> cd build && make
> make[1]: Entering directory
> `/media/MOT/thuan2/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/build'
> make[2]: Entering directory
> `/media/MOT/thuan2/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/build'
> make[3]: Entering directory
> `/media/MOT/thuan2/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/build'
> make[3]: Leaving directory
> `/media/MOT/thuan2/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/build'
> [ 0%] Built target rospack_genmsg_libexe
> make[3]: Entering directory
> `/media/MOT/thuan2/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/build'
> make[3]: Leaving directory
> `/media/MOT/thuan2/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/build'
> [ 0%] Built target ROSBUILD_genmsg_cpp
> make[3]: Entering directory
> `/media/MOT/thuan2/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/build'
> make[3]: Leaving directory
> `/media/MOT/thuan2/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/build'
> [ 0%] Built target rospack_genmsg
> make[3]: Entering directory
> `/media/MOT/thuan2/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/build'
> make[3]: Leaving directory
> `/media/MOT/thuan2/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/build'
> [ 0%] Built target rosbuild_precompile
> make[3]: Entering directory
> `/media/MOT/thuan2/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/build'
> make[3]: Leaving directory
> `/media/MOT/thuan2/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/build'
> make[3]: Entering directory
> `/media/MOT/thuan2/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/build'
> [100%] Building CXX object CMakeFiles/pytoro.dir/src/py.o
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:9:29:
> error: treeoptimizer3.hh: No such file or directory
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:11:
> error: ‘AISNavigation’ is not a namespace-name
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:11:
> error: expected namespace-name before ‘;’ token
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:13:
> error: ‘TreeOptimizer3’ has not been declared
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:13:
> error: expected initializer before ‘Transformation’
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:14:
> error: ‘TreeOptimizer3’ has not been declared
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:14:
> error: expected initializer before ‘Covariance’
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:15:
> error: ‘TreeOptimizer3’ has not been declared
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:15:
> error: expected initializer before ‘Information’
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:16:
> error: ‘TreeOptimizer3’ has not been declared
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:16:
> error: expected initializer before ‘Translation’
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:17:
> error: ‘TreeOptimizer3’ has not been declared
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:17:
> error: expected initializer before ‘Rotation’
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:18:
> error: ‘TreeOptimizer3’ has not been declared
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:18:
> error: expected initializer before ‘Pose’
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:19:
> error: ‘TreeOptimizer3’ has not been declared
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:19:
> error: expected initializer before ‘Vertex’
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:20:
> error: ‘TreeOptimizer3’ has not been declared
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:20:
> error: expected initializer before ‘Edge’
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:24:
> error: ISO C++ forbids declaration of ‘TreeOptimizer3’ with no type
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:24:
> error: expected ‘;’ before ‘*’ token
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:
> In function ‘PyObject* pginitializeOnlineOptimization(PyObject*,
> PyObject*)’:
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:29:
> error: ‘TreeOptimizer3’ was not declared in this scope
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:29:
> error: ‘to’ was not declared in this scope
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:29:
> error: ‘struct treeoptimizer3_t’ has no member named ‘to’
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:
> In function ‘PyObject* pginitializeOnlineIterations(PyObject*,
> PyObject*)’:
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:36:
> error: ‘TreeOptimizer3’ was not declared in this scope
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:36:
> error: ‘to’ was not declared in this scope
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:36:
> error: ‘struct treeoptimizer3_t’ has no member named ‘to’
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:
> In function ‘PyObject* pgiterate(PyObject*, PyObject*)’:
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:43:
> error: ‘TreeOptimizer3’ was not declared in this scope
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:43:
> error: ‘to’ was not declared in this scope
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:43:
> error: ‘struct treeoptimizer3_t’ has no member named ‘to’
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:53:
> error: ‘TreePoseGraph3’ has not been declared
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:53:
> error: expected ‘;’ before ‘vset’
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:59:
> error: ‘vset’ was not declared in this scope
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:62:
> error: ‘TreePoseGraph3’ has not been declared
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:62:
> error: ‘eset’ was not declared in this scope
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:62:
> error: ‘vset’ was not declared in this scope
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:
> In function ‘PyObject* pgrecomputeAllTransformations(PyObject*,
> PyObject*)’:
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:71:
> error: ‘TreeOptimizer3’ was not declared in this scope
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:71:
> error: ‘to’ was not declared in this scope
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:71:
> error: ‘struct treeoptimizer3_t’ has no member named ‘to’
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:
> In function ‘PyObject* pgremoveEdge(PyObject*, PyObject*)’:
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:83:
> error: ‘TreeOptimizer3’ was not declared in this scope
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:83:
> error: ‘to’ was not declared in this scope
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:83:
> error: ‘struct treeoptimizer3_t’ has no member named ‘to’
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:84:
> error: ‘Edge’ was not declared in this scope
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:84:
> error: ‘e’ was not declared in this scope
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:
> In function ‘PyObject* pgaddIncrementalEdge(PyObject*, PyObject*)’:
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:98:
> error: ‘TreeOptimizer3’ was not declared in this scope
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:98:
> error: ‘to’ was not declared in this scope
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:98:
> error: ‘struct treeoptimizer3_t’ has no member named ‘to’
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:111:
> error: ‘Information’ was not declared in this scope
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:111:
> error: expected ‘;’ before ‘inf’
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:115:
> error: ‘Transformation’ was not declared in this scope
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:115:
> error: expected ‘;’ before ‘t’
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:118:
> error: ‘inf’ was not declared in this scope
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:125:
> error: ‘t’ was not declared in this scope
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:
> In function ‘PyObject* pgerror(PyObject*, PyObject*)’:
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:132:
> error: ‘TreeOptimizer3’ was not declared in this scope
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:132:
> error: ‘to’ was not declared in this scope
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:132:
> error: ‘struct treeoptimizer3_t’ has no member named ‘to’
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:
> In function ‘PyObject* pgvertex(PyObject*, PyObject*)’:
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:138:
> error: ‘TreeOptimizer3’ was not declared in this scope
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:138:
> error: ‘to’ was not declared in this scope
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:138:
> error: ‘struct treeoptimizer3_t’ has no member named ‘to’
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:142:
> error: ‘Vertex’ was not declared in this scope
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:142:
> error: ‘pv’ was not declared in this scope
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:147:
> error: ‘Pose’ was not declared in this scope
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:147:
> error: expected ‘;’ before ‘pp’
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:148:
> error: ‘pp’ was not declared in this scope
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:
> In function ‘PyObject* pgsave(PyObject*, PyObject*)’:
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:153:
> error: ‘TreeOptimizer3’ was not declared in this scope
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:153:
> error: ‘to’ was not declared in this scope
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:153:
> error: ‘struct treeoptimizer3_t’ has no member named ‘to’
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:
> In function ‘PyObject* pgload(PyObject*, PyObject*)’:
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:163:
> error: ‘TreeOptimizer3’ was not declared in this scope
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:163:
> error: ‘to’ was not declared in this scope
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:163:
> error: ‘struct treeoptimizer3_t’ has no member named ‘to’
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:
> In function ‘PyObject* pgclear(PyObject*, PyObject*)’:
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:173:
> error: ‘TreeOptimizer3’ was not declared in this scope
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:173:
> error: ‘to’ was not declared in this scope
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:173:
> error: ‘struct treeoptimizer3_t’ has no member named ‘to’
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:
> In function ‘PyObject* mktreeoptimizer3(PyObject*, PyObject*)’:
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:243:
> error: ‘struct treeoptimizer3_t’ has no member named ‘to’
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:243:
> error: expected type-specifier before ‘TreeOptimizer3’
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:243:
> error: expected ‘;’ before ‘TreeOptimizer3’
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:244:
> error: ‘struct treeoptimizer3_t’ has no member named ‘to’
> /home/thuan/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/src/py.cpp:245:
> error: ‘struct treeoptimizer3_t’ has no member named ‘to’
> make[3]: *** [CMakeFiles/pytoro.dir/src/py.o] Error 1
> make[3]: Leaving directory
> `/media/MOT/thuan2/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/build'
> make[2]: *** [CMakeFiles/pytoro.dir/all] Error 2
> make[2]: Leaving directory
> `/media/MOT/thuan2/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/build'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory
> `/media/MOT/thuan2/sandbox/slam/rossrc/trunk/wg-ros-pkg/vision/pytoro/build'
> make: *** [all] Error 2
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
More information about the ros-users
mailing list