Darknet: Visual Studio build Error: C1083 'opencv2/highgui/highgui_c.h': No such file or directory darknet_no_gpu darknet-master\darknet-master\src\yolo.c

Created on 13 Aug 2018  路  9Comments  路  Source: AlexeyAB/darknet

I did compile the darknet-master\build\darknet\darknet_no_gpu.sln

but the software have these problem, help thx!

Solved

Most helpful comment

@SomeO Try to use this archive: https://sourceforge.net/projects/opencvlibrary/files/opencv-win/3.3.0/opencv-3.3.0-vc14.exe/download

There is opencv\build\include\opencv2 directory.

All 9 comments

  • Can you build darknet.sln successfully?
  • What version of OpenCV do you use?
  • My computer have no NVIDIA GPU, I cannot build darknet.sln
  • My OpenCV version is 3.4.2.17

I think this is a known problem with OpenCV. Try using OpenCV 3.4.0.

Try to use OpenCV 3.4.0 or 3.3.0

@AlexeyAB 锛孖 also meet the same problem锛寃hen building darkenet_no_gpu. And I use OpenCV 3.4.0. After that, I check the directory OPENCV_PATH/include/opencv2/, there is no folder named highgui . Please help , thanks!

@SomeO Try to use this archive: https://sourceforge.net/projects/opencvlibrary/files/opencv-win/3.3.0/opencv-3.3.0-vc14.exe/download

There is opencv\build\include\opencv2 directory.

from https://github.com/AlexeyAB/darknet/issues/1389#issuecomment-412824430
problem fixed. Thanks EveryOne!!!

I have another problem in build the darknet.exe,
I will ask the question in the next post.

I fix all bugs using the following tutorial
https://github.com/AlexeyAB/darknet/issues/1455#issuecomment-416030423

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hemp110 picture hemp110  路  3Comments

PROGRAMMINGENGINEER-NIKI picture PROGRAMMINGENGINEER-NIKI  路  3Comments

Mididou picture Mididou  路  3Comments

shootingliu picture shootingliu  路  3Comments

zihaozhang9 picture zihaozhang9  路  3Comments