Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Troubles building notcurses on windows #2745

Open
bobodoustaud opened this issue Jan 8, 2024 · 0 comments
Open

Troubles building notcurses on windows #2745

bobodoustaud opened this issue Jan 8, 2024 · 0 comments
Labels
userquestion not quite bugs--inquiries from users

Comments

@bobodoustaud
Copy link

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

@bobodoustaud bobodoustaud added the userquestion not quite bugs--inquiries from users label Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
userquestion not quite bugs--inquiries from users
Projects
None yet
Development

No branches or pull requests

1 participant