Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Stupid stupid error...
#1
I'm trying to compile the SDL ported code from the demomaking column from flipcode, and it's giving me this error:
Code:
Linking...
LIBC.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Release/compiletest.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

I have int main() IN there though! I have the project set at console application, the kind it's supposed to be, and it still doesn't work.
am an asshole. Get used to it.
Reply
#2
is something by chance pointing to a _main() that isnt there and not main()?

just a guess, sorry if im wrong though :-?
This is the end of everything, you are the end of everything." -Slipknot - Everything Ends

"GOD HATES US ALL!!" -Slayer - God Hates Us All
Reply
#3
Ya... you are wrong. It always puts that _ when linking for some reason.
am an asshole. Get used to it.
Reply
#4
Mangled names, methinks...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)