reactphysics3d icon indicating copy to clipboard operation
reactphysics3d copied to clipboard

coredump maybe

Open hustmzy opened this issue 3 years ago • 1 comments

hello. I have compiled the code in ubuntu18.04 and successfully generate the bin file testbed in the path "build/testbed". When I run the testbed like "./testbed" it directly cored dump. The gdb results: #0 0x000056494265864c in reactphysics3d::PhysicsCommon::createPhysicsWorld(reactphysics3d::PhysicsWorld::WorldSettings const&) () #1 0x00005649425ebf52 in raycastscene::RaycastScene::RaycastScene(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, EngineSettings&, reactphysics3d::PhysicsCommon&) () #2 0x00005649425c47c6 in TestbedApplication::createScenes() () #3 0x00005649425c506f in TestbedApplication::start() () #4 0x00005649425b90ff in main ()

Is there anything wrong with my operation?Many thanks.

hustmzy avatar Sep 08 '22 08:09 hustmzy

I just tried on my side on Linux. I took the following steps.

  1. I cloned the GIT repository of the project git clone [email protected]:DanielChappuis/reactphysics3d.git
  2. I create a 'build' directory next to the 'reactphysics3d' directory. mkdir build
  3. I moved into this folder cd build
  4. I configured and generated the project with ccmake in order to enable the compilation of the testbed application ccmake ../reactphysics3d
  5. I compiled the library and the testbed application make
  6. I moved into the testbed sub-folder cd testbed
  7. I launched the testbed application ./testbed 8. The testbed application successfully starts

Did you apply those steps? Are you able to test those steps?

DanielChappuis avatar Sep 19 '22 12:09 DanielChappuis

I am closing this issue. If you have any news, feel free to reopen it.

DanielChappuis avatar Feb 13 '24 22:02 DanielChappuis