POV-Ray : Newsgroups : povray.programming : err when compiling with icc in windows Server Time
22 Dec 2024 21:19:05 EST (-0500)
  err when compiling with icc in windows (Message 1 to 4 of 4)  
From: Jevin
Subject: err when compiling with icc in windows
Date: 15 Jan 2004 23:40:01
Message: <web.400766c665023496e6ddb8ee0@news.povray.org>
icl.exe /nologo /D INTELSSE2 /G7 /Zp4 /ML /W3 /GX /Zi /O2 /Ob2 /I
"..\\"
 /I "..\..\source" /I "..\..\source-private" /I "..\..\source\jpeg-6b" /I
"..\..
\source\zlib" /I "..\..\source\lpng121" /I
"..\..\source\tiff-v3.5.7\libtiff" /D
 "NDEBUG" /D "WIN32" /D "_WINDOWS" /D COMMONCTRL_VERSION=0x400 /D
"CLASSLIB_DEFS
_H" /D WINVER=0x0400 /D _WIN32_WINNT=0x0400 /D NOMINMAX /FR".\Release\\"
/Fp".\R
elease\povray.pch" /YX /Fo".\Release\\" /Fd".\Release\\" /FD /TP /Zm200 /c
/Qipo
 ..\pvengine.c
pvengine.c
D:\Program Files\Microsoft SDK\Include\htmlhelp.h(373): error: identifier
"DWORD
_PTR" is undefined
      DWORD_PTR dwData
      ^

D:\Program Files\Microsoft SDK\Include\htmlhelp.h(382): error: identifier
"DWORD
_PTR" is undefined
      DWORD_PTR dwData
      ^

...\pvengine.c(5983): warning #557: pointless comparison of unsigned integer
with
 a negative constant
           for (i = 0 ; key2scroll [i].wVirtkey != -1 ; i++)
                                                ^

compilation aborted for ..\pvengine.c (code 2)
NMAKE : fatal error U1077: 'icl.exe' : return code '0x2'
Stop.



It compiles fine with VC6 and VC6 using icc. But when I try to use just
nmake and the icc makefile I get that error. Any ideas?


Post a reply to this message

From: ABX
Subject: Re: err when compiling with icc in windows
Date: 16 Jan 2004 07:21:45
Message: <nmlf00lpaoog3r4vhk3eh4mruccs77nngi@4ax.com>
On Thu, 15 Jan 2004 23:21:26 EST, "Jevin" <jev### [at] NOSAPMfutagollccom>
wrote:
> It compiles fine with VC6 and VC6 using icc. But when I try to use just
> nmake and the icc makefile I get that error. Any ideas?

My htmlhelp.h contains line:

#ifndef _WIN64
#define DWORD_PTR DWORD
#endif

Do you have _WIN64 defined?

ABX


Post a reply to this message

From: Jevin
Subject: Re: err when compiling with icc in windows
Date: 16 Jan 2004 15:45:02
Message: <web.40084c7f7a3bf37ce6ddb8ee0@news.povray.org>
ABX wrote:
>On Thu, 15 Jan 2004 23:21:26 EST, "Jevin" <jev### [at] NOSAPMfutagollccom>
>wrote:
>> It compiles fine with VC6 and VC6 using icc. But when I try to use just
>> nmake and the icc makefile I get that error. Any ideas?
>
>My htmlhelp.h contains line:
>
>#ifndef _WIN64
>#define DWORD_PTR DWORD
>#endif
>
>Do you have _WIN64 defined?
>
>ABX
>
No, and I shouldn't because im win32. If I just add a #define DWORD_PTR
DWORD without any if statements (and force it to be defined) it compiles
without error. Is htmlhelp.h incorrect?


Post a reply to this message

From: W&#322;odzimierz ABX Skiba
Subject: Re: err when compiling with icc in windows
Date: 17 Jan 2004 13:30:02
Message: <web.40097e307a3bf37c3d501aeb0@news.povray.org>
Jevin wrote:
> >Do you have _WIN64 defined?
> >
> >ABX
>
> No, and I shouldn't because im win32.

You don't have to be on 64 bits platform to compile for 64 bit platform. The
_WIN64 comes from your SDK which can be configured for many targets (W2K,
XP, 32, 64 bits)

> If I just add a #define DWORD_PTR
> DWORD without any if statements (and force it to be defined) it compiles
> without error. Is htmlhelp.h incorrect?

I would rather said SDK is wrongly configured.

ABX


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.