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

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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

You Might Also Like