undefined reference - Derelict2

Mike Parker aldacron at gmail.com
Mon May 7 19:28:14 PDT 2012


On 5/7/2012 8:53 PM, sergeiV wrote:
>> rdmd -Iinclude/Derelict2/import -L-Linclude/Derelict2/lib
>> -L-lDerelictAL -L-lDerelictUtil -L-ldl test.d
> Thnx, this works.
>
> Though I was under the impression that the new Derelict2 hierarchy / d
> interface files in Derelict2/import reduced the neccesity for command
> line arguments, that is a Derelict related question.

Well, it does. With all of the imports in a single directory, you don't 
need to specify multiple import directories. But you will always need to 
link with the libraries. The import directory doesn't affect that.


More information about the Digitalmars-d-learn mailing list