when i type this code:
into code::blocks or C++ visual studio 2010 (using the code it generates by default)
i get this error:
||=== Hello World, Debug ===|
ld.exe||cannot find -lSDL_image|
||=== Build finished: 1 errors, 0 warnings (0 minutes, 6 seconds) ===|
can anyone tell me what this means and how i fix it? ive tried uninstalling and reinstalling and it didnt work
Code:
#include <iostream>
using namespace std;
int main()
{
cout << "Hello world!" << endl;
return 0;
}
i get this error:
||=== Hello World, Debug ===|
ld.exe||cannot find -lSDL_image|
||=== Build finished: 1 errors, 0 warnings (0 minutes, 6 seconds) ===|
can anyone tell me what this means and how i fix it? ive tried uninstalling and reinstalling and it didnt work