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

build is ignored? #1

Closed
bishop-exe opened this issue Sep 22, 2022 · 5 comments
Closed

build is ignored? #1

bishop-exe opened this issue Sep 22, 2022 · 5 comments

Comments

@bishop-exe
Copy link

.gitignore has ./build ignored so no make file.

@huytd
Copy link
Owner

huytd commented Sep 22, 2022

Hey, thanks for the feedback. I put the information in the README.md file

You can do:

$ ./setup.sh
$ ./build.sh

The setup script will create the build folder, and the build script will run make, as well as run the binary afterward (if build successes).

@bishop-exe
Copy link
Author

bishop-exe commented Sep 23, 2022

Awesome thank you. I needed to do a few extra things as well but it runs fine due to missing packages. Namely:
sudo apt-get install libcurl4-openssl-dev

Minus this "M-" issue...

image

I looked around for an answer and came across this:

https://yjlv.blogspot.com/2015/10/displaying-unicode-with-ncurses-in-c.html#cfd5-addstr-to-addwstr

@huytd
Copy link
Owner

huytd commented Sep 25, 2022

That's interesting, look like it's because I dev on a mac machine and ncurses on mac already supported wide characters, for the case of Linux system, we have to link against ncursesw.

I'll try setup a linux box and fix up the build next week. Thank you so much!

@huytd huytd closed this as completed in 0b26100 Oct 12, 2022
@huytd
Copy link
Owner

huytd commented Oct 12, 2022

image

It should be displayed properly on Linux now.

@bishop-exe
Copy link
Author

Well done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants