Closed tissatussa closed 8 months ago
We've had lots of issues with the new nimble version, as it does not install the correct owlkettle version.
--path:../..
so that it uses the correct owlkettle versionEdit: Also see @PhilippMDoerner's response :smile:
You cloned the repo and tried to compile from there I assume?
Keep in mind that by default when compiling, nim will be looking for owlkettle/playground
on your PATH.
If you cloned the repo somewhere instead of installing owlkettle@#head, then nim isn't looking in the repository, it is looking in your .nimble
directory under pkgs2 or pkgs for the owlkettle version there.
And that one likely doesn't have the playground.nim file.
You'll want to either install that, or compile scale.nim from the root folder of your clone with nim r --path:. ./examples/widgets/scale.nim
.
The --path
flag tells nim to add the root directory of the cloned repo also to the paths where it looks for dependencies
You cloned the repo and tried to compile from there I assume?
I downloaded the ZIPped clone, i guess that's the same package ?
Your explanation is great and your command nim r --path:. ./examples/widgets/scale.nim
solved the issue : i compiled without errors.
Now i understand some more about nim
together with owlkettle
. Thanks!
I downloaded the ZIPped clone, i guess that's the same package ?
Yep, it's identical to using git clone (with git doing some extra git stuff for convenience). Good to hear that this helped you!
when compiling the scale.nim example i get an error regarding the playground.nim file :
but playground.nim is there .. this is bug i can't solve.