step 1: setup platform vc 6.0 MSDN mophun SDK 2.5 reference : mophun SDK doc step 2: open vc 6.0 create a new "Makefile" project name & add nmake in Build command Line add *.mpn in Output modify pip-gcc to pip-g++ for c++ compiler res.txt (with picture resource)is important for build res.h & binary file e.g. # ***************************************** # # NAME: makefile # PROJECT: MOPHUN Tutorials # DATE: 2002-04-05 # BY: Johan Andersen # # (c) Synergenix AB # # ***************************************** # ***************************************** # FLAGS # ***************************************** CFLAGS = -O2 -Wall -fvstudio # ***************************************** # OBJEKTFILES # ***************************************** OBJS = res.o 2DVideo.o all: 2DVideo.mpn # ***************************************** # RESOURCE # ***************************************** res.o: res.txt morc -v res.txt # ***************************************** # COMPILER # ***************************************** .c.o: pip-gcc -c $(CFLAGS) -o $@ $< # ***************************************** # LINKER # ***************************************** 2DVideo.mpn: $(OBJS) pip-gcc -o $@ $(OBJS) -mstack=1024 -mdata=10000 -ldatacert -s step 3: code , compile & debug with mophun emulator