Hello everybody. I have made a copy from the 'HelloWorld' example from Irrlight onto my harddisk, but now I have these strange errors when compiling:
Irrlight game error LNK2019: unresolved external symbol _WinMain@16 referenced in function _WinMainCRTStartup
and
Irrlight game fatal error LNK1120: 1 unresolved externals
The code is exactly the same as in the example from Irrlight, I have included the two folders(include and lib\VisualStudio) in Visual C++ and I have the Irrlight.dll in the C:\Windows\System32 folder. But I still got these errors.
Does somebody know the solution for this problem. Thanks very much.
Linker error when compiling the 'HelloWorld' example
Is it possible, when I try to compile a tutorial, it is an windows app and not an console? It doesn't work actually. I just opened the dsw and compile it.
Visit my website @ www.venex.be
Plethora project will be added to the site
AMD AthlonXP 2600+, 512MB DDR, Radeon M10 (mobile 9600) PRO 64MB, WinXP
Plethora project will be added to the site
AMD AthlonXP 2600+, 512MB DDR, Radeon M10 (mobile 9600) PRO 64MB, WinXP
it is possible. my irrlicht game is a windows app which has aVeneX wrote:Is it possible, when I try to compile a tutorial, it is an windows app and not an console? It doesn't work actually. I just opened the dsw and compile it.
Code: Select all
int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow){