I installed FEDORA and SDL and wish to program graphics in C. on compilation, I am getting lot of undefined references to SDL_MapRGB, SDL_Init etc
I searched the file system SDL.dll is missing..
how to solve this problem?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Linux does not use .dll files for storing libraries, but .so.
Anyhow, to install SDL in fedora:
This will install the complete SDL library with associated devel packages.
You will also probably want to install the Development Tools group of packages (for gcc and other build tools):
When compiling, you will need to tell GCC which library to link: