www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - OpenGL Bindings

reply Sha Chancellor <Sha_member pathlink.com> writes:
Hello,
I am interested in learning OpenGL and have been following D for a couple years
now.   I have never had any interesting projects to try out on D.  So I thought
I might try writing pong in OpenGL with D.   However, I have tried using
Derelict and it doesn't seem to work with the latest DMD.   Does anybody know
how to resolve this?

Thanks
Mar 26 2005
next sibling parent reply clayasaurus <clayasaurus gmail.com> writes:
Sha Chancellor wrote:
 Hello,
 I am interested in learning OpenGL and have been following D for a couple years
 now.   I have never had any interesting projects to try out on D.  So I thought
 I might try writing pong in OpenGL with D.   However, I have tried using
 Derelict and it doesn't seem to work with the latest DMD.   Does anybody know
 how to resolve this?
 
 Thanks
 
 
Does it not compile or not run? Are you on windows or linux? There are quite a few people it works for, so you need to post some specifics. : ) Also, if you are using the latest svn, if are you using something like try { DerelictGL_Load(); } catch (Exception e) { e.print(); } might give you more detailed info about what is wrong
Mar 26 2005
parent reply Sha Chancellor <Sha_member pathlink.com> writes:
In article <d259hu$158h$1 digitaldaemon.com>, clayasaurus says...
Sha Chancellor wrote:
 Hello,
 I am interested in learning OpenGL and have been following D for a couple years
 now.   I have never had any interesting projects to try out on D.  So I thought
 I might try writing pong in OpenGL with D.   However, I have tried using
 Derelict and it doesn't seem to work with the latest DMD.   Does anybody know
 how to resolve this?
 
 Thanks
 
 
Does it not compile or not run? Are you on windows or linux? There are quite a few people it works for, so you need to post some specifics. : ) Also, if you are using the latest svn, if are you using something like try { DerelictGL_Load(); } catch (Exception e) { e.print(); } might give you more detailed info about what is wrong
Will not compile. Some errors about implicit conversions, and when i fixed those I got an error from phobos about atoi..
Mar 26 2005
parent clayasaurus <clayasaurus gmail.com> writes:
Sha Chancellor wrote:
 In article <d259hu$158h$1 digitaldaemon.com>, clayasaurus says...
 
Sha Chancellor wrote:

Hello,
I am interested in learning OpenGL and have been following D for a couple years
now.   I have never had any interesting projects to try out on D.  So I thought
I might try writing pong in OpenGL with D.   However, I have tried using
Derelict and it doesn't seem to work with the latest DMD.   Does anybody know
how to resolve this?

Thanks
Does it not compile or not run? Are you on windows or linux? There are quite a few people it works for, so you need to post some specifics. : ) Also, if you are using the latest svn, if are you using something like try { DerelictGL_Load(); } catch (Exception e) { e.print(); } might give you more detailed info about what is wrong
Will not compile. Some errors about implicit conversions, and when i fixed those I got an error from phobos about atoi..
Do you have the latest files from the svn trunk ? http://svn.dsource.org/svn/projects/derelict/trunk/
Mar 27 2005
prev sibling parent Mike Parker <aldacron71 yahoo.com> writes:
Sha Chancellor wrote:
 Hello,
 I am interested in learning OpenGL and have been following D for a couple years
 now.   I have never had any interesting projects to try out on D.  So I thought
 I might try writing pong in OpenGL with D.   However, I have tried using
 Derelict and it doesn't seem to work with the latest DMD.   Does anybody know
 how to resolve this?
Make sure you are using the latest source from the trunk in subversion, and not from the zip in the downloads section of the site. A new release archive is coming once all of the documentation is completed, but it's coming slowly. If you are new to Subversion and using Windows, I strongly recommend TortoiseSVN (http://tortoisesvn.tigris.org/). If you need any help getting set up, or any further problems with Derelict, please post in the Derelict forum (http://www.dsource.org/forums/viewforum.php?f=19&sid=d6f86cfb804d7c8727af1f58cd327d2c).
Mar 26 2005