Closed xiaoxiaotao closed 6 years ago
Could you share the CMake file you tried ? Is it for darknet-cpp, or darknet-cpp-shared, or ?
Also - what platform are you writing this for - Windows, or other?
I wrote a proof of concept of how a CMake wrapper for Linux could be. Please see if it would help you.
https://gist.github.com/prabindh/6bb3c429b8e8347edcf9b5e0b2f54a20
A standalone CMake build is not possible with the current build approach.
Could you share the CMake file you tried ? Is it for darknet-cpp, or darknet-cpp-shared, or ? I share the darknet-cpp-shared.so,it is my project. https://github.com/xiaoxiaotao/arapaho
Thanks. I think this will not work in Windows, correct ? Were you able to try the ExternalProject approach (https://gist.github.com/prabindh/6bb3c429b8e8347edcf9b5e0b2f54a20) ? If there are no further queries pending, please close.
ok
I need use darknet in my project,but I must use Cmake, I have write a CMakeLists.txt.However,it does not workdo you have CMakeLists.txt?