Darknet: No libdarknet.so after build

Created on 21 May 2020  路  4Comments  路  Source: AlexeyAB/darknet

I wanna utilize darknet.py to use yolov4 in my python project.

however after build the darknet and write down my script there is an error shown below.
OSError: ./libdarknet.so: cannot open shared object file: No such file or directory

Btw is the opencv python library supporting Yolov4?

Most helpful comment

found self solution

set LIBSO=1 in Makefile

leaving this for other people.

All 4 comments

found self solution

set LIBSO=1 in Makefile

leaving this for other people.

https://github.com/AlexeyAB/darknet#how-to-use-yolo-as-dll-and-so-libraries

set LIBSO=1 in the Makefile and do make

@AlexeyAB I've rebuild to generate libdark.so after changed LiBSO =1 and rebuild with CMake('./build.ps1), libdark.so it did not generate anywhere, any thought on this? Any help would appreciate.

@MindSightTH I found libdarknet.so after setting LIBSO=1, and do make.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kebundsc picture kebundsc  路  3Comments

zihaozhang9 picture zihaozhang9  路  3Comments

Jacky3213 picture Jacky3213  路  3Comments

rezaabdullah picture rezaabdullah  路  3Comments

shootingliu picture shootingliu  路  3Comments