bug while compiling
I have bug in installing vim3 and i installed the required packages mentioned in Q&A but still doesn't compile I get this error: could not load: /home/username/.nimble/pkgs/paravim-0.8.0/paravim/bin/libvim.so compile with -d:nimDebugDlOpen for more information
hi behrad which linux distro and version are you on?
On Wed, Apr 1, 2020, at 6:35 AM, behrad wrote:
I have bug in installing vim3 and i installed the required packages mentioned in Q&A but still doesn't compile I get this error: could not load: /home/username/.nimble/pkgs/paravim-0.8.0/paravim/bin/libvim.so compile with -d:nimDebugDlOpen for more information
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/oakes/vim_cubed/issues/22, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABUYU6XZMHRNIBWGAQ2TKTRKMKGBANCNFSM4LYYBO2A.
I am also recieving the same error on windows 10 with nim version 1.0.6
ben you're getting the same error except it says libvim.dll right? is your windows a 32 bit install? i'm guessing not but that's the only thing i can think would make it fail to load the dll.
On Wed, Apr 1, 2020, at 7:20 AM, Ben Hutchinson wrote:
I am also recieving the same error on windows 10 with nim version 1.0.6
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/oakes/vim_cubed/issues/22#issuecomment-607190263, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABUYU6PRT5SVPYAFGSASXTRKMPRLANCNFSM4LYYBO2A.
Yea its the dll. and my windows is 64bit
I assume you've checked that the path is correct and that the file does indeed exist? And does -d:nimDebugDlOpen give any further information? You can add this flag by running nimble run -d:nimDebugDlOpen vim3.
I originally got the same error as well. I checked the filepath and it does seem to exist:
$ ls ~/.nimble/pkgs/paravim-0.8.0/paravim/bin/libvim.so
/home/debbie/.nimble/pkgs/paravim-0.8.0/paravim/bin/libvim.so
@PMunch I tried your suggestion and got this error:
...
Building vim3/vim3 using c backend
vim3: /home/debbie/.nimble/pkgs/nimgl-1.1.1/nimgl/private/glfw/src/window.c:506: glfwSetWindowIcon: Assertion `window != NULL' failed.
Traceback (most recent call last)
/home/debbie/vim_cubed/src/vim3.nim(28) vim3
/home/debbie/.nimble/pkgs/nimgl-1.1.1/nimgl/glfw.nim(5136) glfwCreateWindow
SIGABRT: Abnormal termination.
Tip: 26 messages have been suppressed, use --verbose to show them.
Error: Execution failed with exit code 1
... Command: /home/debbie/vim_cubed/vim3 -d:nimDebugDlOpen
Now when I try running the installed vim3 it complains about a similar assertion failure:
$ vim3
vim3: /home/debbie/.nimble/pkgs/nimgl-1.1.1/nimgl/private/glfw/src/window.c:506: glfwSetWindowIcon: Assertion `window != NULL' failed.
SIGABRT: Abnormal termination.
I'm trying this on Debian 10.
@j-hui that looks like a different issue, glfw can't create a window. not sure what would cause that
Arch Linux nim 1.0.6-1 nimble 1:0.11.0-1
As noted above the file exists.
[parker@wolfcola vim_cubed]$ nimble run vim3
Verifying dependencies for [email protected]
Prompt: No local packages.json found, download it from internet? [y/N]
Answer: y
Downloading Official package list
Success Package list downloaded.
Installing paranim@>= 0.3.0
Downloading https://github.com/paranim/paranim using git
Verifying dependencies for [email protected]
Installing nimgl@>= 1.0.0
Downloading https://github.com/nimgl/nimgl using git
Verifying dependencies for [email protected]
Installing [email protected]
Success: nimgl installed successfully.
Installing glm@>= 1.1.1
Downloading https://github.com/stavenko/nim-glm using git
Verifying dependencies for [email protected]
Installing [email protected]
Success: glm installed successfully.
Installing [email protected]
Success: paranim installed successfully.
Installing paravim@>= 0.8.0
Downloading https://github.com/paranim/paravim using git
Verifying dependencies for [email protected]
Info: Dependency on paranim@>= 0.3.0 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on nimgl@>= 1.0.0 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on glm@>= 1.1.1 already satisfied
Verifying dependencies for [email protected]
Installing pararules@>= 0.2.0
Downloading https://github.com/paranim/pararules using git
Verifying dependencies for [email protected]
Installing [email protected]
Success: pararules installed successfully.
Installing paratext@>= 0.4.0
Downloading https://github.com/paranim/paratext using git
Verifying dependencies for [email protected]
Info: Dependency on paranim@>= 0.1.0 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on nimgl@>= 1.0.0 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on glm@>= 1.1.1 already satisfied
Verifying dependencies for [email protected]
Installing [email protected]
Success: paratext installed successfully.
Installing [email protected]
Success: paravim installed successfully.
Installing stb_image@>= 2.5
Downloading https://gitlab.com/define-private-public/stb_image-Nim.git using git
Verifying dependencies for [email protected]
Installing [email protected]
Success: stb_image installed successfully.
Building vim3/vim3 using c backend
could not load: /tmp/nimble_85101/githubcom_paranimparavim_0.8.0/src/paravim/bin/libvim.so
compile with -d:nimDebugDlOpen for more information
Tip: 497 messages have been suppressed, use --verbose to show them.
Error: Execution failed with exit code 1
... Command: /home/parker/build/vim_cubed/vim3
[parker@wolfcola vim_cubed]$ nimble run vim3
Verifying dependencies for [email protected]
Info: Dependency on paranim@>= 0.3.0 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on nimgl@>= 1.0.0 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on glm@>= 1.1.1 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on paravim@>= 0.8.0 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on paranim@>= 0.3.0 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on nimgl@>= 1.0.0 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on glm@>= 1.1.1 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on pararules@>= 0.2.0 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on paratext@>= 0.4.0 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on paranim@>= 0.1.0 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on nimgl@>= 1.0.0 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on glm@>= 1.1.1 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on stb_image@>= 2.5 already satisfied
Verifying dependencies for [email protected]
Building vim3/vim3 using c backend
could not load: /home/parker/.nimble/pkgs/paravim-0.8.0/paravim/bin/libvim.so
compile with -d:nimDebugDlOpen for more information
Tip: 30 messages have been suppressed, use --verbose to show them.
Error: Execution failed with exit code 1
... Command: /home/parker/build/vim_cubed/vim3
Here's a strace https://gist.github.com/parkerlreed/087ec1630c23d6a13edb2144a718fb54
Works after installing ncurses5-compat-libs
It was the missing libtinfo.so.5
Ah, of course. That error will occur not only if it fails to load the specified library, but also if that library tries to load another dependency which fails.