simonkrauter / nicalc Goto Github PK
View Code? Open in Web Editor NEWSimple calculator written in Nim using NiGui
Simple calculator written in Nim using NiGui
I installed NiGui using nimble like this:
D:\home\kj>cd bin\nim-1.0.2
D:\home\kj\bin\nim-1.0.2>bin\nimble.exe install nigui
Downloading https://github.com/trustable-code/NiGui using git
Verifying dependencies for [email protected]
Installing [email protected]
Success: nigui installed successfully.
then I downloaded the NiCalc source: https://github.com/trustable-code/NiCalc/archive/refs/tags/1.2.zip
I unpacked the source, opened a cmd window and tried to compile and got this:
D:\home\kj\onedrive\Documents\NiCalc-1.2\NiCalc-1.2\src>nim compile NiCalc.nim
Hint: used config file 'D:\home\kj\bin\nim-1.0.2\config\nim.cfg' [Conf]
Hint: system [Processing]
Hint: widestrs [Processing]
Hint: io [Processing]
Hint: NiCalc [Processing]
Hint: nigui [Processing]
Hint: windows [Processing]
Hint: math [Processing]
Hint: bitops [Processing]
Hint: macros [Processing]
Hint: os [Processing]
Hint: strutils [Processing]
Hint: parseutils [Processing]
Hint: algorithm [Processing]
Hint: unicode [Processing]
Hint: pathnorm [Processing]
Hint: osseps [Processing]
Hint: winlean [Processing]
Hint: dynlib [Processing]
Hint: times [Processing]
Hint: options [Processing]
Hint: typetraits [Processing]
Hint: time_t [Processing]
Hint: tables [Processing]
Hint: hashes [Processing]
Hint: utils [Processing]
D:\home\kj\onedrive\Documents\NiCalc-1.2\NiCalc-1.2\src\NiCalc.nim(96, 38) Error: undeclared identifier: 'ControlKeyEvent'
I've searched the source of nigui and I couldn't find ControlKeyEvent.
I'm not familiar with nim or nigui so I suspect that I have misunderstood something but I have no idea what.
Can you give me a hint?
@trustable-code Hi, Simon Krauter! How are you?
Regards,
nkot56297
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.