3

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 2

1

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
  • No they are not there, at least not on my system (Ubuntu) ... I can compile with g++ and -lSDL2 but cannot find the SDL library files (not the headers which are in /usr/include) , any idea?
    – SheppLogan
    Jan 11, 2022 at 22:33
0

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .