GithubHelp home page GithubHelp logo

Comments (10)

treeform avatar treeform commented on June 16, 2024

Sorry you need to install nimrod-glfw >= 3.2.1

from fidget.

mrhdias avatar mrhdias commented on June 16, 2024

Thanks. I uninstalled the package nim-glfw and installed the nimrod-glfw.

But none of the sample run.

I use Archlinux linux.

$ nim c -r todo.nim
Hint: used config file '/usr/local/programs/x86_64/nim-1.0.4/config/nim.cfg' [Conf]
Hint: operation successful (300 lines compiled; 0.050 sec total; 5.879MiB peakmem; Debug Build) [SuccessX]
Hint: /home/hdias/Downloads/tmp/fidget/examples/todo/todo [Exec]
Failed to intialize GLFW.
Error: execution of an external program failed: '/home/hdias/Downloads/tmp/fidget/examples/todo/todo '

from fidget.

treeform avatar treeform commented on June 16, 2024

from fidget.

mrhdias avatar mrhdias commented on June 16, 2024

Strange issue with nimrod-glfw the GLFW fail, but if I install nim-glfw package the GLFW works fine.

$ git clone https://github.com/rafaelvasco/nimrod-glfw
$ cd nimrod-glfw/test
$ nim c -r -d:release --app:gui glfwtest.nim
glfwtest.nim(4) glfwtest
Error: unhandled exception: Failed to Initialize GLFW [Exception]

$ nimble uninstall glfw
$ nimble install glfw
$ git clone https://github.com/ephja/nim-glfw
$ cd nim-glfw/examples
$ nim c -r -d:glfwStaticLib boing.nim

Screenshot from 2019-12-29 21-21-03

from fidget.

mrhdias avatar mrhdias commented on June 16, 2024

I opened a issue!
rafaelvasco/nimrod-glfw#14

from fidget.

mrhdias avatar mrhdias commented on June 16, 2024

I opened a issue!
rafaelvasco/nimrod-glfw#14

I think the nimrod-glfw is not maintained anymore!

from fidget.

treeform avatar treeform commented on June 16, 2024

I experimented with my own wrapper here: https://github.com/treeform/staticglfw I will probably use this one as it does not require an extra DLL.

from fidget.

treeform avatar treeform commented on June 16, 2024

I have fixed the nimble file can you try reinstalling this package (which should fix the dependencies) and see if it works for you?

from fidget.

mrhdias avatar mrhdias commented on June 16, 2024

It works. Good work. Thanks
Screenshot from 2020-01-17 21-22-01

from fidget.

treeform avatar treeform commented on June 16, 2024

Nice and now with no dynamic linked libraries to ship! All static.

from fidget.

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.