GithubHelp home page GithubHelp logo

demo code fails to build about fidget HOT 6 CLOSED

treeform avatar treeform commented on June 19, 2024
demo code fails to build

from fidget.

Comments (6)

treeform avatar treeform commented on June 19, 2024

They are defined right here:

HAlign* = enum

Maybe you have older version of fidget installed but trying to run the newer demo?

from fidget.

guzba avatar guzba commented on June 19, 2024

How I tested this:
cd to examples/ dir
run nim js demo/demo.nim
Open demo.html in browser

from fidget.

UNIcodeX avatar UNIcodeX commented on June 19, 2024

Alright. These are the package versions

nimble list --installed
chroma  [0.1.0]
cligen  [0.9.43]
fidget  [0.3.1]
flippy  [0.4.1]
glm  [1.1.1]
html5_canvas  [1.3]
illwill  [0.2.0]
imgui  [1.75.0]
mddoc  [0.0.4]
nimgl  [1.1.1]
nimPNG  [0.2.5]
nimterop  [0.4.4]
npeg  [0.22.2]
opengl  [1.2.3]
print  [0.1.0]
rapid  [0.1.0]
rdgui  [0.1.0]
regex  [0.13.1]
sdl2  [2.0.2]
segmentation  [0.1.0]
snappy  [0.1.0]
staticglfw  [4.0.1]
tinamou  [0.5.2]
typography  [0.2.4]
unicodedb  [0.9.0]
unicodeplus  [0.6.0]
vmath  [0.3.0]
winim  [3.3.1]
wnim  [0.10.2]
yaml  [0.13.1]

nim c -r demo/demo.nim gives me this:
Error: undeclared identifier: 'cMinG'

from fidget.

treeform avatar treeform commented on June 19, 2024

I am looking at https://github.com/treeform/fidget/blob/master/examples/demo/demo.nim there is no mention of cMinG ... planty of cMin. I think your file has modifications.

from fidget.

UNIcodeX avatar UNIcodeX commented on June 19, 2024

from fidget.

treeform avatar treeform commented on June 19, 2024

I have updated the figma plugin to output the cMin stuff as well.

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.