POV-Ray : Newsgroups : povray.beta-test : POV-Ray v3.8.0 experimental versions Server Time
26 Dec 2024 18:23:13 EST (-0500)
  POV-Ray v3.8.0 experimental versions (Message 1 to 4 of 4)  
From: clipka
Subject: POV-Ray v3.8.0 experimental versions
Date: 19 Feb 2019 05:09:41
Message: <5c6bd5e5$1@news.povray.org>
Updated version of the experimental features branch:

https://github.com/POV-Ray/povray/releases/tag/v3.8.0-x.10064738


Updated version of the semi-experimental branch using the new TrueType 
implementation:

https://github.com/POV-Ray/povray/releases/tag/v3.8.0-x.freetype.3


Both branches already incldue the fix for Unix/SDL builds.


Post a reply to this message

From: Le Forgeron
Subject: Re: POV-Ray v3.8.0 experimental versions
Date: 19 Feb 2019 13:05:55
Message: <5c6c4583$1@news.povray.org>
Le 19/02/2019 à 11:09, clipka a écrit :
> Updated version of the experimental features branch:
> 
> https://github.com/POV-Ray/povray/releases/tag/v3.8.0-x.10064738
> 
> 
> Updated version of the semi-experimental branch using the new TrueType
> implementation:
> 
> https://github.com/POV-Ray/povray/releases/tag/v3.8.0-x.freetype.3
> 
> 
> Both branches already incldue the fix for Unix/SDL builds.


For the freetype, I now get:

for gnu compiler, disp_sdl.cpp is failing with min(), suggesting
std::min() (same for max / std::max)

g++ -DHAVE_CONFIG_H -I. -I..  -I../unix/povconfig -I.. -I../source
-I../source -I../platform/unix -I../platform/x86 -I../vfe -I../vfe/unix
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2
-I/usr/include/libpng16 -I/usr/include/OpenEXR   -I/usr/include  -pipe
-Wno-multichar -Wno-write-strings -fno-enforce-eh-specs
-Wno-non-template-friend -Wsuggest-override -s -O3 -ffast-math
-march=native -pthread -MT disp_text.o -MD -MP -MF $depbase.Tpo -c -o
disp_text.o disp_text.cpp &&\
mv -f $depbase.Tpo $depbase.Po
disp_sdl.cpp:57:12: error: ‘shared_ptr’ does not name a type; did you
mean ‘char16_t’?
     extern shared_ptr<Display> gDisplay;
disp_sdl.cpp:458:28: error: ‘min’ was not declared in this scope
         unsigned int ix1 = min(x1, GetWidth()-1);



Same issue for clang compiler, but less smart ?

disp_sdl.cpp:57:12: error: no template named 'shared_ptr'
    extern shared_ptr<Display> gDisplay;
           ^
disp_sdl.cpp:184:29: error: use of undeclared identifier 'min'; did you
mean 'fmin'?
                    width = min(modes[0]->w - 10, width);



g++ : 8.2
clang++ : 7.0

About shared_ptr, can it also be a namespace problem (std::shared_ptr) ?


Post a reply to this message

From: clipka
Subject: Re: POV-Ray v3.8.0 experimental versions
Date: 19 Feb 2019 15:03:21
Message: <5c6c6109$1@news.povray.org>
Am 19.02.2019 um 19:05 schrieb Le_Forgeron:

> For the freetype, I now get:
> 
> for gnu compiler, disp_sdl.cpp is failing with min(), suggesting
> std::min() (same for max / std::max)

Did you pull the tagged version?

If you instead pulled the `experimental/freetype` head, that would 
explain why you're seeing the issue: I forgot to push that branch, so 
it's lagging behind. The tagged branch is `autobuild/freetype`.


Post a reply to this message

From: Le Forgeron
Subject: Re: POV-Ray v3.8.0 experimental versions
Date: 19 Feb 2019 15:14:41
Message: <5c6c63b1$1@news.povray.org>
Le 19/02/2019 à 21:03, clipka a écrit :
> Am 19.02.2019 um 19:05 schrieb Le_Forgeron:
> 
>> For the freetype, I now get:
>>
>> for gnu compiler, disp_sdl.cpp is failing with min(), suggesting
>> std::min() (same for max / std::max)
> 
> Did you pull the tagged version?
> 
> If you instead pulled the `experimental/freetype` head, that would
> explain why you're seeing the issue: I forgot to push that branch, so
> it's lagging behind. The tagged branch is `autobuild/freetype`.

oh, far better with autobuild/freetype (yep, i was pumping
experimental/freetype).

Any push soon to fix master too ?


Post a reply to this message

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