[tlbuild] asy2.48
Johannes Hielscher
jhielscher at posteo.de
Thu Mar 28 00:45:40 CET 2019
Am Wed, 27 Mar 2019 16:34:53 -0600
schrieb Karl Berry <karl at freefriends.org>:
> John (Bowman) has released asy 2.48. It is in the usual TL directory
> now, Build/source/utils/asymptote. Please give it a try and send me
> binaries. I will wait until at least tomorrow to install the support
> files, to have a chance of binaries on at least the major platforms.
>
> Nothing else of note in the source tree has changed -- just looking
> for asy (if provided in the past).
>
> Regarding Macs, John warns:
>
> I haven't tested this release under MacOSX; there may well be
> problems with the GLEW library location (or even the existence of
> this library) on that platform; so feedback and patches would be most
> welcome. Apparently Apple has begun phasing out OpenGL support
> (although they say it will still be supported for a while longer).
>
> For myself, I was unable to compile it on tug (centos7), since, I
> guess, I don't have enough of OpenGL installed at the moment.
> (<glm/glm/hpp> not found.) Norbert, can you try please?
Yes, same here on aarch64-linux (Debian Stretch). I had to hand in the
libglm-dev package, but just to find this later on:
g++ -Wall -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -DUSEGC -pthread
-DFFTWPP_SINGLE_THREAD -I. -Igc-8.0.2/include -I/usr/include/tirpc
-ansi -O2 -pipe -fno-var-tracking -o shaders.o -c shaders.cc In file
included from /usr/include/c++/6/unordered_set:35:0, from
shaders.cc:8: /usr/include/c++/6/bits/c++0x_warning.h:32:2: error:
#error This file requires compiler and library support for the ISO C++
2011 standard. This support must be enabled with the -std=c++11 or
-std=gnu++11 compiler options. #error This file requires compiler and
library support \ ^~~~~ Makefile:341: recipe for target 'shaders.o'
failed make[1]: *** [shaders.o] Error 1
So I needed to change the "CXXFLAGS=-ansi" to
"CXXFLAGS=-std=c++11" (from the “Special considerations for asymptote”
section of http://tug.org/texlive/build.html ). Now it builds and
passes all its tests. Whatever that means for those pitiful platforms
where we don't have C++11.
Best,
Johannes
More information about the tlbuild
mailing list