Hi All, I'm having a problem compiling nim sources with nimble, but I do not have the same problem when running "nim c -r src/firmware_update_compiler.nim" from the command line. Please see this transcript:
me@host:~/repositories/gecko-logger/firmware_update_compiler$ nimble install crc32
Downloading https://github.com/juancarlospaco/nim-crc32 using git
Verifying dependencies for [email protected]
Installing [email protected]
Success: crc32 installed successfully.
mark@octopus:~/repositories/gecko-logger/firmware_update_compiler$ nimble run firmware_update_compiler
Verifying dependencies for [email protected]
Building firmware_update_compiler/firmware_update_compiler using c backend
Tip: 1 messages have been suppressed, use --verbose to show them.
Error: Build failed for package: firmware_update_compiler
... Details:
... Execution failed with exit code 1
... Command: "/home/mark/.nimble/bin/nim" c --noNimblePath -d:NimblePkgVersion=0.1.0 -o:"/home/mark/repositories/gecko-logger/firmware_update_compiler/firmware_update_compiler" "/home/mark/repositories/gecko-logger/firmware_update_compiler/src/firmware_update_compiler.nim"
... Output: Hint: used config file '/home/mark/.choosenim/toolchains/nim-1.0.4/config/nim.cfg' [Conf]
... Hint: system [Processing]
... Hint: widestrs [Processing]
... Hint: io [Processing]
... Hint: firmware_update_compiler [Processing]
... Hint: strformat [Processing]
... Hint: macros [Processing]
... Hint: parseutils [Processing]
... Hint: unicode [Processing]
... Hint: strutils [Processing]
... Hint: math [Processing]
... Hint: bitops [Processing]
... Hint: algorithm [Processing]
... /home/mark/repositories/gecko-logger/firmware_update_compiler/src/firmware_update_compiler.nim(4, 8) Error: cannot open file: crc32
me@host:~/repositories/gecko-logger/firmware_update_compiler$
Does anyone know what I'm doing wrong? The line that fails is:
import crc32