What's the difference between https://github.com/D-Programming-Deimos/glfw and https://github.com/DerelictOrg/DerelictGLFW3
Edn via Digitalmars-d
digitalmars-d at puremagic.com
Mon Oct 20 23:42:16 PDT 2014
On Tuesday, 21 October 2014 at 06:41:12 UTC, Edn wrote:
> On Sunday, 19 October 2014 at 23:57:33 UTC, Mike Parker wrote:
>> On 10/20/2014 4:11 AM, Edn wrote:
>>> Hello,
>>>
>>> what's the difference between
>>> https://github.com/D-Programming-Deimos/glfw and
>>> https://github.com/DerelictOrg/DerelictGLFW3
>>>
>>> thanks in advance
>>
>> The bindings at Deimos have a link-time dependency on GLFW.
>> Whether you want to link with the static library or link with
>> the shared library, you need to with something when compiling
>> your app. All of the bindings in Deimos are like this -- they
>> are /static/ bindings.
>>
>> The Derelict binding has no link-time dependency. You can
>> build your app without having the development version of GLFW
>> on your system. When the app is run, it searches the system
>> path for the GLFW shared library and loads it into memory (you
>> have to call DerelictGLFW3.load() for this to happen). All of
>> the bindings in DerelictOrg are like this -- they are
>> /dynamic/ bindings.
>>
>> ---
>> This email is free from viruses and malware because avast!
>> Antivirus protection is active.
>> http://www.avast.com
>
> I'm trying to compile a simple program using D and GLFW. I
> heard that in order to use Deimos GLFW you will have to compile
> https://github.com/glfw/glfw using the digitalmars c++ compiler
> since dmd only supports OMF?
I mean for the libraries
More information about the Digitalmars-d
mailing list