Lately i've been having some problems, importing an SDL library, into my compiler, and as a result of that i have chosen to change to a new compiler. I have followed 3 differend online tutorials, re-installed the compiler three times, and done it with three different downloads of the SDL library, so i'm sure it's not just some weird mistake. I keep getting the following errors:
multiple definition of `main'
first defined here
.drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized
[Linker error] undefined reference to `_alloca_probe'
[Linker error] undefined reference to `SDL_main'
[Linker error] undefined reference to `_alloca_probe'
[Linker error] undefined reference to `_alloca_probe'
ld returned 1 exit status
C:\Dev-Cpp\Makefile.win [Build Error] [Nuskaldetvirke.exe] Error 1
The [Linker error] undefined reference to `SDL_main' errer, however i know how to remove...
I get all these errors without no source code! :S
So, as i said, i'm thinking of changing compiler, because i simply don't tihnk this compielr works with Vista or something... because all three times it has been the same result, and all the times i have used a new: Tutorial, in how to import the SDL library, new installation of the compiler and new download of the library.
And i haven't "cross used" them, so it should be pretty clear that none of those are the problems.
If any1 have a suggestion on how to correct the errors, please tell me.
Otherwise, could any1 suggest a free c++ compiler, that works fine on vista.
MedianHansen 0 Newbie Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
MedianHansen 0 Newbie Poster
MedianHansen 0 Newbie Poster
Sturm 270 Veteran Poster
MedianHansen 0 Newbie Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
people123 0 Newbie Poster
Sturm commented: Maybe you should read before you post. +0
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.