POV-Ray : Newsgroups : povray.general : problems compiling latest binary Server Time
1 Nov 2024 01:26:12 EDT (-0400)
  problems compiling latest binary (Message 1 to 4 of 4)  
From: Anthony D  Baye
Subject: problems compiling latest binary
Date: 29 Apr 2018 22:50:01
Message: <web.5ae6839615a02170fd6b6fe10@news.povray.org>
I tried compiling the latest binary to see if it had fixed the problem of the
#debug stream not being displayed in the render info.

I reset my local repository and downloaded a fresh copy from the master, but it
won't build.

Regards,
A.D.B.

....<snip>
In file included from backend/povray.cpp:101:0:
/usr/include/OpenEXR/IlmBaseConfig.h:57:0: warning: c
#define PACKAGE "ilmbase"
 ^
In file included from ../unix/povconfig/syspovconfig.h:63:0,
                 from ../unix/povconfig/syspovconfigbase.h:42,
                 from ./base/configbase.h:41,
                 from ./backend/frame.h:57,
                 from backend/povray.cpp:42:
.../config.h:240:0: note: this is the location of the previous definition
 #define PACKAGE "povray"
 ^
In file included from backend/povray.cpp:101:0:
/usr/include/OpenEXR/IlmBaseConfig.h:60:0: warning: "PACKAGE_BUGREPORT"
redefined [enabled by default]
 #define PACKAGE_BUGREPORT ""
 ^
In file included from ../unix/povconfig/syspovconfig.h:63:0,
                 from ../unix/povconfig/syspovconfigbase.h:42,
                 from ./base/configbase.h:41,
                 from ./backend/frame.h:57,
                 from backend/povray.cpp:42:
.../config.h:243:0: note: this is the location of the previous definition
 #define PACKAGE_BUGREPORT "uni### [at] povrayorg"
 ^
In file included from backend/povray.cpp:101:0:
/usr/include/OpenEXR/IlmBaseConfig.h:63:0: warning: "PACKAGE_NAME" redefined
[enabled by default]
 #define PACKAGE_NAME "IlmBase"
 ^
In file included from ../unix/povconfig/syspovconfig.h:63:0,
                 from ../unix/povconfig/syspovconfigbase.h:42,
                 from ./base/configbase.h:41,
                 from ./backend/frame.h:57,
                 from backend/povray.cpp:42:
.../config.h:246:0: note: this is the location of the previous definition
 #define PACKAGE_NAME "POV-Ray"
 ^
In file included from backend/povray.cpp:101:0:
/usr/include/OpenEXR/IlmBaseConfig.h:66:0: warning: "PACKAGE_STRING" redefined
[enabled by default]
 #define PACKAGE_STRING "IlmBase 1.0.1"
 ^
In file included from ../unix/povconfig/syspovconfig.h:63:0,
                 from ../unix/povconfig/syspovconfigbase.h:42,
                 from ./base/configbase.h:41,
                 from ./backend/frame.h:57,
                 from backend/povray.cpp:42:
.../config.h:249:0: note: this is the location of the previous definition
 #define PACKAGE_STRING "POV-Ray 3.8.0-alpha"
 ^
In file included from backend/povray.cpp:101:0:
/usr/include/OpenEXR/IlmBaseConfig.h:69:0: warning: "PACKAGE_TARNAME" redefined
[enabled by default]
 #define PACKAGE_TARNAME "ilmbase"
 ^
In file included from ../unix/povconfig/syspovconfig.h:63:0,
                 from ../unix/povconfig/syspovconfigbase.h:42,
                 from ./base/configbase.h:41,
                 from ./backend/frame.h:57,
                 from backend/povray.cpp:42:
.../config.h:252:0: note: this is the location of the previous definition
 #define PACKAGE_TARNAME "povray"
 ^
In file included from backend/povray.cpp:101:0:
/usr/include/OpenEXR/IlmBaseConfig.h:75:0: warning: "PACKAGE_VERSION" redefined
[enabled by default]
 #define PACKAGE_VERSION "1.0.1"
 ^
In file included from ../unix/povconfig/syspovconfig.h:63:0,
                 from ../unix/povconfig/syspovconfigbase.h:42,
                 from ./base/configbase.h:41,
                 from ./backend/frame.h:57,
                 from backend/povray.cpp:42:
.../config.h:258:0: note: this is the location of the previous definition
 #define PACKAGE_VERSION "3.8.0-alpha"
 ^
In file included from backend/povray.cpp:101:0:
/usr/include/OpenEXR/IlmBaseConfig.h:85:0: warning: "VERSION" redefined [enabled
by default]
 #define VERSION "1.0.1"
 ^
In file included from ../unix/povconfig/syspovconfig.h:63:0,
                 from ../unix/povconfig/syspovconfigbase.h:42,
                 from ./base/configbase.h:41,
                 from ./backend/frame.h:57,
                 from backend/povray.cpp:42:
.../config.h:298:0: note: this is the location of the previous definition
 #define VERSION "3.8.0-alpha"
 ^
In file included from backend/povray.cpp:102:0:
/usr/include/OpenEXR/OpenEXRConfig.h:63:0: warning: "PACKAGE" redefined [enabled
by default]
 #define PACKAGE "openexr"
 ^
In file included from backend/povray.cpp:101:0:
/usr/include/OpenEXR/IlmBaseConfig.h:57:0: note: this is the location of the
previous definition
 #define PACKAGE "ilmbase"
 ^
In file included from backend/povray.cpp:102:0:
/usr/include/OpenEXR/OpenEXRConfig.h:69:0: warning: "PACKAGE_NAME" redefined
[enabled by default]
 #define PACKAGE_NAME "OpenEXR"
 ^
In file included from backend/povray.cpp:101:0:
/usr/include/OpenEXR/IlmBaseConfig.h:63:0: note: this is the location of the
previous definition
 #define PACKAGE_NAME "IlmBase"
 ^
In file included from backend/povray.cpp:102:0:
/usr/include/OpenEXR/OpenEXRConfig.h:72:0: warning: "PACKAGE_STRING" redefined
[enabled by default]
 #define PACKAGE_STRING "OpenEXR 1.6.1"
 ^
In file included from backend/povray.cpp:101:0:
/usr/include/OpenEXR/IlmBaseConfig.h:66:0: note: this is the location of the
previous definition
 #define PACKAGE_STRING "IlmBase 1.0.1"
 ^
In file included from backend/povray.cpp:102:0:
/usr/include/OpenEXR/OpenEXRConfig.h:75:0: warning: "PACKAGE_TARNAME" redefined
[enabled by default]
 #define PACKAGE_TARNAME "openexr"
 ^
In file included from backend/povray.cpp:101:0:
/usr/include/OpenEXR/IlmBaseConfig.h:69:0: note: this is the location of the
previous definition
 #define PACKAGE_TARNAME "ilmbase"
 ^
In file included from backend/povray.cpp:102:0:
/usr/include/OpenEXR/OpenEXRConfig.h:81:0: warning: "PACKAGE_VERSION" redefined
[enabled by default]
 #define PACKAGE_VERSION "1.6.1"
 ^
In file included from backend/povray.cpp:101:0:
/usr/include/OpenEXR/IlmBaseConfig.h:75:0: note: this is the location of the
previous definition
 #define PACKAGE_VERSION "1.0.1"
 ^
In file included from backend/povray.cpp:102:0:
/usr/include/OpenEXR/OpenEXRConfig.h:91:0: warning: "VERSION" redefined [enabled
by default]
 #define VERSION "1.6.1"
 ^
In file included from backend/povray.cpp:101:0:
/usr/include/OpenEXR/IlmBaseConfig.h:85:0: note: this is the location of the
previous definition
 #define VERSION "1.0.1"
 ^
In file included from ../unix/povconfig/syspovconfigbase.h:42:0,
                 from ./base/configbase.h:41,
                 from ./backend/frame.h:57,
                 from backend/povray.cpp:42:



 #define POV_CPUINFO         CPUInfo::GetFeatures()
                             ^

     std::string cpuInfo(POV_CPUINFO);
                         ^
make[1]: *** [backend/povray.o] Error 1
make[1]: Leaving directory `/home/lblackthorne/Build/povray/source'
make: *** [install-recursive] Error 1


Post a reply to this message

From: clipka
Subject: Re: problems compiling latest binary
Date: 30 Apr 2018 10:42:57
Message: <5ae72b71$1@news.povray.org>
Am 30.04.2018 um 04:46 schrieb Anthony D. Baye:

> I reset my local repository and downloaded a fresh copy from the master, but it
> won't build.

> .....<snip>
> In file included from backend/povray.cpp:101:0:
> /usr/include/OpenEXR/IlmBaseConfig.h:57:0: warning: c
> #define PACKAGE "ilmbase"

Those warnings are entirely unrelated. They're caused by a flaw in the
OpenEXR library header files, and are nothing to worry about.


> In file included from ../unix/povconfig/syspovconfigbase.h:42:0,
>                  from ./base/configbase.h:41,
>                  from ./backend/frame.h:57,
>                  from backend/povray.cpp:42:
> backend/povray.cpp: In function ‘void
> {anonymous}::BuildInitInfo(POVMSObjectPtr)’:
> ..../unix/povconfig/syspovconfig.h:134:29: error: ‘CPUInfo’ has not been
declared
>  #define POV_CPUINFO         CPUInfo::GetFeatures()
>                              ^
> backend/povray.cpp:494:25: note: in expansion of macro ‘POV_CPUINFO’
>      std::string cpuInfo(POV_CPUINFO);
>                          ^

That's the only genuine problem, as far as I can tell.

As is often the case with Unix build errors, at the very least we'll
need the output of `./configure` -- better yet, your `config.log` -- to
diagnose the issue.

Also, since this is related to hardware-specific code, we may need to
know exactly what CPU you're trying to compile on, and information about
your operating system certainly won't hurt either.


Post a reply to this message

From: Anthony D  Baye
Subject: Re: problems compiling latest binary
Date: 4 May 2018 12:55:01
Message: <web.5aec8ffdc9185301fd6b6fe10@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> Am 30.04.2018 um 04:46 schrieb Anthony D. Baye:
>
> > I reset my local repository and downloaded a fresh copy from the master, but it
> > won't build.
>
> > .....<snip>
> > In file included from backend/povray.cpp:101:0:
> > /usr/include/OpenEXR/IlmBaseConfig.h:57:0: warning: c
> > #define PACKAGE "ilmbase"
>
> Those warnings are entirely unrelated. They're caused by a flaw in the
> OpenEXR library header files, and are nothing to worry about.
>
>
> > In file included from ../unix/povconfig/syspovconfigbase.h:42:0,
> >                  from ./base/configbase.h:41,
> >                  from ./backend/frame.h:57,
> >                  from backend/povray.cpp:42:
> > backend/povray.cpp: In function ‘void
> > {anonymous}::BuildInitInfo(POVMSObjectPtr)’:
> > ..../unix/povconfig/syspovconfig.h:134:29: error: ‘CPUInfo’ has not been
declared
> >  #define POV_CPUINFO         CPUInfo::GetFeatures()
> >                              ^
> > backend/povray.cpp:494:25: note: in expansion of macro ‘POV_CPUINFO’
> >      std::string cpuInfo(POV_CPUINFO);
> >                          ^
>
> That's the only genuine problem, as far as I can tell.
>
> As is often the case with Unix build errors, at the very least we'll
> need the output of `./configure` -- better yet, your `config.log` -- to
> diagnose the issue.
>
> Also, since this is related to hardware-specific code, we may need to
> know exactly what CPU you're trying to compile on, and information about
> your operating system certainly won't hurt either.

Sorry for the tardy response.

My system hardware:
CPU: AMD Phenom II x6 1075T
MB: ASUS M5A99FX PRO R2
RAM: 16G DDR3

config.log -> https://pastebin.com/rpXAGu95


Post a reply to this message

From: clipka
Subject: Re: problems compiling latest binary
Date: 4 May 2018 17:17:51
Message: <5aeccdff$1@news.povray.org>
Am 30.04.2018 um 04:46 schrieb Anthony D. Baye:

> .....<snip>
> In file included from backend/povray.cpp:101:0:
> /usr/include/OpenEXR/IlmBaseConfig.h:57:0: warning: c
> #define PACKAGE "ilmbase"
...
...
...
> backend/povray.cpp: In function ‘void
> {anonymous}::BuildInitInfo(POVMSObjectPtr)’:
> ..../unix/povconfig/syspovconfig.h:134:29: error: ‘CPUInfo’ has not been
declared
>  #define POV_CPUINFO         CPUInfo::GetFeatures()
>                              ^
> backend/povray.cpp:494:25: note: in expansion of macro ‘POV_CPUINFO’
>      std::string cpuInfo(POV_CPUINFO);
>                          ^
> make[1]: *** [backend/povray.o] Error 1
> make[1]: Leaving directory `/home/lblackthorne/Build/povray/source'
> make: *** [install-recursive] Error 1

This still doesn't make sense to me, even after looking at your config.log.

Unfortunately, you snipped a bit too much off the `make` output: I guess
I'd need to see the actual compiler invocation for `backend/povray.cpp`.
What you quoted are just the error messages the compiler spit out.

Also, please verify that you have a file "platform/x86/cpuid.h" in your
POV-Ray source directory tree.


Post a reply to this message

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