SFML community forums

Help => General => Topic started by: Riser on November 16, 2020, 12:33:35 pm

Title: Setting up an SFML with Box2D in Visual Studio (2019).
Post by: Riser on November 16, 2020, 12:33:35 pm
I already had an SFML template project that I've been using for a while, and now I want to add Box2D to it, but after I thought I did everything correctly, I get external errors whenever I write anything using the Box2D library, I think the problem might be related to the additional dependencies, all the tutorials I found were outdated,can anyone walk me through the process of setting up the latest version of Box2D with SFML in Visual Studio (2019)?
Title: Re: Setting up an SFML with Box2D in Visual Studio (2019).
Post by: eXpl0it3r on January 03, 2021, 02:45:53 pm
You may need to provide some more information on what the actual problem is.

To link a library the steps are pretty much always the same:

- Tell the compiler where to find the header files
- Tell the linker where the library files are located
- Tell the linker which libraries to link

Ensure that it's correctly set for the wanted debug/release x86/x64 combination.