4 ms·
Had so much trouble trying to get a C++ project cmake setup with opencv 4 in macOS. Until I found conan. I have been use to package managers from other languag
by idnefju 7y ago
Had so much trouble trying to get a C++ project cmake setup with opencv 4 in macOS. Until I found conan.
I have been use to package managers from other languages.
- self_awareness 7y agoI've tried to use Conan, but was unable to use 'openssl', because it was named 'OpenSSL'. So, then I wanted to use HarfBuzz library, but Conan was unable to find one. Later I've found out HarfBuzz exists, but it's named 'harfbuzz'. The 'case sensitivity' bug was created in 2017, is still open. I think it's connected to a case sensitivity flag in filesystem which is used in the system. So, since 99% of Linux systems use case-sensitive fs, it's not usable on Linux.
- clappski 7y ago... I use Conan in projects with dependencies on OpenSSL on Linux and I don’t have any issues. I use the Makefile generator (because our build system is plain make + Conan). The name of the package shouldn’t impact you at all, unless I’m misunderstanding what you mean? Another example is a dependency on a package called ‘jsonformoderncpp’, which I use by ‘#include “nlohmann/blah.h”’ - the package name is arbitrary, even if you have to refer to the dependence using the package name in your build system rather than the canonical name I don’t see how that would be an issue (even with FindPackage or whatever you use in CMake)?
- otabdeveloper4 7y agoNix is the best C++ package manager at the moment, once you climb the slight learning curve.
- clappski 7y ago+1 for Conan, my favourite feature is using the deploy generator to gather my dynamically linked libs to deploy with my binaries - so powerful, and generally breaks the coupling between the distribution (and which packages it provides) and my application.