Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
FaBeyyy opened this issue Mar 24, 2018 · 8 comments
Closed
Labels

Comments

@FaBeyyy
Copy link

FaBeyyy commented Mar 24, 2018

Compiling with cudnn 7, cuda 3
unbenannt

@AlexeyAB
Copy link
Owner

@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?

@FaBeyyy
Copy link
Author

FaBeyyy commented Mar 24, 2018

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"

@AlexeyAB
Copy link
Owner

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

Use OpenCV 3.4.0 or earlier.

@FaBeyyy
Copy link
Author

FaBeyyy commented Mar 24, 2018

Worked, thank you so much for the quick help.

@FaBeyyy FaBeyyy closed this as completed Mar 25, 2018
judwhite added a commit to judwhite/darknet that referenced this issue Mar 25, 2018
#nnn alone doesn't work in readme/wiki markdown
@ruin1990
Copy link

ruin1990 commented Apr 9, 2018

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

jktzes pushed a commit to jktzes/darknet that referenced this issue Jul 22, 2018
#nnn alone doesn't work in readme/wiki markdown
@arshiana
Copy link

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

@AlexeyAB
Copy link
Owner

@wadaxy
Copy link

wadaxy commented May 7, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants