-
Notifications
You must be signed in to change notification settings - Fork 1
Compiling for Windows
Melkogotto edited this page May 11, 2012
·
4 revisions
(This page about compiling SimpleCiv for Windows under Linux.)
ncurses is library for *nix. So you can't use it under Windows. Instead of ncurses we use pdcurses library for compiling for Windows.
Install gcc-mingw-w64 package (it provides gcc compilers for 32- and 64-bit Windows).
Download pdcurses files (pdc*dllw.zip) from there.
Download expat files from there.
Then copy:
- libexpat.lib, libpdcurses.dll.a to /usr/i686-w64-mingw32/lib
- libexpat.dll, pdcurses.lib to /usr/i686-w64-mingw32/bin
- expat.h, curses.h to /usr/i686-w64-mingw32/include
(Or to x86_64-w64-mingw32 directory, if you want compile for 64-bit system.)
It's really simple:
make win32=1