Visual Studio CL and NMAKE, or

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Arclamp
Posts: 71
Joined: Thu Oct 10, 2013 7:45 pm

Visual Studio CL and NMAKE, or

Post by Arclamp »

Trying to compile on Windows using Visual Studio from the command line (Developer Command Prompt for VS2015, from VS for Desktop).

Compiling the program passes without error but the programs crash when the window resizes at startup, any ideas why?


makefile for nmake

Code: Select all

 
TARGET = play.exe
SOURCES = main.cpp
 
INCLUDES = /I"C:\z_irrlicht\irrlicht-1.8.3\irrlicht-1.8.3\include"
 
all: $(TARGET)
 
$(TARGET):$(SOURCES)
    cl /W4 /EHsc /Fe:$@ $** $(INCLUDES) C:\z_irrlicht\irrlicht-1.8.3\irrlicht-1.8.3\lib\Win32-visualstudio\Irrlicht.lib OpenGL32.lib  GLu32.lib m.lib
 
Post Reply