Closed truedat101 closed 6 years ago
May be related to #2 , it appears snappy is an external dependency . I am checking into whether building with nimble directly (not following the README instructions, in other words) will be preferred approach.
Unfortunately, while the .nimble file produces a comprehensive build, snappy is a library that may/may not exist on a platform. In the README, section for dependencies should include lib snappy. On Mac OS X, this is "brew install snappy".
So as mentioned, above, I can fix the error by installing snappy library (native). Nimble in this case only handles the wrapper around snappy via nimsnappy.
Yeah, thanks. I will update the README around these things.
On debian, I think this would be "sudo apt-get install libsnappy-dev"
Yes, I also had to install Snappy on MacOS. "brew install snappy" works just fine.
I am going through this now - fixing the README etc. I just had a lot of updates to do on my mac first. And I am fiddling with Windows - unfortunately choosenim is a tad b0rken there.
I have updated the README, this is all of course a bit messy, especially on Windows.
@gokr I can try it out on windows when you are ready. Much easier to test in a clean environment.
Yeah, I have updated instructions, eo test. But now I am also restructuring spry into two separate nimble packages - spry(interpreter) and spryvm (library).
Also, I am on gitter btw, gokr/spry
After installing nim using brew, nimble install spry produces a spry and ispry binary that will fail with:
could not load: libsnappy.dylib compile with -d:nimDebugDlOpen for more information