-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
catkin build でchoreonoidビルドしたら通らない問題 #61
Comments
python3.8を強制的に指定したらセグフォらなくなった. (pybind11のバージョンも変えたけど、たぶんこれは関係ない) diff --git a/CMakeLists.txt b/CMakeLists.txt
index 504d56c7..c5f01d7c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -336,7 +336,7 @@ if(ENABLE_PYTHON)
if(PYBIND11_DIR)
include_directories(${PYBIND11_DIR}/include)
else()
- include_directories(${PROJECT_SOURCE_DIR}/thirdparty/pybind11-2.2.4/include)
+ include_directories(${PROJECT_SOURCE_DIR}/thirdparty/pybind11/include)
endif()
else()
if(NOT USE_PYBIND11 AND USE_PYTHON3)
@@ -348,9 +348,11 @@ if(ENABLE_PYTHON)
unset(PYTHON_LIBRARY CACHE)
unset(PYTHON_LIBRARY_DEBUG CACHE)
if(USE_PYTHON3)
- set(Python_ADDITIONAL_VERSIONS 3.7 3.6 3.5 3.4)
+ set(Python_ADDITIONAL_VERSIONS 3.8)
find_package(PythonLibs 3 REQUIRED)
else()
+ # show error
+ message(FATAL_ERROR "Python 2 is no longer supported.")
find_package(PythonLibs 2 REQUIRED)
endif()
include_directories(${PYTHON_INCLUDE_PATH}) |
jaxonのデモを実行してみると, jaxonが無限に落下していくので, gui内のログを見ると, cnoid.OpenRTMPluginがないみたい. python3.8向けにはないということ?
確かにない
|
choreonoid単体でもとのやつでbuildするとokなんだけど, stabilizer_configをビルドするとこうなっちゃうんよね..
|
せぐふぉらなくなったけど
|
ちゃんと, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
gdbで実行したらこんな感じで, no such file ... typename.c みたいなエラーとおもにセグフォって落ちるので, コンパイルするときにpythonのバージョンをミスっている可能性が高い.
The text was updated successfully, but these errors were encountered: