Thread overview | |||||
---|---|---|---|---|---|
|
March 01, 2006 linker error: Previous Definition Different : _GL_VERTEX_ARRAY_EXT | ||||
---|---|---|---|---|
| ||||
.objs\Release\src\base\glee\glee_h.obj(glee_h) Offset 0C27AH Record Type 0091 Error 1: Previous Definition Different : _GL_VERTEX_ARRAY_EXT What can cause this linker error? Previously I had all files in /src and I moved them in /src/base (with the already existing subdirectories). I had to add base. to all imports. Original: import glee.glee; import glee.glee_h; Now: import base.glee.glee; import base.glee.glee_h; etc. The program compiles but cannot link and multiple errors like the quoted one are issued when linking. As I see they are all about constants. Cris |
March 01, 2006 Re: linker error: Previous Definition Different : _GL_VERTEX_ARRAY_EXT | ||||
---|---|---|---|---|
| ||||
Posted in reply to Cris | I've found what causes that. I've compiled gl.d too. When I removed gl.d The program compiles and links.
Is there any manual explaining the meaning of the linker and compiler messages?
Cris wrote:
> .objs\Release\src\base\glee\glee_h.obj(glee_h) Offset 0C27AH Record Type 0091
> Error 1: Previous Definition Different : _GL_VERTEX_ARRAY_EXT
>
> What can cause this linker error?
>
> Previously I had all files in /src and I moved them in /src/base (with the already existing subdirectories).
> I had to add base. to all imports.
> Original:
> import glee.glee;
> import glee.glee_h;
>
> Now:
>
> import base.glee.glee;
> import base.glee.glee_h;
>
> etc.
>
> The program compiles but cannot link and multiple errors like the quoted one are issued when linking.
>
> As I see they are all about constants.
>
> Cris
|
March 02, 2006 Re: linker error: Previous Definition Different : _GL_VERTEX_ARRAY_EXT | ||||
---|---|---|---|---|
| ||||
Posted in reply to Cris | "Cris" <central_p@hotmail.com> wrote in message news:du3fr9$2c54$1@digitaldaemon.com... > Is there any manual explaining the meaning of the linker and compiler messages? http://www.digitalmars.com/ctg/OptlinkErrorMessages.html#previous_definition_different |
Copyright © 1999-2021 by the D Language Foundation