<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
Hello Mathieu,<br>
thanks for quick answer!! I downloaded latest CVS <br>
[ <tt>cvs
-d:pserver:anonymous@cvs.creatis.insa-lyon.fr:2402/cvs/public co gdcm</tt>.
]<br>
<br>
and after 1.0 version <br>
[ <tt>cvs
-d:pserver:anonymous@cvs.creatis.insa-lyon.fr:2402/cvs/public co -r
Version1_0 gdcm</tt>. ]<br>
<br>
In both I met the same problem.<br>
<br>
Changes needed to love BCB (Borland C++ Builder 6, not free compiler)
are in gdcmCommon.h I made:<br>
<br>
// Broken plateform do not respect C99 and do not provide those typedef<br>
#if defined(_MSC_VER)<br>
typedef signed char int8_t;<br>
typedef signed short int16_t;<br>
typedef signed int int32_t;<br>
typedef unsigned char uint8_t;<br>
typedef unsigned short uint16_t;<br>
typedef unsigned int uint32_t;<br>
#define UINT32_MAX (4294967295U)<br>
#endif<br>
<br>
#ifdef __BORLANDC__<br>
#include <stdint.h><br>
#include <ctype.h><br>
#include <stdlib.h><br>
#endif<br>
<br>
<br>
but if I made it wrong please tell me.<br>
Thanks,<br>
<br>
Luca<br>
<br>
<br>
<br>
<br>
<br>
Mathieu Malaterre wrote:
<blockquote
cite="mid200506021558.j52FwST5017872@rrcs-mta-03.hrndva.rr.com"
type="cite">
<pre wrap="">Luca,
Could you include the version of gdcm you are using ? gdcm is being compiled AND run nightly with bcc32. As far as I know there is not a single line of code you need to change. Please use the latest gdcm 1.0 version.
Thanks
Mathieu
Ps: look for a file called winbase.h the GetTickcount is defined here.
</pre>
<blockquote type="cite">
<pre wrap="">*I would like to use Dcmlib in VTK, using Borland C++ Builder compiler.*
*I adjusted some header files but I cannot make it run because:*
*Z:\gdcm\src\gdcmUtil.cxx:*
*Error E2316 Z:\gdcm\src\gdcmUtil.cxx 284: 'Util::GetTickCount()' is not
a member of 'Util'*
**** 1 errors in Compile ****
*Searching for GetTickCount() in all directories I can't find it so I
believe it is Windows GetTickCount() API function... or not?
*
*thanks for any help in advance,*
*Picello Luca*
*
*
</pre>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Dcmlib mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dcmlib@creatis.insa-lyon.fr">Dcmlib@creatis.insa-lyon.fr</a>
<a class="moz-txt-link-freetext" href="http://www.creatis.insa-lyon.fr/mailman/listinfo/dcmlib">http://www.creatis.insa-lyon.fr/mailman/listinfo/dcmlib</a>
</pre>
</blockquote>
</blockquote>
<br>
</body>
</html>