reactphysics3d icon indicating copy to clipboard operation
reactphysics3d copied to clipboard

#include <chrono> missing from DefaultLogger.h

Open ActingBadly opened this issue 7 months ago • 1 comments

Following instructions at from the following https://www.reactphysics3d.com/documentation/index.html#buildinglibrary

I built using CMake as instructed, opened in Visual Studio 2022, set to Release and built ReactPhysics3D, I got 171 build errors. They all seemed to be part of chrono and all errors were located in DefaultLogger.h

Added #include to the DefaultLogger.h and it built successfully with no errors.

Just figured I'd bring that to your attention.

Cheers.

ActingBadly avatar Apr 22 '25 14:04 ActingBadly

Thanks, I was having the same issue building react physics 3d through visual studio. Including chrono did allow it to build successfully. I wasn't sure if it was a problem with my visual studio version or the version of cpp react physics was trying to build for or whatever.

AndyP271838 avatar May 29 '25 03:05 AndyP271838