www.digitalmars.com         C & C++   DMDScript  

D - Error while compiling winsamp.

reply "Nico Heiligers" <nheiligers chello.nl> writes:
Can anyone help met with this

I am just looking foor the at D
And i'm trying to compile te windows sample
from the example directory

in an laptop with Windwos XP home.

the console examples compile with no problems
only winsamp does not
Do i miss something here

here are the errors

quote
command =>    dmd winsamp
output
winsamp.obj(winsamp)
 Error 42: Symbol Undefined _SelectObject 8
winsamp.obj(winsamp)
 Error 42: Symbol Undefined _SetTextAlign 8
winsamp.obj(winsamp)
 Error 42: Symbol Undefined _TextOutA 20
winsamp.obj(winsamp)
 Error 42: Symbol Undefined _CreateFontA 56
--- errorlevel 4
unquote

many regards
Nico Heiligers
Mar 29 2004
parent reply C <dont respond.com> writes:
Those are found in the gdi library, you'll need to link to

gdi32.lib

Have fun,
C
On Mon, 29 Mar 2004 22:35:31 +0200, Nico Heiligers <nheiligers chello.nl=
 =
wrote:
 Can anyone help met with this

 I am just looking foor the at D
 And i'm trying to compile te windows sample
 from the example directory

 in an laptop with Windwos XP home.

 the console examples compile with no problems
 only winsamp does not
 Do i miss something here

 here are the errors

 quote
 command =3D>    dmd winsamp
 output
 winsamp.obj(winsamp)
  Error 42: Symbol Undefined _SelectObject 8
 winsamp.obj(winsamp)
  Error 42: Symbol Undefined _SetTextAlign 8
 winsamp.obj(winsamp)
  Error 42: Symbol Undefined _TextOutA 20
 winsamp.obj(winsamp)
  Error 42: Symbol Undefined _CreateFontA 56
 --- errorlevel 4
 unquote

 many regards
 Nico Heiligers
-- = D Newsgroup.
Mar 29 2004
parent "Nico Heiligers" <nheiligers chello.nl> writes:
Many thanks for your help

that was the trick.

Nico Heiligers

"C" <dont respond.com> schreef in bericht news:opr5ncwhaqehmtou localhost...
Those are found in the gdi library, you'll need to link to

gdi32.lib

Have fun,
C
On Mon, 29 Mar 2004 22:35:31 +0200, Nico Heiligers <nheiligers chello.nl>
wrote:

 Can anyone help met with this

 I am just looking foor the at D
 And i'm trying to compile te windows sample
 from the example directory

 in an laptop with Windwos XP home.

 the console examples compile with no problems
 only winsamp does not
 Do i miss something here

 here are the errors

 quote
 command =>    dmd winsamp
 output
 winsamp.obj(winsamp)
  Error 42: Symbol Undefined _SelectObject 8
 winsamp.obj(winsamp)
  Error 42: Symbol Undefined _SetTextAlign 8
 winsamp.obj(winsamp)
  Error 42: Symbol Undefined _TextOutA 20
 winsamp.obj(winsamp)
  Error 42: Symbol Undefined _CreateFontA 56
 --- errorlevel 4
 unquote

 many regards
 Nico Heiligers
-- D Newsgroup.
Mar 30 2004