You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
I'm not 100% sure, but i can still tell you something.
First and foremost; it's "-[L]ncurses" (you should use lowercase L of course)
L stands for lib[rary] - it means additional, already precompiled thing, that exists somewhere in your PC.
It's usual to use (third-party) libraries when making a huge program, and LCS is no exception.
Problem is that if someone else tries to recompile such program, he must knew about this libraries and check if they are somewhere within downloaded sourcecode, or already exist at computer beforehand.
Directx, .NET, - are very well known packages that have such libraries that are used by nearly every program outthere
Second problem: specific ncurses library was designed to work with Unix\Linux system, and generally speaking not supported in windows OS. However there is (of course there is) a substitution called PDCurses. This library presents itself as multiplatform, and works similar albeit not identical to ncurses.
From here you can follow this guide http://cects.com/adding-pdcurses-to-mingw/
However one last step is needed to make LCS work.
It can be either: tell LCS to search for PDCurses instead. (change linker settings in build options of LCS project)
or rename PDCurses.lib to libncurses.a (in MinGW lib folder)
At least it make game workable for me.
However later i switched to Sublime+gcc via git bash
I'm pretty new at this, and i can't understand what this means.
I'm also using codeblocks with mingw
The text was updated successfully, but these errors were encountered: