Height is a private member of gxtkGraphics

Monkey Forums/Monkey Bug Reports/Height is a private member of gxtkGraphics

Zwer99(Posted 2013) [#1]
Hey,

i have a problem compiling my app for iOS. I get 3 errors:

/Users/xyz/Desktop/project/Main.build/ios/main.mm:4057:39: error: 'height' is a private member of 'gxtkGraphics'
glReadPixels(x, bb_graphics_device->height-y ,1 ,1 ,GL_RGBA ,GL_UNSIGNED_BYTE ,pix);
^
/Users/xyz/Desktop/project/Main.build/ios/main.mm:2789:6: note: declared private here
int height;
^
/Users/xyz/Desktop/project/Main.build/ios/main.mm:4073:23: error: no member named 'music' in 'gxtkAudio'
if(bb_audio_device->music)
~~~~~~~~~~~~~~~ ^
/Users/xyz/Desktop/project/Main.build/ios/main.mm:4075:21: error: no member named 'music' in 'gxtkAudio'
bb_audio_device->music.currentTime = timeMillis/1000.0;
~~~~~~~~~~~~~~~ ^


I don't get these errors with Monkey Version 66b. But if I use 66b then I get problems with the spine-module...


therevills(Posted 2013) [#2]
Looks like to you are using an old version of Diddy, download the latest and try again.


Zwer99(Posted 2013) [#3]
Aha, yes that was the problem - thank you ;)