POV-Ray : Newsgroups : povray.general : Is this a bug? : Re: Is this a bug? Server Time
11 Jun 2024 07:35:57 EDT (-0400)
  Re: Is this a bug?  
From: clipka
Date: 21 Jan 2016 00:03:11
Message: <56a0668f$1@news.povray.org>
Am 21.01.2016 um 02:49 schrieb Ger:

>>>>> A fix is available now at https://github.com/POV-Ray/povray (source
>>>>> code) and https://github.com/c-lipka/povray/releases (semi-official
>>>>> Windows build).
...
> Fails at
> 
> make[1]: Entering directory '/home/ger/Downloads/povray-master/source'
> depbase=`echo backend/interior/interior.o | sed 's|[^/]*$|.deps/&|;s|
> \.o$||'`;\
> g++ -DHAVE_CONFIG_H -I. -I..  -I../unix/povconfig -I.. -I../unix -I../vfe -
> I../vfe/unix -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -
> I/usr/include/OpenEXR  -pthread -I/usr/include  -I/usr/include  -pipe -Wno-
> multichar -Wno-write-strings -fno-enforce-eh-specs -Wno-non-template-friend -
> s -O3 -ffast-math -march=native -pthread -MT backend/interior/interior.o -MD 
> -MP -MF $depbase.Tpo -c -o backend/interior/interior.o 
> backend/interior/interior.cpp &&\
> mv -f $depbase.Tpo $depbase.Po
> In file included from ./backend/render/trace.h:44:0,
>                  from ./backend/interior/media.h:39,
>                  from ./backend/interior/interior.h:37,
>                  from backend/interior/interior.cpp:36:
> ../backend/bounding/bbox.h:59:7: error: redefinition of ‘class pov::Rayinfo’
>  class Rayinfo
>        ^

I have no idea what source code you are compiling there -- it is
definitely /not/ what the doctor prescribed, because all the files
"interior.cpp", "interior.h", "media.h" and "trace.h" and "bbox.h" no
longer reside in the "backend" directory sub-tree.

Let me reiterate: You do /not/ want the "stable" branch. You want "master".

Also, make sure you don't have any zombie source files from the "stable"
branch (or any other older version for that matter) lying around when
building.


The source code in question demonstrably builds fine with both g++ 4.6.3
on Ubuntu 12.04 and with g++ 4.8 on Ubuntu 14.04.


Post a reply to this message

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