On 09/29/2016 08:05 PM, Jay McCarthy wrote:
> The build system that Byron Davies and I implemented for deploying
> full-screen OpenGL Android apps is available here:
> 
> https://github.com/jeapostrophe/racket-android

This is great!

I'm trying a build now on debian stretch. I've sent a pull request with
the (small) Makefile changes I've made.

If I use the "basic" example source code, the app builds and installs,
but when I start it, it blanks the screen, does nothing for a few
seconds, and then crashes with the usual unhelpful Android
"Unfortunately, RacketAndroidProject has stopped."

This is on a Sony Xperia Z2 cellphone running CyanogenMod 12.1 (Android
5.1.1). I don't know if it supports the required OpenGL features. I also
have no idea where to begin getting e.g. debug output or starting a
debugger for Android.

When I try "make simulate" from my debian build machine, a window opens,
but I get the following output/exception repeatedly:

You are using OpenGL (4 3)
OpenGL error in procedure glUseProgram: The specified operation is not
allowed in the current state.
  context...:
   /home/tonyg/src/racket/racket/share/pkgs/opengl/opengl/main.rkt:74:7

/home/tonyg/src/racket/racket/share/pkgs/mode-lambda/mode-lambda/backend/gl.rkt:57:0:
make-draw

/home/tonyg/src/racket/racket/share/pkgs/mode-lambda/mode-lambda/backend/gl/util.rkt:308:14:
send-arg83

/home/tonyg/src/racket/racket/share/pkgs/gui-lib/mred/private/mrcanvas.rkt:232:4:
unpack488
   /home/tonyg/src/racket/racket/share/pkgs/lux/chaos/gui.rkt:108:5

/home/tonyg/src/racket/racket/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:454:6

/home/tonyg/src/racket/racket/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:505:32

/home/tonyg/src/racket/racket/collects/racket/private/more-scheme.rkt:148:2:
call-with-break-parameterization

/home/tonyg/src/racket/racket/share/pkgs/gui-lib/mred/private/lock.rkt:43:38
   /home/tonyg/src/racket/racket/collects/ffi/unsafe/atomic.rkt:72:13

/home/tonyg/src/racket/racket/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:454:6

/home/tonyg/src/racket/racket/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:505:32
   /home/tonyg/src/racket/racket/share/pkgs/lux/word.rkt:132:17
   /home/tonyg/src/racket/racket/share/pkgs/lux/word.rkt:45:0:
call-with-chaos
   (submod /home/tonyg/src/racket-android/rkt/app.rkt main): [running body]


Tony

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to