Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Cannot find -lncurses (Compiling 4.10)  (Read 1579 times)

ThunderGraham

  • Escaped Lunatic
    • View Profile
Cannot find -lncurses (Compiling 4.10)
« on: September 19, 2016, 08:26:43 pm »

Hey all,
I've been trying to compile the community (GitHub) version of LCS for a while now, and I've almost gotten it to work but for this error:
||=== Build: Release in Liberal Crime Squad (compiler: GNU GCC Compiler) ===|
ld.exe||cannot find -lncurses|
||error: ld returned 1 exit status|
||=== Build failed: 2 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
||=== Run: Release in Liberal Crime Squad (compiler: GNU GCC Compiler) ===|
I've searched the forum already for threads about compiling LCS in CodeBlocks, but haven't found anything I can do to fix this problem.
I'm using the GNU GCC Compiler and mingw32, both of which were downloaded separately from CodeBlocks. The compiler's linker settings are:
-lpdcurses
-lSDL2
-lSDL2main
-lSDL2_mixer

The project has been built in both Debug and Release. If it matters, I've altered the code in creaturetypes.ccp some in order to assign new weapons from the Liberal Additions mod to creature types whose weapons are hardcoded. There's not much more information I can think to provide: if there's anything else you need me to tell you, please let me know.
Logged