Coder Social home page Coder Social logo

Comments (4)

alpenwasser avatar alpenwasser commented on July 19, 2024

Small update: I fiddled around some more, and running Asymptote with the render=0 option does yield an output file:

asy -render=0 myfile

Of course, in the case of the unitsphere, this produces just a black, filled circle, which isn't exactly the point, but it compiles, and this might at least be an acceptable workaround for other cases (Brett's 3d plot from the sourceforge thread looks pretty okay with -render=0 on my machine, for example).

from asymptote.

johncbowman avatar johncbowman commented on July 19, 2024

The problem is likely in your OpenGL or freeglut libraries. What version of freeglut are you using?
Make sure they are up-to-date and if so, try downgrading them. In UNIX we normally use
freeglut 3.0.0 but under cygwin, 2.8.1 seems to be the latest stable version.

from asymptote.

Pouya-moh avatar Pouya-moh commented on July 19, 2024

I'm having the same issue. Since apt-get comes with 2.8.something of freeglut, I compiled version 3 from source and installed it in /usr/lib/x86_64-linux-gnu/libglut.so.3.10.0. Then I recompile asymptote with ./configure LDFLAGS=-L/usr/lib/x86_64-linux-gnu/ CFLAGS=-I/usr/include/GL/, hoping that I have linked against correct version.

I still have exactly the same error, except this time it takes longer until it aborts. I have this issue with master.

from asymptote.

johncbowman avatar johncbowman commented on July 19, 2024

These issues are probably fixed with the latest git version, particularly commit aa08fb3 (which disabled offscreen rendering).
We also moved over to a GLSL shader and removed dependence on the deprecated GLU library.

from asymptote.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.