How ${BULLET_PHYSICS_SOURCE_DIR} is defined? #3382
Replies: 2 comments
-
I think cmake defines that variable, if ran from the root directory. ./build_cmake_pybullet_double.sh We use this to build Bullet from a different repo:
See also this simple cmake example: |
Beta Was this translation helpful? Give feedback.
-
Hi @erwincoumans, Thank you very much for your reply. I am not sure what you mean by Did you mean that when I ran Thanks! |
Beta Was this translation helpful? Give feedback.
-
I am using Ubuntu 18.04, and have run the build command:
When I tried to
cd
toHelloWorld
example, and built the code:and I got error, saying that
I checked the CMakeLists.txt file, and by printing out the
INCLUDE_DIRECTORIES: ${BULLET_PHYSICS_SOURCE_DIR}/src
, and I found that${BULLET_PHYSICS_SOURCE_DIR}
is not defined.I don't know whether I need to run some other command to configure
${BULLET_PHYSICS_SOURCE_DIR}
?Thank you a lot!
Beta Was this translation helpful? Give feedback.
All reactions