Reply To: 3D Effects, and C/C++
Home › Forums › TimelineFX Module › 3D Effects, and C/C++ › Reply To: 3D Effects, and C/C++
maksw
Fair enough 🙂
And that was it! Simple now I realise… and success – it compiles, but I think this now is dying in Monkey itself so I’ll have to troubleshoot there instead ;
…
g++ -Wno-free-nonheap-object -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:4026:4: error: ‘app’ was not declared in this scope
app->input->keyStates[i]&=0x100;
^
../main.cpp: In static member function ‘static int diddy::getUpdateRate()’:
../main.cpp:4031:10: error: ‘app’ was not declared in this scope
return app->updateRate;
^
../main.cpp: In static member function ‘static int diddy::getPixel(int, int)’:
../main.cpp:4163:19: error: ‘app’ was not declared in this scope
glReadPixels(x, app->graphics->height-y ,1 ,1 ,GL_RGBA ,GL_UNSIGNED_BYTE ,pix);
^
../main.cpp: In static member function ‘static int diddy::seekMusic(int)’:
../main.cpp:4169:25: error: ‘app’ was not declared in this scope
gxtkChannel *chan = &(app->audio->channels[32]);
^
<builtin>: recipe for target ‘../main.o’ failed
mingw32-make: *** [../main.o] Error 1
TRANS FAILED: Error executing ‘mingw32-make CCOPTS=”-Wno-free-nonheap-object” OUT=”Debug/MonkeyGame”‘, return code=2
Done.
Still – it seems it’s generated the C/C++ code, so I can take a look and see what I can do… fingers crossed! And thanks for the support petergiz – if I get anywhere I’ll let you know 😉