|
From: Jeremy O'D. <jer...@gm...> - 2011-10-21 10:28:08
|
Hi Dave Sorry for taking so long to respond. On 5 October 2011 00:13, Dave Tapley <duk...@gm...> wrote: > Hi again Jeremy, > > Did the work on OpenGL, or the branch you mention on darcsden[1] ever > get anywhere? I'd like to nominate myself to work on it :) > I never successfully managed to persuade my Windows machine to do a push to darcsden. Because there is almost no documentation, this has been hard to debug! I am in the process of digging out the old OpenGL support for wxHaskell - it was removed a while back due to build problems on some targets. You will probably need to add support for wxGLContext, which was never wrapped, but the wxGLCanvas code should work provided you link with the correct libraries. I've suggested to Joel that I send a patch with wxGLCanvas support which you can put on your Darcsden repo as a starting point. I'll make it compile and link for Ubuntu, but I won't have time to check whether it is very complete or functional, so you will likely have some work to do before it is usable. > > I've created my own wxhaskell branch on darcsden[2], to which I'm > committing all the "wx-2.9 dev build / GTK2 / I don't care about > supporting wx < 2.9" patches I've been accumulating over the past few > months. > I've taken a look - very good work, and I'd like to complement you for taking time to do things properly in every case. I have put a lot of my 'work in progress' out there, in case it is of interest/use to anyone. The code for building a DLL using the C++ compiler (i.e. which went with the blog post on the subject) is now a Gist at git://gist.github.com/1301115.git The work in progress for 2.9 support is at https://patch-tag.com/r/jodonoghue/wxhaskell-branch/home - please note that this code is not very clean at all - I will gradually merge cleaned up versions of anything you haven't yet done into your 2.9 branch. Regards Jeremy > > [1] > http://www.mail-archive.com/wxh...@li.../msg00925.html > [2] http://darcsden.com/DukeDave/wxhaskell-dev > |