1 Attachment(s)
LNKERROR2001 unresolved external symbol _mainCRTStartup
win32 console application empty project. tried using different funtions, didn't work. To be honest I am a coding newbie, but I've scoured the internet for a solution and for the past 3 days have not found a single solution to my problem. Your help would be much appreciated, and I've tried reinstalling multiple times to no avail also.Attachment 29927
Re: LNKERROR2001 unresolved external symbol _mainCRTStartup
You didn't create your project correctly. When you create your project, choose Win32 Console application.
Regards,
Paul McKenzie
Re: LNKERROR2001 unresolved external symbol _mainCRTStartup
I created it as a win32 console application with an empty .cpp file.
Re: LNKERROR2001 unresolved external symbol _mainCRTStartup
If so you didn't provide a
Code:
int _tmain(int argc, _TCHAR* argv[])
{
return 0;
}
Re: LNKERROR2001 unresolved external symbol _mainCRTStartup
I put your exact code into the same file and same result.
Re: LNKERROR2001 unresolved external symbol _mainCRTStartup
Is that cpp file in the project?
Re: LNKERROR2001 unresolved external symbol _mainCRTStartup
Hm. I tried loading a new item from a different location instead of just going to new, and it worked, so you must be correct in saying that I wasn't creating the item in the project folder. Thank you for your help I do appreciate it :)