On Monkey 76d, when I try to run any apps that use Diddy, I am receiving the following errors:
TRANS monkey compiler V1.60
Parsing...
Semanting...
Translating...
Building...
g++ -O3 -DNDEBUG -I../glfw/include -I../glfw/lib -I../glfw/lib/win32 -I../openal/include -I../stb -c -o ../main.o ../main.cpp
../main.cpp: In static member function 'static void diddy::flushKeys()':
../main.cpp:4011:4: error: 'app' was not declared in this scope
../main.cpp: In static member function 'static int diddy::getUpdateRate()':
../main.cpp:4016:10: error: 'app' was not declared in this scope
../main.cpp: In static member function 'static int diddy::getPixel(int, int)':
../main.cpp:4148:19: error: 'app' was not declared in this scope
../main.cpp: In static member function 'static int diddy::seekMusic(int)':
../main.cpp:4154:25: error: 'app' was not declared in this scope
mingw32-make: *** [../main.o] Error 1
TRANS FAILED: Error executing 'mingw32-make CCOPTS="-O3 -DNDEBUG" OUT="Release/MonkeyGame"', return code=2
Done.
The import statement appears to be functioning correctly, so it looks like Diddy is installed. Any ideas?
|