Coder Social home page Coder Social logo

gr crashes on executing the example about gr HOT 10 CLOSED

sciapp avatar sciapp commented on July 17, 2024
gr crashes on executing the example

from gr.

Comments (10)

jheinen avatar jheinen commented on July 17, 2024

It seems that the GR framework has to be build for an older deployment target.
I will test this and probably correct the build settings in the next version (0.8), which is planned for next week. Is this OK for you?

from gr.

HermenB avatar HermenB commented on July 17, 2024

Next week is perfectly fine for me, thanks!

BTW, Does that mean that it would run under OS X 10.10 (Yosemite), for
example?
That's the only upgrade I might consider, thus skipping 10.9.

Regards,

Hermen

On Fri, Dec 5, 2014 at 8:19 PM, jheinen [email protected] wrote:

It seems that the GR framework has to be build for an older deployment
target.
I will test this and probably correct the build settings in the next
version (0.8), which is planned for next week. Is this OK for you?


Reply to this email directly or view it on GitHub
#3 (comment).

from gr.

jheinen avatar jheinen commented on July 17, 2024

I have to admin that I built the latest Conda package for GR on a Yosemite system. I probably should follow other developers' advice and build future packages on an older OS X host, e.g. 10.8 or even 10.6 (as I did before) due to some problems with Xcode 6. I will check this on my office desktop which I normally use to test GR packages with different OS X virtual machines.

If you plan to upgrade to Yosemite, don;t forget to re-install Xquartz.

from gr.

HermenB avatar HermenB commented on July 17, 2024

Well, it ìs advanced stuff after all, this GR:-) Thanks for the advice, and I'll keep an eye for the next upgrade.

regards,

Hermen

from gr.

HermenB avatar HermenB commented on July 17, 2024

Hello again,
Today I finally got to installing gr again, but this time another issue arose. After trying the example in the "Getting started" section, I got the following error message:

from gr import pygr
pygr.plot([0,1,4],[3,2,5])
2015-09-02 13:25:38.461 python[1117:707] Could not locate GKSTerm.app.
2015-09-02 13:25:38.462 python[1117:707] Launching GKSTerm failed.

I figured it has something to do with XQuartz, and reinstalled that, but still no avail. Do you heve any further suggestions? I'm still on OSX 10.8.5, I should add…

Kind regards,

Hermen

PS: I continued on this thread because I couldn't find the option to create a new one...

from gr.

jheinen avatar jheinen commented on July 17, 2024

I'm sorry that there are (again) problems with the installation. I'll check this tomorrow on my office desktop. The next GR release will be self-contained and built without XQuartz, although this is not related to the current issue.

from gr.

jheinen avatar jheinen commented on July 17, 2024

As a temporary solution, please download the missing GKSTerm.app and unpack or move it to your Anaconda bin directory, e.g, if you installed Anaconda in your home directory:

cd $HOME/anaconda/bin
curl -O http://gr-framework.org/downloads/GKSTerm.zip
open GKSTerm.zip
rm GKSTerm.zip

Sorry for the inconvenience ...

from gr.

HermenB avatar HermenB commented on July 17, 2024

Thank you for this solution, I'll try it today. Just for my knowledge, what is GKSTerm.app exactly? When I googled it, I only found references to the gr-website. Is it an in-house developed product?
And to verify, as far as I know the only requirement for gr is pyopengl, is that correct? Or do I need other programs / packages, too? Specifically, in the gr code I found references to .xcodeproj, do I need Xcode to be installed?

from gr.

jheinen avatar jheinen commented on July 17, 2024

GKSTerm.app is part of the GR framework - it is the GR's native graphics driver for OS X. The requirements for GR are shown in the installation section of the website.

With the next release, the optional packages can automatically be downloaded and built with a shell script (3rdparty/makeself.sh). The result is a self-contained GR distribution, thus minimizing dependencies and improving portability.

For the Python part, numpy is the only requirement. To run all the demos, you might have to install some other packages, e.g. scipy or pyaudio, but those are note required for normal usage.

Xcode is only needed, if you want to build the GR framework from source.

from gr.

HermenB avatar HermenB commented on July 17, 2024

Thank you, this worked! I am currently trying out some of the demos and so far, so good! Sometimes it seems not to work, but after a kernel restart it does. Thank you very much for your patience with helping me out.

kind regards,

Hermen

ps: do you know where best to get pyopencl? I couldn't find it on Anaconda.

from gr.

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.