|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
i was able to get it to compile on fedora 23 but i get the following error on
fedora 24:
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 -pthread
-I/usr/include/OpenEXR -I/usr/include/libdrm -pthread -I/usr/lib64/include
-I/usr/include -pipe -Wno-multichar -Wno-write-strings -fno-enforce-eh-specs
-Wno-non-template-friend -s -O3 -ffast-math -march=native -Wno-multichar
-pthread -MT frontend/renderfrontend.o -MD -MP -MF $depbase.Tpo -c -o
frontend/renderfrontend.o frontend/renderfrontend.cpp &&\
mv -f $depbase.Tpo $depbase.Po
pov_frontend::RenderFrontendBase::NewBackup(POVMS_Object&,
if(vd.imageBackup->write(&hdr, sizeof(hdr)) == false)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
pov_frontend::RenderFrontendBase::ContinueBackup(POVMS_Object&,
pov_frontend::ViewData&, pov_frontend::RenderFrontendBase::ViewId, int&,
if (inbuffer->read (&hdr, sizeof (hdr)) == false)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
Makefile:1155: recipe for target 'frontend/renderfrontend.o' failed
make[2]: *** [frontend/renderfrontend.o] Error 1
make[2]: Leaving directory '/data2/archives/programs/povray-master/source'
Makefile:662: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/data2/archives/programs/povray-master'
Makefile:455: recipe for target 'all' failed
make: *** [all] Error 2
can anyone offer any assistance ?
Thank you
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Le 01/07/2016 05:27, RM a écrit :
> i was able to get it to compile on fedora 23 but i get the following error on
> fedora 24:
>
>
> can anyone offer any assistance ?
> Thank you
Which version of code ? (stable or master branch ?)
What is the version of g++ on fedora 24 ?
Can you try another compiler ? (like clang)
(I only have an ubuntu here)
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Le_Forgeron <jgr### [at] freefr> wrote:
> Which version of code ? (stable or master branch ?)
master 3.7.1-alpha.8656843
> What is the version of g++ on fedora 24 ?
GCC 6.11
> Can you try another compiler ? (like clang)
clang is available for fedora 24
what options do i set to use it instead of gcc?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Le 02/07/2016 01:12, RM a écrit :
> Le_Forgeron <jgr### [at] freefr> wrote:
>
>> Which version of code ? (stable or master branch ?)
> master 3.7.1-alpha.8656843
>> What is the version of g++ on fedora 24 ?
> GCC 6.11
Oh, interesting change, the default mode is gnu++14 instead of gnu++98
It seems IOBase is now missing something like
operator bool()const{...}
but deeper analysis might be needed.
Or instead of ( X.write() == false ), it could be rewritten ( !(X.write()) == true )
or even ( !(X.write()) ) as == true is implicit
I guess that previously the operator const void*() was used by previous standard to
get an evaluation of the test
>> Can you try another compiler ? (like clang)
>
> clang is available for fedora 24
> what options do i set to use it instead of gcc?
>
On the ./configure command line, add CXX=clang++ CC=clang
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Le_Forgeron <jgr### [at] freefr> wrote:
> Oh, interesting change, the default mode is gnu++14 instead of gnu++98
Before trying clang i tried this:
.../configure COMPILED_BY="RSM" --with-boost=/usr/lib64
--disable-io-restrictions
--with-boost-thread=boost_thread LIBS=-Lboost_system CXXFLAGS="-Wno-multichar
-std=gnu++98" LDFLAGS="-L/usr/lib64"
and make check worked
Thank you for your help Le_Forgeron
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |