View mode: basic / threaded / horizontal-split · Log in · Help
March 27, 2005
OpenGL Bindings
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
March 27, 2005
Re: OpenGL Bindings
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
March 27, 2005
Re: OpenGL Bindings
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).
March 27, 2005
Re: OpenGL Bindings
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..
March 28, 2005
Re: OpenGL Bindings
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/
Top | Discussion index | About this forum | D home