Skip to content

Instantly share code, notes, and snippets.

@andiogenes
Last active April 3, 2018 08:27
Show Gist options
  • Save andiogenes/ffe48e86a52921a9d15735a414016baf to your computer and use it in GitHub Desktop.
Save andiogenes/ffe48e86a52921a9d15735a414016baf to your computer and use it in GitHub Desktop.

Как собрать PDCurses под VC++

Шаги:

  1. Скачиваем PDCurses (https://github.com/wmcbrine/PDCurses)
  2. Заходим в папку wincon, находим файл Makefile.vc
  3. Пишем в командной строке: (inline) nmake -f [path]Makefile.vc [DEBUG=] [DLL=] [WIDE=] [UTF8=] [target]
  4. Добавляем к проекту собранные файлы, подключаем заголовочные файлы (curses.h, panel.h, etc...)

P.S.: В папке demos есть исходный код нескольких демок curses, они собираются в бинарные файлы при удачной сборке через makefile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment