magiblot / tvision

A modern port of Turbo Vision 2.0, the classical framework for text-based user interfaces. Now cross-platform and with Unicode support.
Other
2k stars 151 forks source link

Cannot compile tvision #45

Closed HenningSvane closed 3 years ago

HenningSvane commented 3 years ago

I am running on Ubuntu 20.04 Linux ubuntuclient 5.8.0-40-generic #45~20.04.1-Ubuntu SMP Fri Jan 15 11:35:04 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

I have downloaded the project and unzip it which created the folder structure I the run: hsv@ubuntuclient:~/tvision/tvision-master$ cmake . -B ./build -DCMAKE_BUILD_TYPE=Release && cmake --build ./build -- Install path: /usr/local -- Build Examples: ON -- Build w/GPM: ON -- gpm library requested CMake Warning at CMakeLists.txt:36 (message): gpm library requested but not found Call Stack (most recent call first): source/CMakeLists.txt:113 (tv_message)

CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: NCURSESW linked by target "tvision" in directory /home/hsv/tvision/tvision-master/source

-- Configuring incomplete, errors occurred! See also "/home/hsv/tvision/tvision-master/build/CMakeFiles/CMakeOutput.log". See also "/home/hsv/tvision/tvision-master/build/CMakeFiles/CMakeError.log".

CMakeError.log CMakeOutput.log

What should I do different to get it compiled? Regards Henning

magiblot commented 3 years ago

Hi Henning! You are very close. You need to install the package libncursesw5-dev. I'm sorry the error message is not very helpful. I should probably list the required packages in the Readme.

Cheers.

HenningSvane commented 3 years ago

Hi Thanks for a fast answer. I was looking at that, and could see that libncursesw6 was installed. Not dev, but should it be version 5 and not the current version 6?

Regards Henning Svane


Fra: magiblot notifications@github.com Sendt: torsdag den 28. januar 2021 01.21 Til: magiblot/tvision Cc: HenningSvane; Author Emne: Re: [magiblot/tvision] Cannot compile tvision (#45)

Hi Henning! You are very close. You need to install the package libncursesw5-dev. I'm sorry the error message is not very helpful. I should probably list the required packages in the Readme.

Cheers.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/magiblot/tvision/issues/45#issuecomment-768666183, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AL44SRWFIZUXMZISYMDZAQLS4CUX5ANCNFSM4WWBMDCA.

magiblot commented 3 years ago

That would seem logical, but there is no package libncursesw6-dev. Don't worry about that, it won't cause conflicts (I hope).

magiblot commented 3 years ago

After investigating a bit, I realized that libncurses-dev already provides the 'wide char' variant of Ncurses (not because Turbo Vision uses wide chars, but because the non-wide variant of Ncurses was unable to display UTF-8 properly the last time I tried it). Actually, libncursesw5-dev consists of just a document (file list) and has libncurses-dev as dependency. So whether you install libncurses-dev or libncursesw5-dev, the result will be the same.

Cheers.