/usr/bin/ld: cannot find -lSDLmain?
Hi everyone,
while compiling g++ sdlcam.cpp -lSDL -lSDLmain -o sdlcam, i got the error like this [/usr/bin/ld: cannot find -lSDLmain collect2: ld returned 1 exit status] please anybody help me |
Quote:
can anyone help me |
Do you have `libsdl` installed? If you are on Ubuntu:
Code:
sudo apt-get install libsdl1.2-dev |
Your logo shows "LinuxFedora" ,,, then :
# yum install SDL-static SDL-devel SDL-devel is probably already installed. lSDLmain = 'libSDLmain.a' is provided by the package 'SDL-static'. .. |
Quote:
can anyone help me |
All times are GMT -5. The time now is 05:04 AM. |