Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#11867 closed enhancement (fixed)


Reported by: ken@… Owned by: ken@…
Priority: normal Milestone: 9.0
Component: BOOK Version: SVN
Severity: normal Keywords:


Mentioned on the tlbuild list, but many people there are unable to build it (e.g. needs c++ 2011, other problems on OSX) - waiting to see if any changes result.

No obvious changelog, the Changes file just shows the titles of git commits (mostly mswindows fixes, on a quick look).

Change History (7)

comment:1 by ken@…, 4 years ago

Summary: asymptote-2.48asymptote-2.49

Now 2.49 with portability and other fixes.

comment:2 by ken@…, 4 years ago

Owner: changed from blfs-book to ken@…
Status: newassigned

Found why my build of 2.49 was severeley broken, dependencies seem to have changed (but there are a lot of alternatives for different systems).

2.47 :

checking fftw3.h usability... yes
checking fftw3.h presence... yes
checking for fftw3.h... yes
checking for fftw_execute in -lfftw3... yes
checking for glDepthMask in -lGL... yes
checking for gluNewNurbsRenderer in -lGLU... yes
checking for glutMainLoop in -lglut... yes
checking for OSMesaCreateContext in -lOSMesa... yes

2.49 :

checking for fftw3.h... yes
checking for fftw_execute in -lfftw3... yes
checking for GC_throw_bad_alloc in -lgccpp... no
checking glm/glm.hpp usability... no
checking glm/glm.hpp presence... no
checking for glm/glm.hpp... no
checking for glDepthMask in -lGL... yes
checking for glutMainLoop in -lglut... yes
checking GL/glew.h usability... no
checking GL/glew.h presence... no
checking for GL/glew.h... no
configure: *** Could not find libGLEW: will compile without OpenGL support ***

comment:3 by ken@…, 4 years ago

Gets past that with glew installed, but my 3D tests still fail.

comment:4 by ken@…, 4 years ago

Tried adding --enable-offscreen (which pulls in osmesa, I think that is now only tested for with this option). The only docs I could find suggested this might merely allow rendering without using an X display. Configure then needed glm/glm.hpp which comes from glm (C++ headers for GL maths, or something like that).

After working around a hardware problem (turned out to be a broken PS/2 keyboard!) I've now built that, and run a quick test of one of the 3D files in my asy testsuite (to png, workedf window frame on the X display was visible while it ran).

Now I need to confirm whether --enable-offscreen is essential (it is marked as experimental), or whether adding glm was all that was required.

comment:5 by ken@…, 4 years ago

Adding glm was indeed all that was required, so this version of asymptote will require both glew and glm to be added to the book.

But there were other issues in my "pure asy" tests (i.e. using it outside of TeX). My radeon driver ran out of memory on the fully-rendered ('16') versions of my torus test in both the eps and pdf forms, although the png form was ok. And then I discovered that my recent build of evince can no-longer display eps files (probably, the ghostscript hardening in the past year). For the PDFs I've added smaller '8' and '12' versions. I also reworked the package to ONLY include the two interesting drawings (kleinbottle, torus), and to move the created output to example- directories. If anybody cares, updated version at

comment:6 by ken@…, 4 years ago

Resolution: fixed
Status: assignedclosed

Fixed, I think, in r21444.

comment:7 by Bruce Dubbs, 4 years ago

Milestone: 8.59.0

Milestone renamed

Note: See TracTickets for help on using tickets.