www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - std.math ... exp() ... what library ?

reply Charlie <Charlie_member pathlink.com> writes:
Using std.math.exp in a program i get this linker error.

c:\dmd\bin\..\lib\phobos.lib(math) 
Error 42: Symbol Undefined _expl

Which library do i need to link to ?  Win32.

Charlie
Nov 13 2004
parent reply "Walter" <newshound digitalmars.com> writes:
It's in \dm\lib\snn.lib, which should be linked in automatically.

"Charlie" <Charlie_member pathlink.com> wrote in message
news:cn6ci4$2ubh$1 digitaldaemon.com...
 Using std.math.exp in a program i get this linker error.

 c:\dmd\bin\..\lib\phobos.lib(math)
 Error 42: Symbol Undefined _expl

 Which library do i need to link to ?  Win32.

 Charlie

Nov 13 2004
parent Charlie <Charlie_member pathlink.com> writes:
Updated the lib and it works thanks :).

Charlie

In article <cn6qs0$e6l$1 digitaldaemon.com>, Walter says...
It's in \dm\lib\snn.lib, which should be linked in automatically.

"Charlie" <Charlie_member pathlink.com> wrote in message
news:cn6ci4$2ubh$1 digitaldaemon.com...
 Using std.math.exp in a program i get this linker error.

 c:\dmd\bin\..\lib\phobos.lib(math)
 Error 42: Symbol Undefined _expl

 Which library do i need to link to ?  Win32.

 Charlie


Nov 13 2004