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

Compile failure in histogram.cpp #3878

Open
bacontsu opened this issue Jan 29, 2025 · 2 comments
Open

Compile failure in histogram.cpp #3878

bacontsu opened this issue Jan 29, 2025 · 2 comments

Comments

@bacontsu
Copy link

bacontsu commented Jan 29, 2025

System Information
OpenCV version: 4.10.X
Operating System: Windows 11
Compiler version: MSVC 2022
CUDA Version: 12.8
cuDNN Version: 9.7.0
GPU: GTX 1650 4GB

theres two main error, one only happens in compile time

Severity	Code	Description	Project	File	Line	Suppression State
Error (active)	E0458	argument of type "NppStatus (*)(NppiSize oSizeROI, int nLevels, size_t *hpBufferSize)" is incompatible with template parameter of type "<unnamed>::get_buf_size_c1_t"	opencv_cudaimgproc	D:\opencv_contrib\modules\cudaimgproc\src\histogram.cpp	665	

and also

Severity	Code	Description	Project	File	Line	Suppression State
Error	C2664	'NppStatus (NppiSize,int [],size_t *,NppStreamContext)': cannot convert argument 4 from 'cv::cuda::NppStreamHandler' to 'NppStreamContext'	opencv_cudaimgproc	D:\opencv_contrib\modules\cudaimgproc\src\histogram.cpp	536	

Everything is set-up properly, and both opencv and also opencv_contrib was fetch from the repo freshly, i cant find the issue

@cudawarped
Copy link
Contributor

Pull the latest changes for both repos from the 4.x branches.

@bacontsu
Copy link
Author

bacontsu commented Feb 1, 2025

Pull the latest changes for both repos from the 4.x branches.

There was still some error after pulling from the repo, its really weird, i'll try to re-clone them

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

No branches or pull requests

2 participants