Thread overview
x has forward references
Aug 13, 2009
Spacen Jasset
Aug 13, 2009
Jacob Carlborg
Aug 16, 2009
Jos van Uden
Aug 16, 2009
Jacob Carlborg
Aug 16, 2009
Jos van Uden
Aug 16, 2009
Spacen Jasset
Aug 16, 2009
Jos van Uden
Aug 14, 2009
Spacen Jasset
August 13, 2009
Hello, trying to use deteclit with the latest version of dmd 1.047

and I get this error. I don't understand what it means:



derelict\freetype\fttypes.d(827): Error: struct derelict.freetype.fttypes.FT_RasterRec has forward references


line  97: alias FT_RasterRec*         FT_Raster;
line 827: struct FT_RasterRec;
August 13, 2009
On 8/13/09 17:01, Spacen Jasset wrote:
> Hello, trying to use deteclit with the latest version of dmd 1.047
>
> and I get this error. I don't understand what it means:
>
>
>
> derelict\freetype\fttypes.d(827): Error: struct
> derelict.freetype.fttypes.FT_RasterRec has forward references
>
>
> line 97: alias FT_RasterRec* FT_Raster;
> line 827: struct FT_RasterRec;

If use use dmd 1.046 it probably means you hit this bug: http://d.puremagic.com/issues/show_bug.cgi?id=3168

It works with dmd 1.045

/Jacob Carlborg
August 14, 2009
Spacen Jasset wrote:
> Hello, trying to use deteclit with the latest version of dmd 1.047
> 
> and I get this error. I don't understand what it means:
> 
> 
> 
> derelict\freetype\fttypes.d(827): Error: struct derelict.freetype.fttypes.FT_RasterRec has forward references
> 
> 
> line  97: alias FT_RasterRec*         FT_Raster;
> line 827: struct FT_RasterRec;

Oh Ah. Yes that's the one, thank you.
August 16, 2009
Jacob Carlborg Wrote:

> It works with dmd 1.045

Where to get it?

I also tried compiling derelict today. I finally managed to get past the error messages by using the dmd compiler that ships with tango. 1.033 if I remember correctly. The lib folder filled up nicely with files. Then I did a dsss install command. The libs now show up in the dsss/lib folder and there are .di files in the include/derelict folder.

So I tried to compile a little test.d

module derelicttest;

import derelict.opengl.gl;

void main()
{
    DerelictGL.load();
}

The dsss.conf:

[*]
buildflags = -g -gc

[test.d]


I don't know what else to put in there. I'm compiling with dmd 1.046. And get the following message.

D:\Workshop\D\derelict>dsss build
test.d => test
OPTLINK (R) for Win32  Release 8.00.1
Copyright (C) Digital Mars 1989-2004  All rights reserved.
D:\Workshop\D\dsss\lib\\DerelictGL.lib(gl)
 Error 42: Symbol Undefined _D6object9Exception5_ctorMFAaC9ExceptionZC9Exception
--- errorlevel 1
Command D:\Workshop\D\dsss\bin\rebuild.exe returned with code -1, aborting. Error: Command failed, aborting.

If I try it with the 1.033 compiler that ships with tango the list of messages is similar but even longer.






August 16, 2009
On 8/16/09 19:36, Jos van Uden wrote:
> Jacob Carlborg Wrote:
>
>> It works with dmd 1.045
>
> Where to get it?

http://www.digitalmars.com/d/1.0/changelog.html#new1_045

> I also tried compiling derelict today. I finally managed to get past the error messages by using the dmd compiler that ships with tango. 1.033 if I remember correctly. The lib folder filled up nicely with files. Then I did a dsss install command. The libs now show up in the dsss/lib folder and there are .di files in the include/derelict folder.
>
> So I tried to compile a little test.d
>
> module derelicttest;
>
> import derelict.opengl.gl;
>
> void main()
> {
>      DerelictGL.load();
> }
>
> The dsss.conf:
>
> [*]
> buildflags = -g -gc
>
> [test.d]
>
>
> I don't know what else to put in there. I'm compiling with dmd 1.046. And get the following message.
>
> D:\Workshop\D\derelict>dsss build
> test.d =>  test
> OPTLINK (R) for Win32  Release 8.00.1
> Copyright (C) Digital Mars 1989-2004  All rights reserved.
> D:\Workshop\D\dsss\lib\\DerelictGL.lib(gl)
>   Error 42: Symbol Undefined _D6object9Exception5_ctorMFAaC9ExceptionZC9Exception
> --- errorlevel 1
> Command D:\Workshop\D\dsss\bin\rebuild.exe returned with code -1, aborting.
> Error: Command failed, aborting.
>
> If I try it with the 1.033 compiler that ships with tango the list of messages is similar but even longer.
>
>
>
>
>
>

August 16, 2009
Jacob Carlborg Wrote:

> On 8/16/09 19:36, Jos van Uden wrote:
> > Jacob Carlborg Wrote:
> >
> >> It works with dmd 1.045
> >
> > Where to get it?
> 
> http://www.digitalmars.com/d/1.0/changelog.html#new1_045

Thank you. This version does indeed compile the libs, just like 1.033, but I still get the same error when I try to compile the test. When I do the DerelictAL test (alinfo) that comes with the derelict download, it compiles and runs just fine.


August 16, 2009
Jos van Uden wrote:
> Jacob Carlborg Wrote:
> 
>> On 8/16/09 19:36, Jos van Uden wrote:
>>> Jacob Carlborg Wrote:
>>>
>>>> It works with dmd 1.045
>>> Where to get it?
>> http://www.digitalmars.com/d/1.0/changelog.html#new1_045
> 
> Thank you. This version does indeed compile the libs, just like 1.033, but I still get the same error when I try to compile the test. When I do the DerelictAL test (alinfo) that comes with the derelict download, it compiles and runs just fine.
> 
> 
Try zapping all the derelict object and lib files.  I am using 1.045 to get arround the problem for now, but I have not used derelictAL, I do link use these though:

derelictft
derelictgl
derelictglu
derelictsdl
derelictsdlimage
derelictsdlmixer
derelictutil
August 16, 2009
Spacen Jasset Wrote:

> Jos van Uden wrote:
> > Jacob Carlborg Wrote:
> > 
> >> On 8/16/09 19:36, Jos van Uden wrote:
> >>> Jacob Carlborg Wrote:
> >>>
> >>>> It works with dmd 1.045
> >>> Where to get it?
> >> http://www.digitalmars.com/d/1.0/changelog.html#new1_045
> > 
> > Thank you. This version does indeed compile the libs, just like 1.033, but I still get the same error when I try to compile the test. When I do the DerelictAL test (alinfo) that comes with the derelict download, it compiles and runs just fine.
> > 
> > 
> Try zapping all the derelict object and lib files.

That did the trick. Thanks.