I've been messing around with various Amiga frameworks trying to see what they have to offer. First, looked at something called AFrame, mosly because I can get it to compile.
Now, I'm looking at
MUIPlusPlus. This framework is similar to AFrame, but uses MUI as its foundation, making it potentially more desirable.
Unfortunately, when I tried compiling the examples, they failed with a number of reference errors, leading me to realize that it needed linking to a library. Ultimately, I discovered that the library doesn't exist.
The source code of that library, however, does exist, but when I tried compiling it, I got a number of errors like: BOOL does not name a type or ULONG does not name a type. Using Visual Studio, however, I can use the "Go to Definition" option and it takes me straight to exec/types.h. The path to this file is also defined in my makefile, so... why am I getting this error? Is there some option I'm not supplying to the compiler?
Clues appreciated...
Here is my current makefile:
# Project: PlusPlus
# Compiler: m68k-Amiga-OS3
# Compiler Type: MingW 3
# Makefile template for Visual Studio
CPP = m68k-amigaos-g++.exe
CC = m68k-amigaos-gcc.exe
WINDRES = windres.exe
OBJ = mui.o
LINKOBJ = mui.o
LIBS = -L"P:/Windows/AmiDevCpp/usr/local/amiga/m68k-amigaos/lib" -L"P:/Windows/AmiDevCpp/usr/local/amiga/m68k-amigaos/lib/libb/libnix"
INCS = -I"W:\Amiga\Drives\Development\SDKs\Amiga\3.9\Include\include_h\; P:\Windows\AmiDevCpp\include\c++\3.4.2\backward; W:\Amiga\Drives\Development\MUI\PlusPlus\Include;"
CXXINCS = -I"W:\Amiga\Drives\Development\SDKs\Amiga\3.9\Include\include_h\; P:\Windows\AmiDevCpp\include\c++\3.4.2\backward; W:\Amiga\Drives\Development\MUI\PlusPlus\Include;"
#RCINCS = --include-dir ""
BIN = mui
DEFINES = -dAMIGA
CXXFLAGS = $(CXXINCS) $(DEFINES) -s -noixemul
CFLAGS = $(INCS) $(DEFINES) -s -noixemul
GPROF = gprof.exe
RM = rm -f
LINK = m68k-amigaos-g++.exe
.PHONY: all all-before all-after clean clean-custom
all: all-before $(BIN) all-after
clean: clean-custom
$(RM) $(OBJ) $(BIN)
$(BIN): $(OBJ)
$(LINK) $(LINKOBJ) -o "mui" $(LIBS)
mui.o: $(GLOBALDEPS) Source\Lib\mui.cpp
$(CPP) -c Source\Lib\\mui.cpp -o mui.o $(CXXFLAGS)