View previous topic :: View next topic |
Author |
Message |
clayasaurus
Joined: 21 May 2004 Posts: 857
|
Posted: Mon Nov 26, 2007 10:41 am Post subject: DerelictGL Linker Error in Tango |
|
|
Sorry to revive this thread, but I'm getting this same problem now on Windows with DMD 1.023, Tango Triller release, and derelictgl.
Not really sure what to do.
EDIT from Aldacron: I split this out into a new thread for clarity. The original thread is now linked above. |
|
Back to top |
|
|
aldacron
Joined: 05 May 2004 Posts: 1322 Location: Seoul, South Korea
|
|
Back to top |
|
|
aldacron
Joined: 05 May 2004 Posts: 1322 Location: Seoul, South Korea
|
|
Back to top |
|
|
randomZ
Joined: 04 Dec 2004 Posts: 31 Location: Tuebingen, Germany
|
Posted: Wed Nov 28, 2007 1:08 pm Post subject: |
|
|
I'm having the same problem, in spite of using the latest revision (r278). My setup is the same as clayasaurus'. No error messages except
Code: | .\derelict-opengl-gl.obj(derelict-opengl-gl)
Error 42: Symbol Undefined _GetPixelFormat@4 |
|
|
Back to top |
|
|
clayasaurus
Joined: 21 May 2004 Posts: 857
|
Posted: Mon Dec 03, 2007 3:17 pm Post subject: |
|
|
Yea, the change in the trunk did not fix the problem, for all I know it might have made the problem worse.
The problems probably come from some changes with the newer compilers and tango release, and not have much to do with derelict.
I've switched back to dmd 1.015 and Tango Keep release, and recompiled all my software, and I was able to fix the problem.
The reason I haven't replied is because I haven't had the time.
~ Clay |
|
Back to top |
|
|
aldacron
Joined: 05 May 2004 Posts: 1322 Location: Seoul, South Korea
|
Posted: Mon Dec 03, 2007 8:21 pm Post subject: |
|
|
I realized belatedly that my 'fix' wasn't really a fix at all. I'll have to revert it. I'll also try and make the time to figure out what's going on, but, like Clay, I'm pretty certain this has nothing to do with Derelict. Until I dig into it I can only guess, but it would seem the problem (being that it's a missing symbol) must be with the gdi32 library that ships with DMD. If it that were the case, the same error should show up with Phobos as well. _________________ The One With D | The One With Aldacron | D Bits |
|
Back to top |
|
|
larsivi Site Admin
Joined: 27 Mar 2004 Posts: 453 Location: Trondheim, Norway
|
Posted: Tue Dec 04, 2007 3:24 am Post subject: |
|
|
You should be able to search the gdi32.lib for the relevant symbols. If you have further problems when using Tango with this, please create a ticket so we can track it too, even if it may be an issue DM is responsible for. |
|
Back to top |
|
|
aldacron
Joined: 05 May 2004 Posts: 1322 Location: Seoul, South Korea
|
Posted: Tue Dec 04, 2007 10:32 pm Post subject: |
|
|
OK, I can confirm the most recent problem is a Tango issue. In the latest release, some changes were made in the lib directory. There is no gdi32.lib in tango/lib. There wasn't one in the previous release either, but the symbols were still getting picked up. When I tried to compile a simple DerelictGL app with the latest Tango in my setup (which is rather nonstandard), I got a boatload of missing symbol errors, whereas all works well with previous releases. _________________ The One With D | The One With Aldacron | D Bits |
|
Back to top |
|
|
sean
Joined: 24 Jun 2004 Posts: 609 Location: Bay Area, CA
|
Posted: Thu Dec 20, 2007 9:37 am Post subject: |
|
|
gdi32.lib wasn't part of the Win32 binary distribution of Tango. Now it is. Sorry about that. |
|
Back to top |
|
|
aldacron
Joined: 05 May 2004 Posts: 1322 Location: Seoul, South Korea
|
|
Back to top |
|
|
|