POV-Ray : Newsgroups : povray.programming : Compiling POVRAY 3.5 using VC6.0 in Release Mode : Re: Compiling POVRAY 3.5 using VC6.0 in Release Mode Server Time
6 Oct 2024 12:56:04 EDT (-0400)
  Re: Compiling POVRAY 3.5 using VC6.0 in Release Mode  
From: Nicolas Alvarez
Date: 27 Nov 2007 12:29:34
Message: <474c53fe$1@news.povray.org>


>> or is it
>> f:\povwin36> f:\msys\bin\make.exe -f 
>> f:\povwin36\windows\makefiles\makefile.gcc
>> USE_GUI=0 BUILD=debug
> 
> Try it :)

Ok, not so easy.

I tried another program with a makefile, and it indeed works from the 
normal Windows command prompt, without needing MSYS.

path %PATH%;C:\msys\bin;C:\msys\mingw\bin
make

Success.

Then I tried POV-Ray. It complained about config.h missing. Ah yeah, 
edit makefile.gcc, replace all backslashes in paths with normal slashes. 
Or the lazy way, get mine:
http://stuff.povaddict.com.ar/config.h

Tried again, got "Adjust config.h to your compiler!". Edit config.h like 
this:

On lines 55 and 56, replace 1 with 10.
On lines 67, 68, 73, and 74, replace with the correct gcc version. Do 
gcc --version to see what it is (3.4.5 on mine).

Remember to edit optout.h's DISTRIBUTION_MESSAGE2. It will give an error 
if you don't (required by license).


Post a reply to this message

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