Error: cannot open file: x11

2024-06-25 Thread foxoman
in this x11 package, there is no x11.nim file, only x11 as a folder, so you can not call import x11, you will have to import the files inside that folder like: import x11/xlib, x11/xutil, x11/x, x11/xft, x11/xrender

Error: cannot open file: x11

2024-06-24 Thread Mrokii
Thank you! I thought I had found examples where "x11" was imported, but I could be wrong, given that I just started with Nim. I will have a look at the examples, thanks again.

Error: cannot open file: x11

2024-06-24 Thread SolitudeSF
there is no module named `x11`, you can look at the examples to see how to correctly import it.

Error: cannot open file: x11

2024-06-24 Thread Mrokii
t; shown when I use "nimble list -i". However, when I try to do "import x11" in > a source-file and try to compile the file with "nim c myapp.nim", I get the > above mentioned line of "Error: cannot open file: x11". Not sure if that's important but the