pjreddie / darknet

Convolutional Neural Networks
http://pjreddie.com/darknet/
Other
25.88k stars 21.33k forks source link

/usr/bin/ld: cannot find -lippicv collect2: error: ld returned 1 exit status #290

Open jhasuman opened 7 years ago

jhasuman commented 7 years ago

Hi while makefile for opencv I am getting this error, can someone help me with this, please . I am also attaching the error screenshot.
capture1

TheMikeyR commented 7 years ago

Format the command like this: ./darknet detector test path/to/datafile.data path/to/configfile.cfg path/to/weightFile.weights data/dog.jpg the -i <gpu_device> is pointing at which gpu to use for the process, so if you want to use that arg make sure you point it at the correct device, if you have only one graphic card use -i 0 i think it should also be as the last parameter for the command (but not sure if that is correct).

jhasuman commented 7 years ago

Thank You!! But the main error was coming in open cv. /usr/bin/ld: cannot find -lippicv collect2: error: ld returned 1 exit status I have also attached the error screenshot.

capture2

TheMikeyR commented 7 years ago

Have you tried this? https://github.com/opencv/opencv/issues/5852

jhasuman commented 7 years ago

I am using AWS cloud GPU and there is no usr/bin/id directory

TheMikeyR commented 7 years ago

try this on aws

cmake -DWITH_IPP=ON -DINSTALL_CREATE_DISTRIB=ON .
make -j$(nproc)
jhasuman commented 7 years ago

Now this error

image

TheMikeyR commented 7 years ago

The command I sent is what you need to compile opencv with, your error is due to opencv library and not darknet.

Joostavontuur commented 6 years ago

Hey, I have the same problem did you already fixed it. And if you fixed it, how?

ck196 commented 6 years ago

Build opencv manually and copy

cd opencv/build/3rdparty/ippicv/ippicv_lnx/lib/intel64 sudo cp libippicv.a /usr/local/lib/

aishguna1 commented 6 years ago

Hi, I have created DLL in CVI Application and then tried to link the same to the QT.But getting an ERROR as shown below .Can anyone help me to solve the Problem. I hope it is possible to link CVI & Visual Studio DLL into QT Am I right? ........................................................................................................................ 1img

cracktichi commented 6 years ago

I facing same issue with miniconda in Ubuntu. Anyone have already fix it? untitled

feipengaitie2012 commented 6 years ago

Hi, My problem is "error: collect2: error: ld returned 1 exit status", Qt5.10.0 darknet use GPU compile failed. Anybody help me to solve it? Thanks!