jsk-ros-pkg / jsk_model_tools

JSK model utilities
https://github.com/jsk-ros-pkg/jsk_model_tools
BSD 3-Clause "New" or "Revised" License
6 stars 28 forks source link

eus.h is not found when compiling eus_assimp.cpp #30

Closed mmurooka closed 10 years ago

mmurooka commented 10 years ago

I got following error. eus.h is not found when compiling eus_assimp.cpp

/home/murooka/hogehoge/ws_jsk_model_tools/src/jsk-ros-pkg/jsk_model_tools/eus_assimp/src/eus_assimp.cpp:46:17: 致命的エラー: eus.h: そのようなファイルやディレクトリはありません
コンパイルを停止しました。
make[2]: *** [jsk-ros-pkg/jsk_model_tools/eus_assimp/CMakeFiles/eus_assimp.dir/src/eus_assimp.cpp.o] エラー 1
make[1]: *** [jsk-ros-pkg/jsk_model_tools/eus_assimp/CMakeFiles/eus_assimp.dir/all] エラー 2
make[1]: *** 未完了のジョブを待っています....
murooka@cygnus:~/hogehoge/ws_jsk_roseus$ find ./ -name "eus.h"
./src/jsk-ros-pkg/jsk_roseus/euslisp/jskeus/eus/lisp/c/eus.h

Are there something strange?

k-okada commented 10 years ago

Did you update jsk_common or installed them via deb package?

mmurooka commented 10 years ago

I used newest version of jsk_common and jsk_roseus. I installed jsk_common and jsk_roseus in different catkin workspace.

k-okada commented 10 years ago

did you catkin_make install in upper workspace, if not, currently your euslisp_PACKAGE_PATH may not point to valid directory https://github.com/jsk-ros-pkg/jsk_model_tools/blob/master/eus_assimp/catkin.cmake#L15

please add to check ${euslisp_SOURCE_PREFIX} as we did in https://github.com/start-jsk/rtmros_common/blob/master/hrpsys_ros_bridge/cmake/compile_robot_model.cmake#L118

foo_SOURCE_DIR ;; if you have source code in same workspace foo_SOURCE_PREFIX ;; if you have source code in upstream workspace and not installed yet foo_PREFIX/share/foo ;; if you have source code in upstream workspace and installed, or you installed via debian package

mmurooka commented 10 years ago

did you catkin_make install in upper workspace,

No, I didn't catkin_make install for ws_jsk_roseus.

Thank you for your explanation. I modified catkin.cmake and worked well in the local environment. I made PR.

mmurooka commented 10 years ago

PR was merged.