-
June 22nd, 2012, 01:05 PM
#1
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.
-
June 22nd, 2012, 02:17 PM
#2
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
-
June 22nd, 2012, 02:22 PM
#3
Re: LNKERROR2001 unresolved external symbol _mainCRTStartup
I created it as a win32 console application with an empty .cpp file.
-
June 22nd, 2012, 02:33 PM
#4
Re: LNKERROR2001 unresolved external symbol _mainCRTStartup
If so you didn't provide a
Code:
int _tmain(int argc, _TCHAR* argv[])
{
return 0;
}
-
June 22nd, 2012, 02:38 PM
#5
Re: LNKERROR2001 unresolved external symbol _mainCRTStartup
I put your exact code into the same file and same result.
-
June 22nd, 2012, 03:10 PM
#6
Re: LNKERROR2001 unresolved external symbol _mainCRTStartup
Is that cpp file in the project?
-
June 22nd, 2012, 03:23 PM
#7
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
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|