User forums > Help

I have an error but I am not sure how to solve it

(1/1)

PowerPython:
OK, so I am trying to get SDL working with Code::Blocks, so I followed all the instructions on the Wiki, and went to run my program, but I got the following error:

ld.exe        cannot find -l-lmingw32

What does this mean? Where should I look to solve it?

Thank you for help,

Sophie

mandrav:
First, in linker libraries (where you added -lmingw32) remove the -l.
Then read this wiki article.

PowerPython:
OK, I did that, but then this comes up:

--------------------------------------------------------------------------------
Switching to target: default
Linking executable: sdlapp.exe
mingw32-g++.exe: D:\Documents and Settings\Sophie\Desktop\SDL-1.2.11\lib\libSDL.dll.a: No such file or directory
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
 

This is confusing, or maybe I am just dumb  :lol:!

OK, I am dumb! I just got what that error message means, so I went through and found that file under MinGW32\lib. Then I recompiled it and got a new message, this one I can't decipher!:

\home\hercules.....    217    undefined refernece to 'SDL_main'


Did I do something wrong by changing the last error?


Sophie

Navigation

[0] Message Index

Go to full version