Using Box2D in C++Builder Applications
Go Up to Box2D
You can find the Box2D header files at C:\Program Files (x86)\Embarcadero\Studio\19.0\include\Box2D
.
See the manual and the API documentation to learn how to use Box2D in C++ applications.
To link your application with the Box2D library:
- For desktop platforms you can link to the Box2D library via a #pragma comment:
#pragma comment(lib, "Box2D")
- For mobile mobile platforms, select Project > Options > C++ Linker and add
FlatBox2D
to the Additionally linked libraries option.