moe
moe copied to clipboard
help building on msys2
I've installed msys2 and all the development packages, as well as ncurses
and ncurses-devel
. After installing Nim with choosenim and trying to install using Nim devel, and moe@#head, I get an error that ncurses.h
is not found.
so... after checking where the ncurses.h
file is, I cloned the repo, modded the moe.nimble to add --ccincludes:
and --passL:
to that directory, and it still fails.
:shrug:
@UNIcodeX
Can not use WSL?
It's a work machine running Windows 8.1. I haven't been able to get WSL working on it.
@UNIcodeX
Ok. I haven't run it on Windows in any environment other than WSL. So I will try it later.
@UNIcodeX
How did you install Nim? You did run choosenim on msys2? I did run choosenim on msys2. But, I can't set a PATH...
@fox0430 I did use choosenim, but I also had to figure out how to set the PATH on that sucker...
turned out it was using /etc/profile
for that rather than ~/.bashrc
... go figure
MSYS2_PATH="/c/Users/{username}
/.nimble/bin:/usr/local/bin:/usr/bin:/bin"
@UNIcodeX
Thank you! Now that I have set up Nim, I will check moe.
I can build moe with the following command, but it can't run. I will check it more...
nim c --cincludes:/usr/include src/moe.nim
That did get it to build, but it doesn't find libncurses.dll, even though I made sure to install it. hmmm May just have to table this for now.
$ ./moe.exe
could not load: libncurses.dll
On Fri, Nov 13, 2020 at 12:44 PM Shuu.N [email protected] wrote:
I can build moe with the following command, but it can't run. I will check it more...
nim c --cincludes:/usr/include src/moe.nim
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fox0430/moe/issues/1170#issuecomment-726961806, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB62P6S4PNVTZ6XSMCQZ5L3SPV5CTANCNFSM4TPVPM4A .
I installed pdcurses and I modified nim-ncurses and /etc/profile
to load libpdcurses. But I get the following error...
$ ./src/moe
could not import: PC