Skip to content

Conversation

ivan-volnov
Copy link

Hi,

Thanks for the app. Works great!

I had a trouble to build it on FreeBSD 14.2 with Clang. It could not find libraries and failed to compile because of CRT.

So, I just migrated to CMake.

I believe CMake is much better to build the project anywhere.

You can accept it, if you wish.

@astier
Copy link
Owner

astier commented Dec 14, 2024

I usually build it with gcc. I have no experience with clang and don't know if the CFLAGS in the Makefile are compatible with clang. I also don't have experience with cmake. Right now I don't really have time to learn new tools and compare them to make and gcc and would rather stick with make. One reason is also that I use it with Arch Linux and there gcc and make are included in base-devel (used to install AUR-packages). I don't want to install new build-tools for such a small program but rather would like to use what is already preinstalled.

I am not sure but I think regarding missing libraries the program pkg-config (also in base-devel) is commonly used to find libraries on different systems. However, right now I also don't have time to deal with pkg-config although I probably should have used it from the start and should migrate my other programs to it. Sorry for not giving BSD enough love. I will fix it sometime. Or if you want you can integrate pkg-config into the Makefile. I am sure make should also work with BSD.

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

Successfully merging this pull request may close these issues.

2 participants