vectorgraphics / asymptote

2D & 3D TeX-Aware Vector Graphics Language
https://asymptote.sourceforge.io/
GNU General Public License v3.0
547 stars 90 forks source link

Problem with 'quiet' setting. #305

Closed AxiomOfChoices closed 2 years ago

AxiomOfChoices commented 2 years ago

For some reason every time I try to do anything with asymptote it gives me this message

Cannot find setting named 'quiet'

And I instantly closes. I am using WSL2 with Ubuntu 22 and asymptote version 9.75. And I have already tried using -noquiet and quiet=false in the config.asy and nothing has worked so far.

johncbowman commented 2 years ago

You must be mixing incompatible versions of the Asymptote binary and base files; this indicates an installation problem.

There is no version 9.75 of Asymptote.

The solution is to uninstall all versions of Asymptote on your system and reinstall the latest stable version, 2.78 from https://asymptote.sourceforge.io/

AxiomOfChoices commented 2 years ago

Yeah my apologies that was a typo my version was 2.75, I had originally tried the ubuntu distribution install because I couldn't get it to install from source.

After a lot of fixing and tampering I managed to somehow install it but now it gives me this error:

runtime: to support onscreen OpenGL rendering; please install the glut library, then ./configure; make

I have installed the glut library and the development package and another few to boot but I cannot get that message to disappear.

johncbowman commented 2 years ago

When you run ./configure it will warn you of any missing libraries that force it to disable OpenGL. For example, a missing glm-devel is often the culprit.

johncbowman commented 2 years ago

Under Ubuntu, you can install the required dependencies easily like this

apt-get build-dep asymptote

AxiomOfChoices commented 2 years ago

Ok so I it took a while but I got build-dep to work and ./configure now only shows these two errors

checking for curl_easy_init in -lcurl... no
configure: *** Could not find libcurl: will compile without optional URL support. ***
checking for opendir in -lboost_filesystem... no
configure: *** Could not find libboost_filesystem: will compile without optional Language Server Protocol. ***
checking for history_list in -lreadline... yes

But after installing it still shows the problematic OpenGL message so I am not sure what to do.

johncbowman commented 2 years ago

Please post the output of ./asy --version and the complete output of ./configure

johncbowman commented 2 years ago

P.S. Make sure you are compiling Asymptote 2.78. We don't support obsolete versions.

AxiomOfChoices commented 2 years ago

This is asy --version:

Asymptote version 2.78 [(C) 2004 Andy Hammerlindl, John C. Bowman, Tom Prince]

ENABLED OPTIONS:
SSBO     GLSL shader storage buffer objects
XDR      External Data Representation (portable binary file format for V3D)
GC       Boehm garbage collector
threads  Render OpenGL in separate thread

DISABLED OPTIONS:
V3D      3D vector graphics output
WebGL    3D HTML rendering
OpenGL   3D OpenGL rendering
GSL      GNU Scientific Library (special functions)
FFTW3    Fast Fourier transforms
CURL     URL support
LSP      Language Server Protocol
Readline Interactive history and editing
Editline interactive editing (if Readline is unavailable)
Sigsegv  Distinguish stack overflows from segmentation faults

and this is the output of configure:

checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
Compiling with -std=c++14
checking for kpsewhich... true
checking for kpsewhich... (cached) true
checking for texi2dvi... texi2dvi
configure: Using /usr/local/texlive/texmf-local/tex/latex/asymptote for LaTeX style file
configure: Using /usr/local/texlive/texmf-local/tex/context/third/asymptote for ConTeXT style file
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... none needed
checking whether yytext is a pointer... no
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether make sets $(MAKE)... yes
checking for bison... bison -y
checking how to run the C++ preprocessor... g++ -E
checking tr1/unordered_map usability... yes
checking tr1/unordered_map presence... yes
checking for tr1/unordered_map... yes
checking for gc-8.2.0.tar.gz... no
checking gc.h usability... yes
checking gc.h presence... yes
checking for gc.h... yes
checking for GC_malloc in -lgc... yes
configure: enabling system Boehm Garbage Collector
checking for getopt_long_only... yes
checking for library containing lgamma... none required
checking for deflate in -lz... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for stackoverflow_install_handler in -lsigsegv... yes
checking for sched_yield in -lrt... yes
checking for curl_easy_init in -lcurl... no
configure: *** Could not find libcurl: will compile without optional URL support. ***
checking for opendir in -lboost_filesystem... no
configure: *** Could not find libboost_filesystem: will compile without optional Language Server Protocol. ***
checking for history_list in -lreadline... yes
checking for tgetent in -ltinfo... yes
checking ncurses/curses.h usability... no
checking ncurses/curses.h presence... no
checking for ncurses/curses.h... no
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for setupterm in -lncurses... yes
checking fftw3.h usability... yes
checking fftw3.h presence... yes
checking for fftw3.h... yes
checking for fftw_execute in -lfftw3... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking fenv.h usability... yes
checking fenv.h presence... yes
checking for fenv.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking fpu_control.h usability... yes
checking fpu_control.h presence... yes
checking for fpu_control.h... yes
checking for feenableexcept... yes
checking for library containing xdrstdio_create... -ltirpc
checking gsl/gsl_sf.h usability... yes
checking gsl/gsl_sf.h presence... yes
checking for gsl/gsl_sf.h... yes
checking for gsl_sf_debye_6 in -lgsl... yes
checking glm/glm.hpp usability... yes
checking glm/glm.hpp presence... yes
checking for glm/glm.hpp... yes
checking for ncurses/curses.h... (cached) no
checking for ncurses.h... (cached) yes
checking for GC_throw_bad_alloc in -lgccpp... no
checking for glutMainLoop in -lglut... yes
checking for glDepthMask in -lGL... yes
checking for glXGetProcAddressARB in -lGLX... yes
checking for pid_t... yes
checking for size_t... yes
checking for ptrdiff_t... yes
checking for long long... yes
checking for long... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for dup2... yes
checking for floor... yes
checking for memset... yes
checking for strchr... yes
checking for tgamma... yes
checking for lgamma... yes
checking for memrchr... yes
checking for popcount... no
checking for strftime... yes
checking for error_at_line... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for strptime... yes
checking for strnlen... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating doc/png/Makefile
config.status: creating config.h
config.status: config.h is unchanged

As far as I can tell this is definitely 2.78.

johncbowman commented 2 years ago

Can you please go the directory where you ran ./configure and type exactly the following:

make
./asy --version

Don't forget the ./ otherwise you may be accessing another version of asy in your path.

AxiomOfChoices commented 2 years ago

This time the output is:

Asymptote version 2.78 [(C) 2004 Andy Hammerlindl, John C. Bowman, Tom Prince]

ENABLED OPTIONS:
V3D      3D vector graphics output
WebGL    3D HTML rendering
OpenGL   3D OpenGL rendering
SSBO     GLSL shader storage buffer objects
GSL      GNU Scientific Library (special functions)
FFTW3    Fast Fourier transforms
XDR      External Data Representation (portable binary file format for V3D)
Readline Interactive history and editing
Sigsegv  Distinguish stack overflows from segmentation faults
GC       Boehm garbage collector
threads  Render OpenGL in separate thread

DISABLED OPTIONS:
CURL     URL support
LSP      Language Server Protocol
johncbowman commented 2 years ago

Congratulations; this version has OpenGL support! Please delete the other version of asy from your system. Glad to have helped!

AxiomOfChoices commented 2 years ago

Hi, I'm really sorry to keep bothering you with this but unfortunately the built version (the one where I ran ./configure) now runs into the original Cannot find setting named 'quiet' problem :((.

johncbowman commented 2 years ago

You must be still using base files from another version of Asympote (please track these obsolete versions down and delete them).

Go to the directory where you ran ./configure and try your example, specifying the correct location for the base files: ./asy -dir base

You will probably want to do a make install to install this version and its base files system wide.

AxiomOfChoices commented 2 years ago

Unfortunately even ./asy -dir base fails again with the same problem, I have been trying to remove all other versions of asymptote but honestly I am not too sure where they could be storing their files so I don't know how successful I have been.

➜  asymptote-2.78 git:(master) ✗ ./asy -dir base ../Riemann\ Sphere.asy
Cannot find setting named 'quiet'
johncbowman commented 2 years ago

Please post the output of exactly these commands (run in the same directory where you succesfully ran ./configure):

./asy --version
./asy -dir base -vvv examples/RiemannSphere.asy

To track down unwanted installations, you can use standard tools like which asy and locate asy as well as your package manager.

AxiomOfChoices commented 2 years ago

./asy --version outputs the following to stderr:

Asymptote version 2.78 [(C) 2004 Andy Hammerlindl, John C. Bowman, Tom Prince]

ENABLED OPTIONS:
V3D      3D vector graphics output
WebGL    3D HTML rendering
OpenGL   3D OpenGL rendering
SSBO     GLSL shader storage buffer objects
GSL      GNU Scientific Library (special functions)
FFTW3    Fast Fourier transforms
XDR      External Data Representation (portable binary file format for V3D)
Readline Interactive history and editing
Sigsegv  Distinguish stack overflows from segmentation faults
GC       Boehm garbage collector
threads  Render OpenGL in separate thread

DISABLED OPTIONS:
CURL     URL support
LSP      Language Server Protocol

And ./asy -dir base -vvv examples/RiemannSphere.asy outputs the following to stdout

Welcome to Asymptote version 2.78
cd /home/solareklipse/Uni-Notes-2021/Math 577 Geometry and Topology 2/pictures/asymptote-2.78
Processing RiemannSphere
This is pdfTeX, Version 3.141592653-2.6-1.40.23 (TeX Live 2021) (preloaded format=latex)
 restricted \write18 enabled.
entering extended mode
LaTeX2e <2021-11-15> patch level 1
L3 programming layer <2021-11-22>
(./RiemannSphere_.tex
(/usr/local/texlive/2021/texmf-dist/tex/latex/base/article.cls
Document Class: article 2021/10/04 v1.4n Standard LaTeX document class
(/usr/local/texlive/2021/texmf-dist/tex/latex/base/size12.clo))
(/usr/local/texlive/2021/texmf-dist/tex/latex/l3backend/l3backend-dvips.def)
No file RiemannSphere_.aux.
[1] [2] [3] (./RiemannSphere_.aux) )
Output written on RiemannSphere_.dvi (3 pages, 2444 bytes).
Transcript written on RiemannSphere_.log.

adjusting camera to (6.69686903642676,5.35783998843826,2.16406004767952)
adjusting target to (0.0910687941067325,0.0731997945822317,0.0973667489972777)
GLSL version 3.30
No SSBO support; order-independent transparency unavailable
Exporting RiemannSphere as 1140x472 image using tiles of size 570x472
6 tiles drawn
Wrote RiemannSphere.pdf
adjusting camera to (6.69686903642676,5.35783998843826,2.16406004767952)
adjusting target to (0.0910687941067325,0.0731997945822317,0.0973667489972777)

And this to stderr

Using configuration directory /home/solareklipse/.asy
Loading config.asy from /home/solareklipse/.asy/config.asy
Using history /home/solareklipse/.asy/history
Loading plain from base/plain.asy
Including plain_constants from base/plain_constants.asy
Loading version from base/version.asy
Including plain_strings from base/plain_strings.asy
Including plain_pens from base/plain_pens.asy
Including plain_paths from base/plain_paths.asy
Including plain_filldraw from base/plain_filldraw.asy
Including plain_margins from base/plain_margins.asy
Including plain_picture from base/plain_picture.asy
Loading plain_scaling from base/plain_scaling.asy
Loading simplex from base/simplex.asy
Loading plain_bounds from base/plain_bounds.asy
Including plain_scaling from base/plain_scaling.asy
Including plain_prethree from base/plain_prethree.asy
Including plain_Label from base/plain_Label.asy
Including plain_arcs from base/plain_arcs.asy
Including plain_boxes from base/plain_boxes.asy
Including plain_shipout from base/plain_shipout.asy
Including plain_markers from base/plain_markers.asy
Including plain_arrows from base/plain_arrows.asy
Including plain_debugger from base/plain_debugger.asy
Loading examples/RiemannSphere.asy from examples/RiemannSphere.asy
Loading graph3 from base/graph3.asy
Loading math from base/math.asy
Loading graph from base/graph.asy
Loading graph_splinetype from base/graph_splinetype.asy
Loading graph_settings from base/graph_settings.asy
Loading three from base/three.asy
Loading embed from base/embed.asy
Including three_light from base/three_light.asy
Including three_surface from base/three_surface.asy
Loading bezulate from base/bezulate.asy
Loading interpolate from base/interpolate.asy
Including three_margins from base/three_margins.asy
Including three_tube from base/three_tube.asy
Including three_arrows from base/three_arrows.asy
Loading solids from base/solids.asy
latex \scrollmode
This is pdfTeX, Version 3.141592653-2.6-1.40.23 (TeX Live 2021) (preloaded format=latex)
 restricted \write18 enabled.
entering extended mode
LaTeX2e <2021-11-15> patch level 1
L3 programming layer <2021-11-22>

*
\documentclass[12pt]{article}
\let\paperwidthsave\paperwidth\let\paperwidth\undefined
\usepackage{graphicx}
\let\paperwidth\paperwidthsave
\newbox\ASYbox
\newdimen\ASYdimen
\def\ASYprefix{}
\long\def\ASYbase#1#2{\leavevmode\setbox\ASYbox=\hbox{#1}%\ASYdimen=\ht\ASYbox%
\setbox\ASYbox=\hbox{#2}\lower\ASYdimen\box\ASYbox}
\makeatletter
\def\Ginclude@eps#1{%
 \message{<#1>}%
  \bgroup
  \def\@tempa{!}%
  \dimen@\Gin@req@width
  \dimen@ii.1bp%
  \divide\dimen@\dimen@ii
  \@tempdima\Gin@req@height
  \divide\@tempdima\dimen@ii
    \special{PSfile=#1\space
      llx=\Gin@llx\space
      lly=\Gin@lly\space
      urx=\Gin@urx\space
      ury=\Gin@ury\space
      \ifx\Gin@scalex\@tempa\else rwi=\number\dimen@\space\fi
      \ifx\Gin@scaley\@tempa\else rhi=\number\@tempdima\space\fi
      \ifGin@clip clip\fi}%
  \egroup}
\makeatother
\begin{document}
\makeatletter%
\let\ASYencoding\f@encoding%
\let\ASYfamily\f@family%
\let\ASYseries\f@series%
\let\ASYshape\f@shape%
\makeatother%
\fontsize{8}{9.6}\selectfont%

(Please type a command or say `\end')
*
*(/usr/local/texlive/2021/texmf-dist/tex/latex/base/article.cls
Document Class: article 2021/10/04 v1.4n Standard LaTeX document class
(/usr/local/texlive/2021/texmf-dist/tex/latex/base/size12.clo))
*
*(/usr/local/texlive/2021/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2021/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2021/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(/usr/local/texlive/2021/texmf-dist/tex/latex/graphics-def/dvips.def)))
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*(/usr/local/texlive/2021/texmf-dist/tex/latex/l3backend/l3backend-dvips.def)
No file texput.aux.

*
*
*
*
*
*
*
*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{$(0,0,1)$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(26.91705pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(6.0pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(2.0pt)dim

*\fontsize{8}{9.6}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{$(u,v,w)$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(29.8291pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(6.0pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(2.0pt)dim

*\fontsize{8}{9.6}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{$(x,y,0)$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(27.69019pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(6.0pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(2.0pt)dim

*\fontsize{8}{9.6}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{$(0,0,1)$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(26.91705pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(6.0pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(2.0pt)dim

*\fontsize{8}{9.6}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{$(0,0,1)$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(26.91705pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(6.0pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(2.0pt)dim

*\fontsize{8}{9.6}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{$(u,v,w)$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(29.8291pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(6.0pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(2.0pt)dim

*\fontsize{8}{9.6}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{$(u,v,w)$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(29.8291pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(6.0pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(2.0pt)dim

*\fontsize{8}{9.6}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{$(x,y,0)$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(27.69019pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(6.0pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(2.0pt)dim

*\fontsize{8}{9.6}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{$(x,y,0)$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(27.69019pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(6.0pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(2.0pt)dim

*latex -output-format=dvi \nonstopmode\input RiemannSphere_.tex
dvips -R -Pdownload35 -D600 -oRiemannSphere_.ps RiemannSphere_.dvi
This is dvips(k) 2021.1 Copyright 2021 Radical Eye Software (www.radicaleye.com)
' TeX output 2022.02.10:2016' -> RiemannSphere_.ps
</usr/local/texlive/2021/texmf-dist/dvips/base/tex.pro>
</usr/local/texlive/2021/texmf-dist/dvips/l3backend/l3backend-dvips.pro>
</usr/local/texlive/2021/texmf-dist/dvips/base/texps.pro>
</usr/local/texlive/2021/texmf-dist/dvips/base/special.pro>. 
</usr/local/texlive/2021/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi8.pfb>
</usr/local/texlive/2021/texmf-dist/fonts/type1/public/amsfonts/cm/cmr8.pfb>
[1] [2] [3] 
gs -q -dBATCH -P -dSAFER -sDEVICE=ps2write -sOutputFile=/dev/null RiemannSphere_.ps
M 16.5637 22.0573C 15.7564 23.3724 16.5637 23.3724 16.5637 22.5781C 14.5715 22.4479 15.4309 23.3073 15.496 23.3724C -16.5613 11.1198 -6.28784 11.1198 6.02985 13.3724C -47.616 22.3828 -44.5691 19.0104 -35.6238 11.1198C -48.879 23.3724 -48.5405 23.3724 -48.4753 23.3073C -49.6733 22.4479 -49.6733 23.112 -49.2045 23.3724C -45.6889 17.5521 -46.2878 18.0729 -49.6733 21.3932C -16.5613 6.82291 -24.504 6.82291 -36.4181 8.67188C 16.5637 22.0573 10.1965 13.0469 -1.71753 6.82291cM -21.1186 59.3815C -36.7566 56.4649 -32.5118 58.6524 -28.2149 59.3815C -44.0352 44.5508 -44.0352 48.1966 -42.5769 53.5612C -35.9623 32.2331 -37.8113 33.1576 -44.0352 36.2044C -21.1186 29.7201 -24.5691 29.7201 -31.1186 29.8503C -4.7644 33.0924 -10.0639 29.9154 -16.7566 29.7201C 1.39447 44.5508 1.39447 41.0352 0.131409 36.1393C -6.15765 56.7383 0.404846 53.418 1.39447 47.7279C -21.1186 59.3815 -16.8217 59.3815 -10.9233 59.1862cM -0.467529 44.5508C -8.47534 36.3346 -1.52222 37.7279 -0.467529 42.2982C -21.9128 35.6055 -18.4753 35.6055 -12.2514 35.6055C -34.7644 36.3346 -31.1186 35.6055 -26.4832 35.6055C -42.1863 44.5508 -42.1863 42.8971 -41.5222 37.7279C -35.0378 52.6888 -41.0535 51.3737 -42.1863 46.8034C -21.9128 53.4831 -26.418 53.4831 -31.392 53.4831C -8.34515 52.6888 -12.0561 53.4831 -18.0066 53.4831C -0.467529 44.5508 -0.467529 46.7383 -1.39203 51.3086cM 0.0012207 61.9955M -0.988342 74.3783C 11.1992 69.3522 7.08453 73.4538 3.30853 74.3783C 11.8502 68.9486 11.5247 68.9486 11.3945 69.0788C 12.7877 69.9381 12.7877 69.4825 12.384 68.9486C -0.194092 76.2403 7.55328 76.2403 12.7877 70.7325C -7.35553 71.735 -7.35553 74.6387 -4.4389 76.2403C -3.70972 68.0892 -5.49359 68.0892 -7.35553 69.4173C 0.0012207 71.8001 0.0012207 69.3522 -1.84772 68.0892C -0.988342 74.3783 -0.923279 74.3783 0.0012207 73.3887cM 0.0012207 81.9922M -21.1186 126.374C -36.7566 123.457 -32.5118 125.645 -28.2149 126.374C -44.0352 111.543 -44.0352 115.189 -42.5769 120.553C -35.9623 99.2253 -37.8113 100.15 -44.0352 103.197C -21.1186 96.7122 -24.5691 96.7122 -31.1186 96.8424C -4.7644 100.085 -10.0639 96.9076 -16.7566 96.7122C 1.39447 111.543 1.39447 108.027 0.131409 103.132C -6.15765 123.73 0.404846 120.41 1.39447 114.72C -21.1186 126.374 -16.8217 126.374 -10.9233 126.178cM -0.467529 111.543C -8.47534 103.327 -1.52222 104.72 -0.467529 109.29C -21.9128 102.598 -18.4753 102.598 -12.2514 102.598C -34.7644 103.327 -31.1186 102.598 -26.4832 102.598C -42.1863 111.543 -42.1863 109.889 -41.5222 104.72C -35.0378 119.681 -41.0535 118.366 -42.1863 113.796C -21.9128 120.475 -26.418 120.475 -31.392 120.475C -8.34515 119.681 -12.0561 120.475 -18.0066 120.475C -0.467529 111.543 -0.467529 113.73 -1.39203 118.301cM 0.0012207 128.988M -0.988342 141.37C 11.1992 136.344 7.08453 140.446 3.30853 141.37C 11.8502 135.941 11.5247 135.941 11.3945 136.071C 12.7877 136.93 12.7877 136.475 12.384 135.941C -0.194092 143.232 7.55328 143.232 12.7877 137.725C -7.35553 138.727 -7.35553 141.631 -4.4389 143.232C -3.70972 135.081 -5.49359 135.081 -7.35553 136.41C 0.0012207 138.792 0.0012207 136.344 -1.84772 135.081C -0.988342 141.37 -0.923279 141.37 0.0012207 140.381cM 0.0012207 148.984M -42.1863 181.781C -44.0352 179.867 -44.0352 181.65 -43.9702 181.781C -39.8035 167.34 -39.8035 173.63 -41.392 177.145L -37.616 167.34C -39.3998 176.546 -37.616 172.705 -37.616 169.137L -5.42847 176.546C -2.18628 170.062 -2.18628 176.351 -2.98053 176.546L -2.18628 167.744L 0.0012207 167.744C -0.194092 179.137 -0.194092 176.156 -0.194092 170.452C 0.0012207 190.583 -0.194092 187.874 -0.194092 182.106L -2.18628 190.583L -2.18628 188.265C -5.42847 181.781 -2.98053 181.781 -2.18628 181.976L -42.1863 181.781cM -16.5613 216.452C -38.2149 211.283 -30.4024 215.384 -22.8503 216.452C -49.6733 200.814 -49.6733 202.012 -44.3087 208.04C -48.879 199.954 -49.2045 199.954 -49.6733 200.15C -47.6811 200.749 -48.4753 199.954 -48.6056 199.954C -16.5613 212.142 -26.7566 212.142 -38.879 210.02C 14.5064 200.879 11.4595 204.264 2.44916 212.142C 15.7564 199.954 15.4309 199.954 15.3658 200.02C 16.5637 200.814 16.5637 200.15 16.095 199.954C 12.5793 205.723 13.1783 205.189 16.5637 201.882C -16.5613 216.452 -8.60553 216.452 3.30853 214.59cM 0.0012207 222.982>>showpage, press <return> to continue<<

M 16.5637 22.0573C 15.7564 23.3724 16.5637 23.3724 16.5637 22.5781C 14.5715 22.4479 15.4309 23.3073 15.496 23.3724C -16.5613 11.1198 -6.28784 11.1198 6.02985 13.3724C -47.616 22.3828 -44.5691 19.0104 -35.6238 11.1198C -48.879 23.3724 -48.5405 23.3724 -48.4753 23.3073C -49.6733 22.4479 -49.6733 23.112 -49.2045 23.3724C -45.6889 17.5521 -46.2878 18.0729 -49.6733 21.3932C -16.5613 6.82291 -24.504 6.82291 -36.4181 8.67188C 16.5637 22.0573 10.1965 13.0469 -1.71753 6.82291cM 0.0012207 26.9987M -7.21234 51.8294C -1.19672 43.9518 -1.19672 48.3919 -5.96234 51.5039C -6.56128 39.5768 -3.57953 39.5768 -1.19672 40.7096C -20.129 43.3529 -16.418 41.8945 -10.4675 39.5768C -23.5795 44.2122 -22.3816 44.2122 -21.7827 44.0169C -29.2045 38.2617 -29.2045 41.3086 -27.2123 44.2122C -19.0743 28.9909 -19.8686 28.9909 -29.2045 31.6992C -18.2149 29.9805 -18.2149 29.4466 -18.4753 28.9909C -19.2696 31.1003 -18.6055 30.9049 -18.2149 30.8398C -27.3555 38.0534 -27.3555 35.7357 -25.168 32.832C -25.168 39.6419 -26.6915 39.6419 -27.3555 39.056C -19.8035 38.1966 -22.1212 39.056 -23.6446 39.6419C -7.55084 34.8112 -9.93365 34.8112 -12.7852 35.4102C 0.665283 43.6263 0.665283 39.7201 -1.05347 34.8112C -3.64459 51.8946 -3.30609 51.6341 0.665283 48.5872C 0.665283 58.3268 0.665283 55.944 -0.532654 52.9622C -2.98053 63.418 -1.99097 62.9622 0.665283 61.4388C -9.4649 65.6706 -9.20453 65.6706 -5.36334 64.7461C -10.3243 64.6159 -10.3243 65.4102 -9.86859 65.6706C -8.28003 63.2878 -9.99878 63.6914 -10.3243 63.8216C -1.19672 58.5221 -1.19672 61.2305 -4.95972 62.4284C -4.30865 56.3997 -2.44672 56.3997 -1.19672 56.9987C -9.33472 57.4024 -7.68109 56.9987 -5.42847 56.3997C -16.1577 59.056 -14.9597 58.7826 -10.9883 57.793L -21.1967 60.3711C -26.4832 61.569 -26.0925 61.569 -22.9805 60.7747C -28.5405 59.4466 -28.5405 60.2409 -28.1498 61.569C -26.353 56.5951 -27.9415 57.0638 -28.5405 58.5221L -7.21234 51.8294cM -0.988342 80.3809C 11.1992 75.3548 7.08453 79.4564 3.30853 80.3809C 11.8502 74.9512 11.5247 74.9512 11.3945 75.0814C 12.7877 75.9408 12.7877 75.485 12.384 74.9512C -0.194092 82.2428 7.55328 82.2428 12.7877 76.735C -7.35553 77.7376 -7.35553 80.6413 -4.4389 82.2428C -3.70972 74.0918 -5.49359 74.0918 -7.35553 75.42C 0.0012207 77.8028 0.0012207 75.3548 -1.84772 74.0918C -0.988342 80.3809 -0.923279 80.3809 0.0012207 79.3913cM 0.0012207 87.9948M -24.1003 132.91C -29.2696 129.668 -29.2696 129.928 -29.2696 132.91C -25.8321 126.217 -27.5508 126.217 -29.2696 128.066C -23.7748 127.35 -24.3087 126.751 -24.7644 126.217C -18.4753 129.798 -20.5977 129.798 -22.4467 128.874C -1.19672 117.806 -1.19672 125.423 -15.4285 129.798C -6.88678 112.637 -2.72015 112.637 -1.19672 114.954C -19.7383 116.217 -15.754 114.629 -10.5327 112.637C -23.5795 117.207 -22.3816 117.207 -21.8477 117.012C -29.2045 111.257 -29.2045 114.303 -27.1472 117.207C -19.0743 101.986 -19.8686 101.986 -29.2045 104.694C -18.2149 102.975 -18.2149 102.441 -18.4753 101.986C -19.2696 104.095 -18.6055 103.9 -18.2149 103.835C -27.3555 111.048 -27.3555 108.665 -25.0378 105.827C -25.168 112.637 -26.7566 112.637 -27.3555 112.051C -20.4675 111.387 -22.1212 112.051 -23.6446 112.637C -7.8764 107.871 -9.93365 107.871 -12.1212 108.145C 0.665283 117.546 0.665283 113.77 -0.662842 107.871C -24.1003 132.91 -19.0743 132.91 0.665283 128.535cM 0.0012207 133.991M -0.988342 148.376C 11.1992 143.35 7.08453 147.451 3.30853 148.376C 11.8502 142.946 11.5247 142.946 11.3945 143.076C 12.7877 143.936 12.7877 143.48 12.384 142.946C -0.194092 150.238 7.55328 150.238 12.7877 144.73C -7.35553 145.732 -7.35553 148.636 -4.4389 150.238C -3.70972 142.087 -5.49359 142.087 -7.35553 143.415C 0.0012207 145.798 0.0012207 143.35 -1.84772 142.087C -0.988342 148.376 -0.923279 148.376 0.0012207 147.386cM 0.0012207 155.99M -21.6524 200.436C -26.4832 201.569 -26.0925 201.569 -23.241 200.84C -28.5405 199.447 -28.5405 200.241 -28.1498 201.569C -23.8399 195.931 -26.8868 196.725 -28.5405 197.129C -15.3633 193.822 -19.1394 194.811 -20.4024 195.072C -7.81128 192.428 -9.73834 192.428 -12.8503 193.223C -6.6264 192.493 -6.9519 192.493 -7.48578 192.428C -1.19672 186.335 -1.19672 190.71 -6.56128 192.493C -7.14722 180.71 -2.2514 180.71 -1.19672 183.678C -20.0639 184.342 -14.6993 182.233 -10.4024 180.71C -23.5795 185.202 -22.3816 185.202 -21.7827 185.007C -29.2045 179.251 -29.2045 182.298 -27.2123 185.202C -19.0743 169.98 -19.8686 169.98 -29.2045 172.689C -18.2149 170.97 -18.2149 170.436 -18.4753 169.98C -19.2696 172.09 -18.6055 171.895 -18.2149 171.829C -27.3555 179.043 -27.3555 176.66 -25.0378 173.822C -25.168 180.632 -26.6915 180.632 -27.3555 180.046C -21.0535 179.642 -22.2514 180.111 -23.7748 180.632C -8.00659 175.866 -10.9233 175.866 -14.4389 177.064C 0.665283 186.061 0.665283 181.426 -1.26178 175.866C -3.70972 193.288 0.665283 190.566 0.665283 187.129C 0.665283 202.155 0.665283 199.316 -0.128967 195.137C -7.21234 212.09 -4.89459 210.905 0.665283 208.118C -24.1003 216.53 -20.1941 216.53 -11.5222 214.212C -29.2696 213.288 -29.2696 213.548 -29.2696 216.53C -25.8321 209.837 -27.5508 209.837 -29.2696 211.699C -24.0352 210.71 -24.3738 210.241 -24.8946 209.837C -18.4753 213.418 -21.7175 213.418 -23.3712 211.426C -6.82172 209.707 -10.2592 211.569 -16.5613 213.418C -1.19672 202.363 -1.19672 205.671 -3.5144 207.858C -6.9519 197.194 -2.72015 197.194 -1.19672 199.447C -14.2436 198.587 -10.5327 197.663 -8.67065 197.194L -21.6524 200.436cM 0.0012207 218.988M -16.5613 241.458C -38.2149 236.289 -30.4024 240.391 -22.8503 241.458C -49.6733 225.82 -49.6733 227.018 -44.3087 233.047C -48.879 224.961 -49.2045 224.961 -49.6733 225.156C -47.6811 225.755 -48.4753 224.961 -48.6056 224.961C -16.5613 237.148 -26.7566 237.148 -38.879 235.026C 14.5064 225.885 11.4595 229.271 2.44916 237.148C 15.7564 224.961 15.4309 224.961 15.3658 225.026C 16.5637 225.82 16.5637 225.156 16.095 224.961C 12.5793 230.729 13.1783 230.195 16.5637 226.888C -16.5613 241.458 -8.60553 241.458 3.30853 239.596cM 0.0012207 247.988>>showpage, press <return> to continue<<

M 16.5637 22.0573C 15.7564 23.3724 16.5637 23.3724 16.5637 22.5781C 14.5715 22.4479 15.4309 23.3073 15.496 23.3724C -16.5613 11.1198 -6.28784 11.1198 6.02985 13.3724C -47.616 22.3828 -44.5691 19.0104 -35.6238 11.1198C -48.879 23.3724 -48.5405 23.3724 -48.4753 23.3073C -49.6733 22.4479 -49.6733 23.112 -49.2045 23.3724C -45.6889 17.5521 -46.2878 18.0729 -49.6733 21.3932C -16.5613 6.82291 -24.504 6.82291 -36.4181 8.67188C 16.5637 22.0573 10.1965 13.0469 -1.71753 6.82291cM 0.0012207 26.9987M -26.418 60.1758C -22.8503 57.1289 -23.1108 57.1289 -25.6889 57.2591C -20.4024 59.7201 -20.4024 58.2617 -21.392 57.1289C -24.3738 63.418 -21.5222 63.418 -20.4024 61.1654C -29.2045 56.8034 -29.2045 59.2513 -28.1498 63.418C -24.4389 49.6419 -27.017 51.1654 -29.2045 53.6914C -29.2045 42.0378 -29.2045 44.7461 -27.9415 48.1966C -19.0743 30.7747 -20.9233 30.7747 -29.2045 34.8112C -18.2149 31.7643 -18.2149 31.2435 -18.4753 30.7747C -19.3347 32.8971 -18.5405 32.6888 -18.2149 32.5586C -27.3555 41.8294 -27.3555 38.3919 -24.1655 34.4206C -23.1108 45.6706 -25.4936 45.6706 -27.3555 44.4206C -16.6264 44.3555 -18.7358 44.8763 -21.7827 45.6706C -7.55084 42.1029 -8.80084 42.4284 -14.6993 43.8867C -1.19672 35.8008 -1.19672 38.7826 -3.97015 41.1654C -2.12115 32.4284 -1.19672 33.8216 -1.19672 35.5404C -5.6889 35.4753 -5.62378 35.4753 -2.85034 35.4753C -8.14984 32.832 -8.14984 34.2773 -7.21234 35.4753C -4.10034 29.1211 -6.6264 29.1211 -8.14984 31.0352C 0.665283 35.7357 0.665283 32.3633 -1.05347 29.1211C -4.10034 42.8971 -1.99097 41.6992 0.665283 39.2513C 0.665283 50.5794 0.665283 47.4024 -0.858154 44.3555C -9.4649 61.7643 -7.61597 61.7643 0.665283 57.793C -10.3243 60.7747 -10.3243 61.2305 -10.129 61.7643C -9.20453 59.6419 -9.86859 59.8503 -10.3243 59.9805C -1.19672 50.7096 -1.19672 54.5508 -4.7644 58.3268C -5.42847 46.9336 -2.64203 46.9336 -1.19672 48.5221C -11.991 48.2617 -8.28003 47.3242 -6.75659 46.9336C -21.0535 50.5143 -19.8035 50.1758 -13.9702 48.7174C -27.3555 56.7383 -27.3555 53.7565 -24.504 51.4388C -26.418 60.1758 -27.3555 58.7826 -27.3555 57.0638cM -0.988342 79.3783C 11.1992 74.3522 7.08453 78.4538 3.30853 79.3783C 11.8502 73.9486 11.5247 73.9486 11.3945 74.0788C 12.7877 74.9381 12.7877 74.4825 12.384 73.9486C -0.194092 81.2403 7.55328 81.2403 12.7877 75.7325C -7.35553 76.735 -7.35553 79.6387 -4.4389 81.2403C -3.70972 73.0892 -5.49359 73.0892 -7.35553 74.4173C 0.0012207 76.8001 0.0012207 74.3522 -1.84772 73.0892C -0.988342 79.3783 -0.923279 79.3783 0.0012207 78.3887cM 0.0012207 86.9922M -24.9597 133.301C -26.4832 133.561 -26.0274 133.561 -25.8972 133.561C -28.5405 131.439 -28.5405 132.233 -28.1498 133.561C -26.7566 128.73 -28.4753 129.59 -28.5405 131.113C -22.642 127.663 -24.0352 128.001 -26.418 128.587L -6.75659 123.691C -1.19672 115.944 -1.19672 120.775 -6.56128 123.626C -6.56128 111.569 -3.57953 111.569 -1.19672 112.702C -20.129 115.345 -16.2878 113.822 -10.4024 111.569C -23.5795 116.204 -22.3816 116.204 -21.7827 116.009C -29.2045 110.254 -29.2045 113.301 -27.2123 116.204C -19.0743 100.983 -19.8686 100.983 -29.2045 103.691C -18.2149 101.973 -18.2149 101.439 -18.4753 100.983C -19.2696 103.092 -18.6055 102.897 -18.2149 102.832C -27.3555 110.046 -27.3555 107.663 -25.0378 104.824C -25.168 111.634 -26.6915 111.634 -27.3555 111.048C -21.0535 110.645 -22.2514 111.113 -23.7748 111.634C -7.55084 106.803 -10.6628 106.803 -14.0352 107.936C 0.665283 115.618 0.665283 111.712 -1.05347 106.803C -2.2514 122.572 -0.727966 120.983 0.665283 118.73C 7.21478 118.457 4.03766 120.983 1.45953 121.634C 11.6548 110.645 11.6548 113.626 9.9361 116.27C 9.46735 105.684 11.4595 106.999 11.6548 109.525C 5.83453 109.46 6.22516 109.46 9.20697 109.186C 3.3736 106.868 3.3736 108.262 4.24603 109.46C 7.7486 103.092 4.50641 103.092 3.3736 105.41C 13.5168 110.645 13.5168 105.944 10.8606 103.092C 0.0663452 126.999 8.07416 125.02 13.5168 117.402L -24.9597 133.301cM 0.0012207 133.988M -0.988342 148.372C 11.1992 143.346 7.08453 147.448 3.30853 148.372C 11.8502 142.943 11.5247 142.943 11.3945 143.073C 12.7877 143.932 12.7877 143.477 12.384 142.943C -0.194092 150.234 7.55328 150.234 12.7877 144.727C -7.35553 145.729 -7.35553 148.633 -4.4389 150.234C -3.70972 142.083 -5.49359 142.083 -7.35553 143.411C 0.0012207 145.794 0.0012207 143.346 -1.84772 142.083C -0.988342 148.372 -0.923279 148.372 0.0012207 147.383cM 0.0012207 155.986M -21.1186 199.368C -36.7566 196.452 -32.5118 198.639 -28.2149 199.368C -44.0352 184.538 -44.0352 188.184 -42.5769 193.548C -35.9623 172.22 -37.8113 173.145 -44.0352 176.191C -21.1186 169.707 -24.5691 169.707 -31.1186 169.837C -4.7644 173.079 -10.0639 169.902 -16.7566 169.707C 1.39447 184.538 1.39447 181.022 0.131409 176.126C -6.15765 196.725 0.404846 193.405 1.39447 187.715C -21.1186 199.368 -16.8217 199.368 -10.9233 199.173cM -0.467529 184.538C -8.47534 176.322 -1.52222 177.715 -0.467529 182.285C -21.9128 175.592 -18.4753 175.592 -12.2514 175.592C -34.7644 176.322 -31.1186 175.592 -26.4832 175.592C -42.1863 184.538 -42.1863 182.884 -41.5222 177.715C -35.0378 192.676 -41.0535 191.361 -42.1863 186.79C -21.9128 193.47 -26.418 193.47 -31.392 193.47C -8.34515 192.676 -12.0561 193.47 -18.0066 193.47C -0.467529 184.538 -0.467529 186.725 -1.39203 191.296cM -16.5613 222.451C -38.2149 217.282 -30.4024 221.383 -22.8503 222.451C -49.6733 206.813 -49.6733 208.011 -44.3087 214.04C -48.879 205.954 -49.2045 205.954 -49.6733 206.149C -47.6811 206.748 -48.4753 205.954 -48.6056 205.954C -16.5613 218.141 -26.7566 218.141 -38.879 216.019C 14.5064 206.878 11.4595 210.264 2.44916 218.141C 15.7564 205.954 15.4309 205.954 15.3658 206.019C 16.5637 206.813 16.5637 206.149 16.095 205.954C 12.5793 211.722 13.1783 211.188 16.5637 207.881C -16.5613 222.451 -8.60553 222.451 3.30853 220.589cM 0.0012207 228.981>>showpage, press <return> to continue<<

gs -q -dNOPAUSE -dBATCH -P -dSAFER -dALLOWPSTRANSPARENCY -sDEVICE=pdfwrite -dEPSCrop -dSubsetFonts=true -dEmbedAllFonts=true -dMaxSubsetPct=100 -dEncodeColorImages=true -dEncodeGrayImages=true -dCompatibilityLevel=1.4 -dAutoRotatePages=/None -g612x792 -dDEVICEWIDTHPOINTS=285 -dDEVICEHEIGHTPOINTS=117.98 -sOutputFile=RiemannSphere.pdf -c .setsafe -f RiemannSphere_.eps
Cannot find setting named 'quiet'
AxiomOfChoices commented 2 years ago

Also both locate asy and where asy give me nothing.

johncbowman commented 2 years ago

You never mentioned that you have a config.asy file. That is an important detail: Loading config.asy from /home/solareklipse/.asy/config.asy

Let's ignore your config.asy for now; try ./asy -dir base -config "" -v examples/RiemannSphere.asy

AxiomOfChoices commented 2 years ago

I am sorry I did not know I had a config to begin with.

That command gives me

➜  asymptote-2.78 git:(master) ✗ ./asy -dir base -config "" -v examples/RiemannSphere.asy
Processing RiemannSphere
adjusting camera to (6.69686903642676,5.35783998843826,2.16406004767952)
adjusting target to (0.0910687941067325,0.0731997945822317,0.0973667489972777)
Wrote RiemannSphere.eps
Cannot find setting named 'quiet'
johncbowman commented 2 years ago

What is the output of gs --version

I notice you are using a system version of gc. I only test against the latest stable version 8.2.0. Let's disable gc for now:

./configure --disable-gc
make clean
make
./asy -dir base -config "" -v examples/RiemannSphere.asy
johncbowman commented 2 years ago

In your very first comment, you mentioned that you are using WSL. Do you mean Windows Subsytems for Linux? If that is the case, please try Asymptote on a real Linux platform or else install the Windows binary from https://sourceforge.net/projects/asymptote/

WSL may have some bugs; I've never tested Asymptote there.

AxiomOfChoices commented 2 years ago

The output is:

➜  asymptote-2.78 git:(master) ✗ gs --version
9.55.0

It actually slipped my mind but when I was compiling asymptote the default 8.20 version kept crashing on compile so I deleted it and replace it with the 8.04 mentioned here and that seemed to fix the compiling issue but maybe that was the wrong fix.

I am using the windows subsystem and I am pretty sure asymptote works fine from the windows binary its just that the WSL version would more suit my workflow so I really wanted to get it to work.

As for disabling gc, that gave me

./asy -dir base -config "" -v examples/RiemannSphere.asy
Processing RiemannSphere
adjusting camera to (6.69686903642676,5.35783998843826,2.16406004767952)
adjusting target to (0.0910687941067325,0.0731997945822317,0.0973667489972777)
Wrote RiemannSphere.eps
    shipout3(prefix,f,preview ? nativeformat() : format,
            ^
base/three.asy: 2896.13: runtime: Segmentation fault
johncbowman commented 2 years ago

As you will see in build-scripts/build-asymptote.dos we compile the MSWindows binary with gc-7.6.2. Anything later has always crashed under cygwin for me; I have no idea about what gc versions work under WSL, sorry.

Compiling this example without gc shouldn't seg fault: it looks like there may be an issue with your graphics drivers under WSL. I'm afraid you are on your own here. Maybe try a simpler example without transparency first (like examples/teapot). If that works you can try an example with transparency using -noGPUindexing and/or -noGPUinterlock in case your compute shaders are broken.

AxiomOfChoices commented 2 years ago

Alright I will try some stuff on my own and see if I can figure out anything, thank you so much for your help!

johncbowman commented 1 year ago

See also https://github.com/vectorgraphics/asymptote/issues/364.