nickoe / kicadocaml

Automatically exported from code.google.com/p/kicadocaml
0 stars 0 forks source link

execution fails on Debian sid with ocaml 3.11 #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. build it on Debian Sid w/ packages as of July 15 2009
2. Execute
3. fails with: Fatal error: exception Invalid_argument("GlArray.vertex :
buffer must be static"

This is a fundamental change in the lablgl library / interface in ocaml. 
Hopefully, it actually fixes some errors that exist bettween ocaml and
opengl .. 
I want to use this as a reason to upgrade to a gtk2 interface - it could be
better, and I'd rather avoid making all these arrays static - it breaks the
ocaml idea of garbage collecton. 

Original issue reported on code.google.com by sideskate@gmail.com on 15 Jul 2009 at 4:59

GoogleCodeExporter commented 9 years ago
Ended up replacing all the non-static GlArray.vertex calls with static 
allocations,
rather than moving to gtk2 (which would have been a lot more work!)
Will test some more on Debian Squeeze. 

Original comment by sideskate@gmail.com on 27 Oct 2009 at 2:13