using auxiliary SDL libraries with `sdl2-config --cflags --l |
tony67
|
Hi All
I hope someone can advise me on the following. From the issue I was having above I thought I would test SDL2 on my laptop ( ubuntu as well ) I installed sdl2 mixer and image. Tried my code and all went great no issues. So I thought there must be some issue on my desktop, so I deleted the sdl2 directory from usr/include and the usr/lib, also from usr/local as the first attempt at build went there. I then re made sdl2 ./configure -prefix=/usr make clean make make install I can see all the headers in usr/include/sdl2 and all the libs. Next I went to install image as above, however when I went to try to make I get SDL_image.h:27:17: fatal error: SDL.h: No such file or directory compilation terminated. make: *** [IMG.lo] Error 1 So I'm guessing that the first time I tried to install sdl last week it set some config file that is pointing to /usr/local ? can anyone advise the correct way to remove so I get rid of the any hidden config files or where I might find them? Thanks |
|||||||||||
|
tony67
|
Solved it, downloaded gnome search tools which allowed me to find the hard to find files, deleted and rebooted, install worked.
|
|||||||||||
|