You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have build notcurses on 20 distros, but can not make it work on any bsd distro
It is not notcurses fault, I just dont know how to install the C++ tools correctly on BSD
notcurses has both a FreeBSD and OpenBSD Port, as far as i know (though both are somewhat out of date; i got my FreeBSD VM working again last week, and hope to rectify at least the former soon).
so i'm not quite sure what you're asking. are you running into some compilation failure?
If you have your own FreeBSD VM, do you have the steps to install and make C++ (gcc) works and compile notcourses.
I am using gcc, but since FreeBSD does not maintain gcc anymore, I guess your are now compiling with CLang.
I dont have the technical knowledge to make gcc works on FreeBSD and it seems very difficult according to various posts.
I did not test if I can compile my C++ projects with clang including notcurses.
I may try it for FreeBSD if required.
I am adding stuff to notcurses for my projects and I need to compile it from sources.
So far I have 20 Linux distro working, but not BSD.
In an apt (debian like) distro it goes this way:
function install_pkg()
{
status="$(dpkg-query -W --showformat='${db:Status-Status}' "$1" 2>&1)"
if [ ! $? = 0 ] || [ ! "$status" = installed ]
then
sudo apt -y install $1
else
echo "$1 is already installed"
fi
}
install_pkg g++
install_pkg build-essential
install_pkg cmake
install_pkg git
install_pkg libgmp-dev
install_pkg ffmpeg
notcurses
install_pkg doctest-dev
install_pkg libavdevice-dev
install_pkg libdeflate-dev
install_pkg libgpm-dev
install_pkg libncurses-dev
install_pkg libqrcodegen-dev
install_pkg libswscale-dev
install_pkg libunistring-dev
install_pkg pandoc
install_pkg pkg-config
git clone ...notcurses...
cmake ..
make
sudo make install
I have build notcurses on 20 distros, but can not make it work on any bsd distro
It is not notcurses fault, I just dont know how to install the C++ tools correctly on BSD
Thanks
https://github.com/alanthie/build_all
The text was updated successfully, but these errors were encountered: