$ nimble list -i | grep portaudio portaudio [0.1.2] $ wget -q https://bitbucket.org/BitPuffin/nim-portaudio/raw/761fb0007245e5c3de576e69d4885442c5bf3d49/examples/saw_out.nim $ nim c saw_out.nim Hint: system [Processing] Hint: saw_out [Processing] Hint: portaudio [Processing] saw_out.nim(40, 34) Error: undeclared identifier: 'noError'
Can't seem to use anything from the library, trying to figure out what's wrong.
Extra info:
$ nim --version
Nim Compiler Version 0.13.0 (2016-02-28) [MacOSX: amd64]
Copyright (c) 2006-2015 by Andreas Rumpf
git hash: a121c3f9eb2a348b9d6ae03ffd01aab26a238c30
active boot switches: -d:release
$ nimble --version
nimble v0.7.0 compiled at 2016-02-28 13:37:27
Solved!
dom96 pointed out that nim is now case sensitive for the first letter of identifiers. The portaudio example is out of date, and assumes that noError means NoError etc.
Made a pull request into the portaudio library :)