treeform / fidget

Figma based UI library for nim, with HTML and OpenGL backends.
MIT License
768 stars 33 forks source link

examples error on flippy #60

Closed Conlaoch closed 4 years ago

Conlaoch commented 4 years ago

I followed the getting started directions and cloned the repo. entered into the fidget directory and ran nimble install

nimble install Verifying dependencies for fidget@0.3.1

Info: Dependency on flippy@>= 0.2.0 already satisfied Verifying dependencies for flippy@0.4.1 Im using the newest version of nim nim --version Nim Compiler Version 1.3.1 [MacOSX: amd64] Compiled at 2020-04-16 Copyright (c) 2006-2020 by Andreas Rumpf git hash: 9295251e68ee86b512de51a2f650729ac6893104 active boot switches: -d:release when I try and run any of the examples I receive the following errors... cd examples/bars nim c -r bars.nim Hint: textures [Processing] /Users/mymachine/.nimble/pkgs/fidget-0.3.1/fidget/opengl/context.nim(194, 53) Error: undeclared identifier: 'Flippy' using choosenim I've tried 1.0.6 and 1.3.1. same error
treeform commented 4 years ago

Could you have some thing else named flippy in your path? Flippy is like on of the first things flippy defines?

Conlaoch commented 4 years ago

It's possible, but I cant check till this evening.

Last night I did a new git pull and followed the directions on the github page.

cd fidget nimble installcd examples/minimal nim c -r minimal

The example then worked. The only other change I made was I updated Nim to the devel branch. So it is at what.. 1.3.2 I think.

This is on OSx, and I had also done some homebrew cleanup and updating.

I can go to the github issue and update it with this info and then close it if you want.

On Fri, Jun 5, 2020 at 8:24 AM treeform notifications@github.com wrote:

Could you have some thing else named flippy in your path? Flippy is like on of the first things flippy defines?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/treeform/fidget/issues/60#issuecomment-639450178, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABF3MTFF35AZSRAHHQHZ473RVDPYDANCNFSM4MKJFYGA .

Conlaoch commented 4 years ago

I rechecked my system. Flippy in the nimble package cache had been updated from 0.4.1 to 0.4.4 Nim had also been updated to Devel branch 1.3.5.

With those versions then all the examples are now working.

On Fri, Jun 5, 2020 at 10:10 AM Bryan Muir conlaoch@gmail.com wrote:

It's possible, but I cant check till this evening.

Last night I did a new git pull and followed the directions on the github page.

cd fidget nimble installcd examples/minimal nim c -r minimal

The example then worked. The only other change I made was I updated Nim to the devel branch. So it is at what.. 1.3.2 I think.

This is on OSx, and I had also done some homebrew cleanup and updating.

I can go to the github issue and update it with this info and then close it if you want.

On Fri, Jun 5, 2020 at 8:24 AM treeform notifications@github.com wrote:

Could you have some thing else named flippy in your path? Flippy is like on of the first things flippy defines?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/treeform/fidget/issues/60#issuecomment-639450178, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABF3MTFF35AZSRAHHQHZ473RVDPYDANCNFSM4MKJFYGA .

treeform commented 4 years ago

Great! I think it was just an older version.