Where Are the Compiled Sdl Libraries?

Where Are the Compiled Sdl Libraries?

I compiled the SDL 2 libraries as described here What is the general procedure to install development libraries in Ubuntu?

What I would like to know, is where are these libraries actually located after compiling/installation?

2 Answers

The author of this question answered their own question in an edit:

SDL can be found in /usr/local/lib instead of /usr/lib, which is where I was pointed to after online research.

1

I've installed libsdl2-dev on Ubuntu 20.04 LTS.

run this command to search for SDL2 libraries:

find /usr/lib -name SDL2

reveals:

/usr/lib/x86_64-linux-gnu/cmake/SDL2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Marcus Vance
Author

Marcus Vance

Marcus Vance is a cybersecurity auditor and technology writer dedicated to educating the public about online safety, data privacy regulations, enterprise security, and emerging cyber threats.