dankamongmen / notcurses

blingful character graphics/TUI library. definitely not curses.
https://nick-black.com/dankwiki/index.php/Notcurses
Other
3.4k stars 113 forks source link

Troubles building notcurses on windows #2745

Open bobodoustaud opened 6 months ago

bobodoustaud commented 6 months ago

Hello, I've tried following the instructions in INSTALL.md on how to install and build notcurses for windows but had no success. Here are the steps i took :

-cloned the github of notcurses -Installed MSYS2 -opened the ucrt64 terminal (the mustard exe) -ran the pacman dependencies command line (no errors given during the installation of the 195 packages) -ran cmake .. inside a build folder i created in the root of the notcurses repo i cloned -CMake throws me an error :

-- Looking for unigbrk.h
-- Looking for unigbrk.h - not found
CMake Error at CMakeLists.txt:174 (message):
  Couldn't find unigbrk.h from GNU libunistring

but unigbrk.h is located in C:\msys64\ucrt64\include

I tried reinstalling msys2, tried running cmake in a windows command prompt, tried hinting cmake to search in C:\msys64\ucrt64\include both through a command line argument or by directly modifying the CMakeLists.txt but to no success.

It's my first time working with msys2, so i might have missed something obvious. Thanks in advance !

a few screenshots for context : Capture1 unigbrk.h location

Capture3 pacman invocation

Capture2 cmake output and error