AlexeyAB/darknet

Syntax errors in C librarys when trying to compile with VS2015, WIN10

FaBeyyy opened this issue ยท 8 comments

Compiling with cudnn 7, cuda 3
unbenannt

@FaBeyyy Hi,

Compiling with cudnn 7, cuda 3

  • CUDA 3 was released 8 years ago - you are not mistaken?

  • What OpenCV version do you use?

Yeah sorry my mistake havent slept all night... so:

OpenCv: 3.4.1
Cuda: 9.1

What i tried: changing the compilation settings from C to C++ which resultet into the C library errors going away but new conversion errors popping up as it is probably not the way to go.
unbenannt

A weird warning that i get is : "'cuda_gridsize' has C-linkage specified, but returns UDT 'dim3' which is incompatible with C"

This is a bug in OpenCV 3.4.1 in the C API: opencv/opencv#10963

Use OpenCV 3.4.0 or earlier.

Worked, thank you so much for the quick help.

tks a lot, i was also met this problem and solve it now by this issue.

Can't fix this problem...... iam using OpenCv 3.4.0
screenshot 1

What is a recommended version of OpenCV at this moment for the Darknet environment?
My OpenCV version is 4.5.5, but so many warnings appear during 'make'.
I'm a Mac user and used 'brew' for OpenCV installation.
Thank you in advance.