Click here to Skip to main content
15,885,757 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
When I run a program with vc + +,The following warning happend.What should I do to change it become normal?

Linking...
FirstAuxOpenGL.obj : error LNK2001: unresolved external symbol _ReDraw@8
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/FirstAuxOpenGL.exe : fatal error LNK1120: 2 unresolved externals


FirstAuxOpenGL.exe - 1 error(s), 0 warning(s)
Posted
Comments
Richard MacCutchan 20-Oct-13 13:04pm    
You have not declared a main method in your code. You also have a call to ReDraw but have not included the library that contains it.
Member 10344803 21-Oct-13 9:45am    
Thank you for your reply, I have dealt with, but now there are new problems, can you help me to answer?
LINK : fatal error LNK1117: syntax error in option "subsystem:Console/incremental:yes"
Richard MacCutchan 21-Oct-13 12:07pm    
Needs a space after Console.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900