FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

DerelictGL Linker Error in Tango

 
Post new topic   Reply to topic     Forum Index -> Derelict
View previous topic :: View next topic  
Author Message
clayasaurus



Joined: 21 May 2004
Posts: 857

PostPosted: Mon Nov 26, 2007 10:41 am    Post subject: DerelictGL Linker Error in Tango Reply with quote

Sorry to revive this thread, but I'm getting this same problem now on Windows with DMD 1.023, Tango Triller release, and derelictgl.

Confused 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
View user's profile Send private message AIM Address
aldacron



Joined: 05 May 2004
Posts: 1322
Location: Seoul, South Korea

PostPosted: Mon Nov 26, 2007 8:13 pm    Post subject: Reply with quote

OK, Clay. I'll look into it when I get the chance. It may be a couple of days, though.
_________________
The One With D | The One With Aldacron | D Bits
Back to top
View user's profile Send private message Send e-mail
aldacron



Joined: 05 May 2004
Posts: 1322
Location: Seoul, South Korea

PostPosted: Mon Nov 26, 2007 8:23 pm    Post subject: Reply with quote

Forget that couple of days bit. It was a quick fix. No time to test, but it's in the trunk.
_________________
The One With D | The One With Aldacron | D Bits
Back to top
View user's profile Send private message Send e-mail
randomZ



Joined: 04 Dec 2004
Posts: 31
Location: Tuebingen, Germany

PostPosted: Wed Nov 28, 2007 1:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
clayasaurus



Joined: 21 May 2004
Posts: 857

PostPosted: Mon Dec 03, 2007 3:17 pm    Post subject: Reply with quote

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.

Confused The reason I haven't replied is because I haven't had the time.

~ Clay
Back to top
View user's profile Send private message AIM Address
aldacron



Joined: 05 May 2004
Posts: 1322
Location: Seoul, South Korea

PostPosted: Mon Dec 03, 2007 8:21 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
larsivi
Site Admin


Joined: 27 Mar 2004
Posts: 453
Location: Trondheim, Norway

PostPosted: Tue Dec 04, 2007 3:24 am    Post subject: Reply with quote

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
View user's profile Send private message
aldacron



Joined: 05 May 2004
Posts: 1322
Location: Seoul, South Korea

PostPosted: Tue Dec 04, 2007 10:32 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
sean



Joined: 24 Jun 2004
Posts: 609
Location: Bay Area, CA

PostPosted: Thu Dec 20, 2007 9:37 am    Post subject: Reply with quote

gdi32.lib wasn't part of the Win32 binary distribution of Tango. Now it is. Sorry about that.
Back to top
View user's profile Send private message
aldacron



Joined: 05 May 2004
Posts: 1322
Location: Seoul, South Korea

PostPosted: Thu Dec 20, 2007 9:06 pm    Post subject: Reply with quote

Thanks, Sean.
_________________
The One With D | The One With Aldacron | D Bits
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Derelict All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group