2

I wrote a program in C that uses the CDK to create an user interface. It works great under Linux, but some people under Windows need it.

I've heard that Cygwin could help me, so last 3 days I was trying to recompile my program with the help of Cygwin. I tried a lot of things, like differents compilers, recompile nCurses from source, recompile CDK from source, using PDCurses... but I always failed. I got many types of problems and errors so I just can't list that here...

Is there a solution to use the CDK library under Windows ?

Metogon
  • 21
  • 2
  • CDK's never been ported to use PDCurses (just Unix curses and ncurses). You can install an ncurses development package in Cygwin, which should help. – Thomas Dickey Aug 01 '17 at 19:55
  • With the ncurses package it does compile and it works within the Cygwin environment. But when running the .exe outside I got the error "Error opening terminal: cygwin" – Metogon Aug 02 '17 at 01:38
  • If they're running Windows 10, they can try using your software on [WSL](https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux). – kichik Aug 02 '17 at 02:09

0 Answers0