Re: undefined reference - Derelict2

2012-05-07 Thread Mike Parker
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 comm

Re: undefined reference - Derelict2

2012-05-07 Thread Trass3r
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. You may try to use --chatty and compare the output.

Re: undefined reference - Derelict2

2012-05-07 Thread sergeiV
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 Derel

Re: undefined reference - Derelict2

2012-05-07 Thread Stanislav Blinov
On Sunday, 6 May 2012 at 01:23:48 UTC, sergeiV wrote: Solved, missed -of: rdmd -Iinclude/Derelict2/import/ -Linclude/Derelict2/lib/libDerelictAL.a -Linclude/Derelict2/lib/libDerelictUtil.a -ofderelict_test test.d This is on Linux? Shouldn't it be something like rdmd -Iinclude/Derelict2/impor

Re: undefined reference - Derelict2

2012-05-06 Thread Jacob Carlborg
On 2012-05-06 03:43, sergeiV wrote: This is ofcourse enough: rdmd -Iinclude/Derelict2/import/ -oftest test.d (rdmd -Iinclude/Derelict2/import/ test.d FAILS) Could anybody explain why an output file specification is necessary? Or is this a bug? I don't know, you should not need to specify the

Re: undefined reference - Derelict2

2012-05-05 Thread sergeiV
On Sunday, 6 May 2012 at 01:23:48 UTC, sergeiV wrote: On Saturday, 5 May 2012 at 23:42:36 UTC, sergeiV wrote: After succesful building of the Derelict libraries using: 'make -flinux.mak DC=dmd', I am unable to compile the provided example code: http://svn.dsource.org/projects/derelict/branches

Re: undefined reference - Derelict2

2012-05-05 Thread sergeiV
On Saturday, 5 May 2012 at 23:42:36 UTC, sergeiV wrote: After succesful building of the Derelict libraries using: 'make -flinux.mak DC=dmd', I am unable to compile the provided example code: http://svn.dsource.org/projects/derelict/branches/Derelict2/doc/index.html They look like linker problems

undefined reference - Derelict2

2012-05-05 Thread sergeiV
After succesful building of the Derelict libraries using: 'make -flinux.mak DC=dmd', I am unable to compile the provided example code: http://svn.dsource.org/projects/derelict/branches/Derelict2/doc/index.html They look like linker problems to me. rdmd test.d -Iinclude/Derelict2/import/ test.o: