A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/bytedeco/javacpp/issues/370 below:

Question candidate expects 0 arguments, 1 provided · Issue #370 · bytedeco/javacpp · GitHub

Im trying to create a opencv build off master with some custom flags, however im getting errors like this when trying to compile. What would be the cause of this? Im not to familiar with javacpp yet so i really dont know where to start fixing this issue.

But to me it looks like I either need to map a CvBox2D() constructor with the float argument, or create the missing converter somewhere? What is your take on this?

/home/netbrain/dev/javacpp-presets/opencv/target/native/org/bytedeco/opencv/linux-x86_64-gpu/jniopencv_core.cpp:55942:118: error: no matching function for call to ‘CvBox2D::CvBox2D(jfloat&)’
In file included from /home/netbrain/dev/javacpp-presets/opencv/target/native/org/bytedeco/opencv/linux-x86_64-gpu/jniopencv_core.cpp:113:0:
/home/netbrain/dev/javacpp-presets/opencv/cppbuild/linux-x86_64-gpu/include/opencv2/core/types_c.h:1273:16: note: candidate: CvBox2D::CvBox2D()
 typedef struct CvBox2D
                ^~~~~~~
/home/netbrain/dev/javacpp-presets/opencv/cppbuild/linux-x86_64-gpu/include/opencv2/core/types_c.h:1273:16: note:   candidate expects 0 arguments, 1 provided
/home/netbrain/dev/javacpp-presets/opencv/cppbuild/linux-x86_64-gpu/include/opencv2/core/types_c.h:1273:16: note: candidate: constexpr CvBox2D::CvBox2D(const CvBox2D&)
/home/netbrain/dev/javacpp-presets/opencv/cppbuild/linux-x86_64-gpu/include/opencv2/core/types_c.h:1273:16: note:   no known conversion for argument 1 from ‘jfloat {aka float}’ to ‘const CvBox2D&’
/home/netbrain/dev/javacpp-presets/opencv/cppbuild/linux-x86_64-gpu/include/opencv2/core/types_c.h:1273:16: note: candidate: constexpr CvBox2D::CvBox2D(CvBox2D&&)
/home/netbrain/dev/javacpp-presets/opencv/cppbuild/linux-x86_64-gpu/include/opencv2/core/types_c.h:1273:16: note:   no known conversion for argument 1 from ‘jfloat {aka float}’ to ‘CvBox2D&&’
/home/netbrain/dev/javacpp-presets/opencv/target/native/org/bytedeco/opencv/linux-x86_64-gpu/jniopencv_core.cpp: In function ‘void Java_org_bytedeco_opencv_opencv_1core_CvBox2D_allocate__Ljava_nio_FloatBuffer_2Lorg_bytedeco_opencv_opencv_1core_CvSize2D32f_2F(JNIEnv*, jobject, jobject, jobject, jfloat)’:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4