erincatto / box2d

Box2D is a 2D physics engine for games
https://box2d.org
MIT License
8.09k stars 1.52k forks source link

Linux gcc fixes #784

Closed erincatto closed 2 weeks ago

erincatto commented 2 weeks ago

Fixes #774 and more.

Added Intel N100 benchmarks.

terroo commented 2 weeks ago

Take advantage and include cstdio in the file: samples/sample_determinism.cpp as there is an error when compiling due to the lack of this header.

erincatto commented 2 weeks ago

Take advantage and include cstdio in the file: samples/sample_determinism.cpp as there is an error when compiling due to the lack of this header.

This pull requests already adds to that file. I was able to compile and run the samples on ubuntu.

define-private-public commented 1 week ago

Thanks for doing this. I'm looking to do some benchmarking of C & C++ language features and I thought using Box2D would be good since it's a more real-world application/library.

Can the benchmarks be run in a headless mode?

erincatto commented 1 week ago

Thanks for doing this. I'm looking to do some benchmarking of C & C++ language features and I thought using Box2D would be good since it's a more real-world application/library.

Can the benchmarks be run in a headless mode?

Yes, the benchmark application runs on the console and emits csv files.