neverwinter.nim icon indicating copy to clipboard operation
neverwinter.nim copied to clipboard

Install Error: cannot open file: std/db_sqlite

Open deltreey opened this issue 2 years ago • 4 comments

I tried installing this both on Windows and Linux through nimble and I get the same error about sqlite. Here's a copy of the verbose response on Linux

$ nimble install neverwinter --verbose
     Info:  Nimble data file "/home/deltreey/.nimble/nimbledata2.json" has been loaded.
    Reading official package list
Downloading https://github.com/niv/neverwinter.nim using git
    Cloning latest tagged version: 1.6.3
  Verifying dependencies for [email protected]
    Reading official package list
   Checking for docopt@>= 0.6.8
     Info:  Dependency on docopt@>= 0.6.8 already satisfied
  Verifying dependencies for [email protected]
    Reading official package list
   Checking for regex@>= 0.11.1
     Info:  Dependency on regex@>= 0.11.1 already satisfied
  Verifying dependencies for [email protected]
    Reading official package list
   Checking for unicodedb@>= 0.7.2
     Info:  Dependency on unicodedb@>= 0.7.2 already satisfied
  Verifying dependencies for [email protected]
 Installing [email protected]
   Building neverwinter/nwn_resman_cat using c backend
  Executing /home/deltreey/.nimble/bin/nim c --colors:on --noNimblePath -d:release -d:NimblePkgVersion=1.6.3 --path:/home/deltreey/.nimble/pkgs2/docopt-0.7.1-387f1ae17f3b7620c7814cf44a52d3d91b8906e9 --path:/home/deltreey/.nimble/pkgs2/unicodedb-0.12.0-4452416471e2fe8726eb6070ed6ea7368171cc09 --path:/home/deltreey/.nimble/pkgs2/regex-0.21.0-3e6b482026bcd9113b0e05026d641248e6c51709 -o:/tmp/nimble_57623/githubcom_nivneverwinternim/bin/nwn_resman_cat /tmp/nimble_57623/githubcom_nivneverwinternim/nwn_resman_cat.nim
Hint: used config file '/home/deltreey/.choosenim/toolchains/nim-2.0.0/config/nim.cfg' [Conf]
Hint: used config file '/home/deltreey/.choosenim/toolchains/nim-2.0.0/config/config.nims' [Conf]
Hint: used config file '/tmp/nimble_57623/githubcom_nivneverwinternim/nim.cfg' [Conf]
..................................................................................................................................
/tmp/nimble_57623/githubcom_nivneverwinternim/private/shared.nim(1, 88) Hint: duplicate import of 'strutils'; previous import here: /tmp/nimble_57623/githubcom_nivneverwinternim/private/shared.nim(1, 8) [DuplicateModuleImport]
.....
/tmp/nimble_57623/githubcom_nivneverwinternim/neverwinter/resman.nim(19, 52) Warning: use command `nimble install checksums` and import `checksums/sha1` instead; sha1 is deprecated [Deprecated]
........
/tmp/nimble_57623/githubcom_nivneverwinternim/neverwinter/private/zstd.nim(12, 6) Warning: A custom '=destroy' hook which takes a 'var T' parameter is deprecated; it should take a 'T' parameter [Deprecated]
/tmp/nimble_57623/githubcom_nivneverwinternim/neverwinter/private/zstd.nim(17, 6) Warning: A custom '=destroy' hook which takes a 'var T' parameter is deprecated; it should take a 'T' parameter [Deprecated]
.
/tmp/nimble_57623/githubcom_nivneverwinternim/neverwinter/key.nim(1, 71) Warning: use command `nimble install checksums` and import `checksums/sha1` instead; sha1 is deprecated [Deprecated]
..........
/tmp/nimble_57623/githubcom_nivneverwinternim/neverwinter/erf.nim(1, 65) Warning: use command `nimble install checksums` and import `checksums/sha1` instead; sha1 is deprecated [Deprecated]
........
/tmp/nimble_57623/githubcom_nivneverwinternim/neverwinter/resnwsync.nim(2, 6) Warning: use command `nimble install checksums` and import `checksums/sha1` instead; sha1 is deprecated [Deprecated]
/tmp/nimble_57623/githubcom_nivneverwinternim/neverwinter/resnwsync.nim(2, 16) Error: cannot open file: std/db_sqlite

Is there an unlisted dependency I need?

deltreey avatar Sep 21 '23 17:09 deltreey

Try building with nim 1.6.14 instead. neverwinter.nim has not been updated to work with 2.0.

squattingmonk avatar Sep 22 '23 18:09 squattingmonk

It has though. There are several commits of niv updating it and I build it in nim2 now. Edit: Ah, I do see though that there's not been a tagged version yet for nim 2.0. Sorry SM, you are correct and the issue here is Nim version.

WilliamDraco avatar Sep 22 '23 21:09 WilliamDraco