I have been trying several hours to link allegro 4.4 with Visual Studio 2010. I am using Microsoft Visual C ++ 2010 Express Edition. I have removed it:
-
I downloaded binaries from windows (I downloaded MSWC 2010)
-
P>
-
Three folders in the zip archive "C: \ LLRo"
-
I launched MSVC and a new Windows console application I created a main CPP file
-
In the project properties I went to VC ++ directories and "C: \" Outlet Include \ "Include Directories \"
-
I "Library Directory" "V: C: \ flue \ lib"
-
In Linker-> I am setting the 'environment' to "PATH = c: \ allegro \" for the "Notification Properties-> debugging in Input I.
- Bin;% PATH% "
-
I implemented all the changes and put this simple program in the main CPP
#include & lt; Allegro j & gt; Int main () {Return 0; } END_OF_MAIN ();
When I tried to debug it, I found two errors
error 1 error LNK2019: Unsolved external referenced in function ___ tmainCRTStartup Icon _ and
error 2 error LNK1120: 1 unassigned external
I am pulling my hair in despair! Can someone help me or point me in the right direction?
OK I feel like an idiot now but after reading I understood it. I realized this problem that I created a console application instead of the windows app, I decided to go to the configuration properties - & gt; Linker - & gt; Setting Up the System and "User (Windows / SUBSYSTEM: WINDOWS)" sub-system I hope that it helps anyone else running this problem.
Comments
Post a Comment