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

Warning 2: File Not Found gdi32.lib

 
Post new topic   Reply to topic     Forum Index -> ArcLib
View previous topic :: View next topic  
Author Message
mation



Joined: 16 Mar 2008
Posts: 2

PostPosted: Sun Mar 16, 2008 9:11 pm    Post subject: Warning 2: File Not Found gdi32.lib Reply with quote

Im trying to compile the "Hello World" using ArcLib but I get this error:
Quote:
main.d => main
+ C:\dmd\bin\rebuild.exe -Idsss_imports\ -I. -S.\ -IC:\dmd\include\d -SC:\dmd\li
b\ -IC:\dmd\include\d -SC:\dmd\lib -oqdsss_objs\D main.d -ofmain
C:\dmd\bin\link.exe dsss_objs\D\_main+dsss_objs\D\tango-stdc-string+dsss_objs\D\
tango-stdc-stddef+dsss_objs\D\tango-text-Util+dsss_objs\D\tango-stdc-stringz+dss
s_objs\D\tango-core-Version+dsss_objs\D\tango-stdc-stdio+dsss_objs\D\tango-stdc-
stdarg+dsss_objs\D\tango-stdc-config+dsss_objs\D\tango-text-convert-Integer+dsss
_objs\D\tango-stdc-stdlib+dsss_objs\D\tango-util-log-Log+dsss_objs\D\tango-util-
log-Logger+dsss_objs\D\tango-time-Time+dsss_objs\D\tango-util-log-Appender+dsss_
objs\D\tango-util-log-Event+dsss_objs\D\tango-time-Clock+dsss_objs\D\tango-sys-C
ommon+dsss_objs\D\tango-util-log-model-ILevel+dsss_objs\D\tango-util-log-model-I
Hierarchy+dsss_objs\D\tango-util-log-EventLayout+dsss_objs\D\tango-util-log-Hier
archy+dsss_objs\D\tango-text-convert-Layout+dsss_objs\D\tango-text-convert-Utf+d
sss_objs\D\tango-text-convert-Float+dsss_objs\D\tango-math-Math+dsss_objs\D\tang
o-stdc-math+dsss_objs\D\tango-math-IEEE+dsss_objs\D\tango-math-Random+dsss_objs\
D\tango-core-Signal+dsss_objs\D\tango-core-Array+dsss_objs\D\tango-core-Traits+d
sss_objs\D\tango-io-FilePath+dsss_objs\D\tango-io-FileConst+dsss_objs\D\tango-io
-File+dsss_objs\D\tango-io-FileConduit+dsss_objs\D\tango-io-DeviceConduit+dsss_o
bjs\D\tango-io-Conduit+dsss_objs\D\tango-io-model-IConduit+dsss_objs\D\tango-io-
model-IBuffer,main,,user32+kernel32/noi+arc.lib+DerelictGL.lib+DerelictFT.lib+ar
c.lib+DerelictSDLImage.lib+DerelictGLU.lib+arc.lib+DerelictGL.lib+DerelictSDL.li
b+DerelictUtil.lib+.\\+C:\dmd\lib\\+C:\dmd\lib\+tango-user-dmd.lib+tango-user-dm
d.lib;

OPTLINK (R) for Win32 Release 8.00.1
Copyright (C) Digital Mars 1989-2004 All rights reserved.
gdi32.lib
Warning 2: File Not Found gdi32.lib
C:\dmd\lib\\DerelictGL.lib(gl)
Error 42: Symbol Undefined _GetPixelFormat@4
--- errorlevel 1
Command C:\dmd\bin\rebuild.exe returned with code -1, aborting.
Error: Command failed, aborting.


Im using tango-0.99.4-bin-win32-dmd.1.024 and got ArcLib with dsss tonight.

I've seen at this topic: http://www.dsource.org/forums/viewtopic.php?t=3416&sid=486f14a0a3f49c827dbb0edbaa819f3a
The same error as me "Error 42: Symbol Undefined _GetPixelFormat@4" without mentioning the warning.
I've not tried to change in derelictGL/derelict/opengl/gl.d usergdi32.lib for gdi32.lib cos I have none of them in my lib folder.

Any clue? Thanks,
Back to top
View user's profile Send private message
mation



Joined: 16 Mar 2008
Posts: 2

PostPosted: Sun Mar 16, 2008 9:37 pm    Post subject: Reply with quote

Hi again, Problem changed =(
While installing DWT, I got to download some libs and there was gdi32.lib
http://downloads.dsource.org/projects/dwt/dwt-win-importlibs.zip
so now I compile with no errors but when I try to run main.exe nothing occurs. Trying to call it by windows explorer it pops up a DOS window and closes it cos it ended, and with a dos window it just writes a return caracter.

Thanks,
Back to top
View user's profile Send private message
clayasaurus



Joined: 21 May 2004
Posts: 857

PostPosted: Mon Mar 17, 2008 10:04 am    Post subject: Reply with quote

Please download and install this http://downloads.dsource.org/projects/tango/0.99.4/tango-0.99.4-bin-win32-dmd.1.024.zip version of Tango to compile the arc02 tango branch.

When I get time, I may update it to the latest tango, but I currently can't due to DMD Pagesize bugs.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> ArcLib 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