I have been looking for wrappers to help me use darknet in my code. This one seemed pretty straight forward buy I cannot get past thislplace. Am I doing anything wrong? I wanted to run the darknet++ before I can bring in my project. Thank you in advance and I am open to any working wrapper that can help me work around this issue. Thanks.
====================[ Build | darknet_cpp | Debug ]=============================
/opt/clion-2019.1.4/bin/cmake/linux/bin/cmake --build /home/vtech/classifier/yolo_cpp/app/darknet++/cmake-build-debug --target darknet_cpp -- -j 4
Scanning dependencies of target darknet_cpp
[ 50%] Building CXX object CMakeFiles/darknet_cpp.dir/darknet++.cpp.o
[100%] Linking CXX executable darknet_cpp
CMakeFiles/darknet_cpp.dir/darknet++.cpp.o: In function main': /home/vtech/classifier/yolo_cpp/app/darknet++/darknet++.cpp:34: undefined reference toYolo::Yolo()'
/home/vtech/classifier/yolo_cpp/app/darknet++/darknet++.cpp:35: undefined reference to Yolo::setConfigFilePath(char const*)' /home/vtech/classifier/yolo_cpp/app/darknet++/darknet++.cpp:36: undefined reference toYolo::setDataFilePath(char const)'
/home/vtech/classifier/yolo_cpp/app/darknet++/darknet++.cpp:37: undefined reference to `Yolo::setWeightFilePath(char const)'
/home/vtech/classifier/yolo_cpp/app/darknet++/darknet++.cpp:38: undefined reference to Yolo::setAlphabetPath(char const*)' /home/vtech/classifier/yolo_cpp/app/darknet++/darknet++.cpp:39: undefined reference toYolo::setNameListFile(char const*)'
/home/vtech/classifier/yolo_cpp/app/darknet++/darknet++.cpp:40: undefined reference to Yolo::setThreshold(float)' /home/vtech/classifier/yolo_cpp/app/darknet++/darknet++.cpp:62: undefined reference toYolo::detect(cv::Mat const&, std::vector<DetectedObject, std::allocator >&) const'
/home/vtech/classifier/yolo_cpp/app/darknet++/darknet++.cpp:69: undefined reference to `Yolo::getNames()'
collect2: error: ld returned 1 exit status
CMakeFiles/darknet_cpp.dir/build.make:150: recipe for target 'darknet_cpp' failed
make[3]: [darknet_cpp] Error 1
CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/darknet_cpp.dir/all' failed
make[2]: [CMakeFiles/darknet_cpp.dir/all] Error 2
CMakeFiles/Makefile2:84: recipe for target 'CMakeFiles/darknet_cpp.dir/rule' failed
make[1]: [CMakeFiles/darknet_cpp.dir/rule] Error 2
Makefile:118: recipe for target 'darknet_cpp' failed
make: [darknet_cpp] Error 2
I have been looking for wrappers to help me use darknet in my code. This one seemed pretty straight forward buy I cannot get past thislplace. Am I doing anything wrong? I wanted to run the darknet++ before I can bring in my project. Thank you in advance and I am open to any working wrapper that can help me work around this issue. Thanks. ====================[ Build | darknet_cpp | Debug ]============================= /opt/clion-2019.1.4/bin/cmake/linux/bin/cmake --build /home/vtech/classifier/yolo_cpp/app/darknet++/cmake-build-debug --target darknet_cpp -- -j 4 Scanning dependencies of target darknet_cpp [ 50%] Building CXX object CMakeFiles/darknet_cpp.dir/darknet++.cpp.o [100%] Linking CXX executable darknet_cpp CMakeFiles/darknet_cpp.dir/darknet++.cpp.o: In function >&) const'
/home/vtech/classifier/yolo_cpp/app/darknet++/darknet++.cpp:69: undefined reference to `Yolo::getNames()'
collect2: error: ld returned 1 exit status
CMakeFiles/darknet_cpp.dir/build.make:150: recipe for target 'darknet_cpp' failed
make[3]: [darknet_cpp] Error 1
CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/darknet_cpp.dir/all' failed
make[2]: [CMakeFiles/darknet_cpp.dir/all] Error 2
CMakeFiles/Makefile2:84: recipe for target 'CMakeFiles/darknet_cpp.dir/rule' failed
make[1]: [CMakeFiles/darknet_cpp.dir/rule] Error 2
Makefile:118: recipe for target 'darknet_cpp' failed
make: [darknet_cpp] Error 2
main': /home/vtech/classifier/yolo_cpp/app/darknet++/darknet++.cpp:34: undefined reference to
Yolo::Yolo()' /home/vtech/classifier/yolo_cpp/app/darknet++/darknet++.cpp:35: undefined reference toYolo::setConfigFilePath(char const*)' /home/vtech/classifier/yolo_cpp/app/darknet++/darknet++.cpp:36: undefined reference to
Yolo::setDataFilePath(char const)' /home/vtech/classifier/yolo_cpp/app/darknet++/darknet++.cpp:37: undefined reference to `Yolo::setWeightFilePath(char const)' /home/vtech/classifier/yolo_cpp/app/darknet++/darknet++.cpp:38: undefined reference toYolo::setAlphabetPath(char const*)' /home/vtech/classifier/yolo_cpp/app/darknet++/darknet++.cpp:39: undefined reference to
Yolo::setNameListFile(char const*)' /home/vtech/classifier/yolo_cpp/app/darknet++/darknet++.cpp:40: undefined reference toYolo::setThreshold(float)' /home/vtech/classifier/yolo_cpp/app/darknet++/darknet++.cpp:62: undefined reference to
Yolo::detect(cv::Mat const&, std::vector<DetectedObject, std::allocator