1.0: Missing libs errors

2009-08-28 Thread jicman

Greetings and salutations.

I am trying to compile a program that worked fine with 1.030 and juno 0.5.1, 
but I am trying to compile with 1.046.   I am getting this errors:

17:31:50.57build -I..;c:\dmd\import -version=gui -version=Phobos OpenProjs.d
OPTLINK (R) for Win32 Release 8.00.1
Copyright (C) Digital Mars 1989-2004 All rights reserved.
C:\cygwin\home\us319318\source\d\juno\base\native.obj(native) Offset 002D8H 
Record Type 0091
Error 1: Previous Definition Different : _RT_STRING
version.lib
Warning 2: File Not Found version.lib
crypt32.lib
Warning 2: File Not Found crypt32.lib
OpenProjs.obj(OpenProjs)
Error 42: Symbol Undefined _D3dbi3all12__ModuleInfoZ
C:\cygwin\home\us319318\source\d\juno\com\core.obj(core)
Error 42: Symbol Undefined _var...@16
C:\cygwin\home\us319318\source\d\juno\com\core.obj(core)
Error 42: Symbol Undefined _vardec...@8

i have no idea what to do because I don't have any calls to any libs called 
version or crypt32.

Any ideas?

thanks,

josé


Re: What time is it?

2009-08-28 Thread Jarrett Billingsley
On Fri, Aug 28, 2009 at 11:03 PM, jicmancabre...@_wrc.xerox.com wrote:
 Chad J Wrote:

 Max wrote:
  Is there any way in Phobos to measure the current time with microsecond 
  accuracy?
 
  Max

 Might I suggest std.perf?

 I found it here some years ago:
 http://www.digitalmars.com/techtips/timing_code.html

 It even seems to have survived the transition from D1 to D2.

 Oddly enough, this rather useful module never seems to never be included
 in the web documentation.  :(

 Just read the comments in the source file that comes with your compiler.
 {dmd-path}/src/phobos/std/perf.d

 I've always used PerformanceCounter with good results.

 I also use it.  Why does it not get inserted on D1 and D2?

 thanks,

 josé

std.perf was added *years* ago, in D's infancy. It wasn't even written
by Walter, so the docs never made it into the DM pages. The
documentation embedded in it isn't even DDoc, it's Doxygen. It's
always been sort of a misfit.