You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bullet provided cmake config files are pointing to the wrong header file installation path resulting in BulletDynamics/Vehicle/btRaycastVehicle.h not found
#4624
Open
pattakosn opened this issue
Jun 7, 2024
· 0 comments
cd build/runtime && /usr/bin/c++ -I/home/pattakosn/github.com/runtime/include/bullet -O3 -DNDEBUG -std=gnu++20 -pthread -MD -MT runtime/CMakeFiles/runtime.dir/Physics/Car.cpp.o -MF CMakeFiles/runtime.dir/Physics/Car.cpp.o.d -o CMakeFiles/runtime.dir/Physics/Car.cpp.o -c /home/pattakosn/github.com/runtime/Physics/Car.cpp
/home/pattakosn/github.com/runtime/Physics/Car.cpp:32:10: fatal error: BulletDynamics/Vehicle/btRaycastVehicle.h: No such file or directory
32 | #include <BulletDynamics/Vehicle/btRaycastVehicle.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
it seems to me that as the bullet include path is not an absolute path, it is incorrectly interpreted as relative to the current source dir which is obviously wrong.
edit: Apparently switching from find_package(Bullet CONFIG REQUIRED) to find_package(Bullet MODULE REQUIRED) fixes it but this is not how it is supposed to work.
The text was updated successfully, but these errors were encountered:
I am trying to compile a project using cmake. i have installed my linux distribuition package of bulled, bullet seems to be correctly found:
but I get this error:
it seems to me that as the bullet include path is not an absolute path, it is incorrectly interpreted as relative to the current source dir which is obviously wrong.
edit: Apparently switching from
find_package(Bullet CONFIG REQUIRED)
tofind_package(Bullet MODULE REQUIRED)
fixes it but this is not how it is supposed to work.The text was updated successfully, but these errors were encountered: