Attempt 1Īccording to online tutorials and CMake documentation, a good way (best practice?) to download OpenCV and configure it as a part of the project is to use FetchContent. If you’d like to skip and take a look at working code, you can take a look at this repository. This post is documentation of a frustrating journey of performing what should have been a trivial task - make dependency compile as part of a project. If so, it is even worse - as far as I understand the intent behind CMake, it should make developers lives easier, not harder. Note that I am not very knowledgeable in CMake, so it is possible I am doing something stupid. In practice, sadly, it is anything BUT easy. In theory, configuring a popular library like OpenCV in CMake should be easy.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |