3 ms·
Seems like the author simply assume those who want to build his code already have ncurses installed. Thus, only a Makekefile provided. No configure, scons scrip
by anta40 3y ago
Seems like the author simply assume those who want to build his code already have ncurses installed. Thus, only a Makekefile provided. No configure, scons script etc etc.
It would be nice if the author states explicitely what the dependencies are so you don't have to spend hours installing the libraries. Yep I get it
- sam345 3y ago> This project provides a ncurses implementation for such cases. You will need the ncurses library installed. Install this library from your package manager. Must have missed this.
- dylan604 3y agoI get that it's possible, as a developer, to have so many packages installed on your local that are used all of the time so that they are overlooked as an external package. However, it seems like a dependency tree should be able to be created by all of the import statements. From there, just list everything even if it is part of the stdlib. I'm not a C/C++ dev, so maybe that is possible and people just don't do it?
- anta40 3y agoI'm not a C/C++ dev, and not familiar with how well C/C++ toolings improved. But I frequently deal with C/C++ codebases as an undergraduate student many years ago. Some of them only provides a Makefile, which assume you already have the necessary libraries installed (or know how to install them and adjust the include paths). How to build the code? The usual cycle: make -> compile error - install lib A -> make -> another compile error -> install lib B -> .... repeat this until you got the thing built. Usins build tool like SCons makes your life easier. If it cannot the detect the installation of required libraries, it may throw errors before even compiling your code. Of course modern programming languages like Go, Rust, Nim etc typically have default package managers...