I am a newbie to opengl and visual c++. I bought the book Opengl Game
Programming. I can hardly understand what the author is talking about
so I need some help. Here is my first program that I haveing troubles
with even getting to run.
// first app.cpp : Defines the entry point for the application.
// Hello, world! program
#define WIN32_LEAN_AND_MEAN // trim down the libraries used
// the main entry point
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,LPSTR
lpCmdLine, int nShowCmd)
MessageBox(NULL, "\tHello, World!" , "My First Program", NULL);
here are the errors I am getting:Quote:}
--------------------Configuration: first app - Win32
LIBCMTD.lib(crt0.obj) : error LNK2001: unresolved external symbol
Debug/first app.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
first app.exe - 2 error(s), 0 warning(s)
if someone could tell me how to get programs running it would be much