AlexeyAB / darknet

YOLOv4 / Scaled-YOLOv4 / YOLO - Neural Networks for Object Detection (Windows and Linux version of Darknet )
http://pjreddie.com/darknet/
Other
21.68k stars 7.96k forks source link

code is not working with "https://github.com/pjreddie/darknet" rather working with "https://github.com/AlexeyAB/darknet #7469

Open ani16 opened 3 years ago

ani16 commented 3 years ago

Hi

I wanted to ask, if I am doing simple detection on image, without training , it throws error using the link "https://github.com/pjreddie/darknet" , but working fine with "https://github.com/AlexeyAB/darknet". I need to compile the code with gcc only, not with g++. That why one first link is needed.

Can I build the code with gcc only using "https://github.com/AlexeyAB/darknet", without g++.

Screenshot from 2021-03-05 16-13-24

stephanecharette commented 3 years ago

Joseph's repo was abandoned many years ago. It should not be used anymore, and has not been supported for many years.

I need to compile the code with gcc only, not with g++.

Explain why?

ani16 commented 3 years ago

I am running the code on real time operating system in hardware with strict compiler. When I am building the code with g++ , it throws error in building https_stream.o. how to deal with it while building with g++.

Thanks

On Fri, Mar 5, 2021, 8:48 PM Stéphane Charette notifications@github.com wrote:

Joseph's repo was abandoned many years ago. It should not be used anymore, and has not been supported for many years.

I need to compile the code with gcc only, not with g++.

Explain why?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/AlexeyAB/darknet/issues/7469#issuecomment-791484525, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFLNCW2YYINPAQE5PBZCPLTTCDY25ANCNFSM4YVAL4NA .

stephanecharette commented 3 years ago

When I am building the code with g++ , it throws error in building https_stream.o

What is the error? What version of the compiler? What OS?

ani16 commented 3 years ago

Os is 32 bit linux, power pc-gcc , eldk is compiler.. it is throwing error of "https_stream not found".

On Sat, Mar 6, 2021, 7:59 PM Stéphane Charette notifications@github.com wrote:

When I am building the code with g++ , it throws error in building https_stream.o

What is the error? What version of the compiler? What OS?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/AlexeyAB/darknet/issues/7469#issuecomment-791962054, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFLNCW4F5A6Y5IVRLKAQ7ILTCI33ZANCNFSM4YVAL4NA .

stephanecharette commented 3 years ago

This is not a Darknet error. There is no file called "https_stream" in Darknet. Are you sure you don't mean http_stream.cpp? Are you building using the normal Makefile and make, or some other way? Can you please post the exact error you are getting?

ani16 commented 3 years ago

I will send you screenshot of error..just wait for sometime please. Thanks for reply

On Sun, Mar 7, 2021, 10:29 PM Stéphane Charette notifications@github.com wrote:

This is not a Darknet error. There is no file called "https_stream" in Darknet.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/AlexeyAB/darknet/issues/7469#issuecomment-792311009, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFLNCWZULTYQC6VADS2OPYTTCOWHVANCNFSM4YVAL4NA .