POV-Ray : Newsgroups : povray.programming : Problems Compiling POV 3.01 with Visual C++ 5.0 : Re: Problems Compiling POV 3.01 with Visual C++ 5.0 Server Time
29 Jul 2024 06:20:40 EDT (-0400)
  Re: Problems Compiling POV 3.01 with Visual C++ 5.0  
From: Ron Parker
Date: 29 Jul 1998 10:47:45
Message: <35bf2801.0@news.povray.org>
On Wed, 29 Jul 1998 16:04:57 +0300, Vahur Krouverk <vah### [at] fvaetecee> wrote:
>> Could some one help me with this problem?  Has anyone encountered this
>> error?
>> I'm wondering why comctl32.lib was not one of the linking libraries icluded
>> in the project file
>
>Well, if I remember correctly, then I had same problem. But as said in docs, VC
>is not supported.

It could be that whoever made the VC5 project files never compiled it in
release mode (obviously, given the optimization-related lockup in 
lighting.c.) The VC5 project editor defaults to editing either debug or 
release but not both, so when comctl32 was added, it may have been added 
only to the active target.

>Do You have installed (official) version of PovRay on the same box? Does it
>work? If not, then there may be problem with editor DLL (corrupted).
>Rebuild all files (from Build/rebuild all menu). If this does not work, then
>rebuild again. VC has incremental building ability, which is great, but
>sometimes it just does not work.

Note that rebuilding will not affect editdll.dll, because it is a Delphi
DLL and is not rebuilt from VC++.  I copied the binary editdll.dll from my
official installation of POV, and it does have to be in the same directory
as the executable.  I have not encountered the error the original poster is
seeing.

>Which project target type You have (debug or release)? I had some problems,
>when I tried to compile release version with maximum speed optimization: e.g.
>function splitfn in file pvmisc.c produced incorrect result (input parameter
>filename was modified within function; if I used local variable instead of it,
>all  worked OK). (target could be set from Project/settings menu).

Does SP3 fix this optimization error?


Post a reply to this message

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