darknet-cpp-wrapper icon indicating copy to clipboard operation
darknet-cpp-wrapper copied to clipboard

how to use

Open cevatbostancioglu opened this issue 7 years ago • 2 comments

hello can you write little more about details. i copied all orginal code into wrapper , and darknet.h file to examples folder and tried "g++ main.cpp" but

main.cpp:24:1: error: ‘Darknet’ does not name a type Darknet darknet; ^ main.cpp: In function ‘int main(int, char**)’: main.cpp:41:2: error: ‘darknet’ was not declared in this scope darknet.initialize(0); ^

Can you write more about details. Thank you.

cevatbostancioglu avatar Jun 21 '17 13:06 cevatbostancioglu

i figured out several things but still have too much error. when i write: cevat@cevat-MS-7970:~/darknet_orj/darknet-cpp-wrapper/example$ g++ main.cpp -I../wrapper/

just a lot of error.

cevatbostancioglu avatar Jun 21 '17 14:06 cevatbostancioglu

Hi Cevat,

The wrapper only act as an interface that makes the original darknet code work with c++. Check the installation guide in the readme. You should first make sure you can download and run the original darknet here https://github.com/pjreddie/darknet , then follow the readme guide and change the makefile.

Good luck!

Tommy

On Wed, Jun 21, 2017 at 10:24 AM, Cevat Bostancıoğlu < [email protected]> wrote:

i figured out several things but still have too much error. when i write: cevat@cevat-MS-7970:~/darknet_orj/darknet-cpp-wrapper/example$ g++ main.cpp -I../wrapper/

just a lot of error.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/TommyX12/darknet-cpp-wrapper/issues/1#issuecomment-310095003, or mute the thread https://github.com/notifications/unsubscribe-auth/AHcqCl1uEil5yFx6LIk1_8KuDiTUSsG1ks5sGSewgaJpZM4OA8Gg .

TommyX12 avatar Jun 21 '17 15:06 TommyX12