Hi,
I have installed nfltk : fltk for Nim using the command:
nimble install fltk
which seems to work:
Downloading https://github.com/Skrylar/nfltk using git
Verifying dependencies for [email protected]
Installing [email protected]
Prompt: [email protected] already exists. Overwrite? [y/N]
y
Answer: Success: fltk installed successfully.
But a mere attempt to import the corresponding module results in a error message:
import fltk as fl
gives:
Error: cannot open file: fltk
Error: cannot open file: fltk
I assume it is windows?
Is your command something like "nim c myfltkfile.nim"
Unfortunately I can not help, but I have seen this type of error messages already:
https://github.com/StefanSalewski/gintro/issues/72
So please follow that advice. That is not doing nimble install as root/admin, or following PMunch advice to fix the path. Can you install nimble packages at all?
outdated
Then nimble should really complain?
And what do you think about
https://github.com/StefanSalewski/gintro/issues/72#issuecomment-658525973
Is root/admin a problem for nimble install?
I thin @Yardanico is right, I was built on one of the earliest versions of Nim and the .nible file might be buggy. No problem, I'll use NiGui instead: It works and has got some good examples.
Thanks!