HelpProblems while compiling with Polylader

Posts 1–7 of 7 · Page 1 of 1
Problems while compiling with Polylader
Im getting this Error:

Code:
LIBCMT.lib(crt0.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_main" in Funktion "___tmainCRTStartup".
fatal error LNK1120: 1 nicht aufgelöste Externe
in English: unresolved external symbol

It happens when i want to add a poly function such as: [add_junk / ]

I never had this error before and im using the standard linker settings.
You added the poly macros in the wrong place, your compiler doesn't know where the main function is located.

Show us your main.cpp, especially the part where the function "main" is referenced. Make sure to also include the lines before the function.
Quote Originally Posted by WasserEsser View Post
You added the poly macros in the wrong place, your compiler doesn't know where the main function is located.

Show us your main.cpp, especially the part where the function "main" is referenced. Make sure to also include the lines before the function.
The problem must be something different. I get the same problem with a public poly hack here too (which worked before when i had Windows 7)
Quote Originally Posted by antep2727 View Post
The problem must be something different. I get the same problem with a public poly hack here too (which worked before when i had Windows 7)
Show us your main function and your compiler / linker options.
Change
Code:
[add_junk / ]
to
Code:
[add_junk /]
I have solved it. Just like you said WasserEsser i put them in the wrong place.

Thanks for your help guys, this can be closed.
Posts 1–7 of 7 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us