javacpp icon indicating copy to clipboard operation
javacpp copied to clipboard

The missing bridge between Java and native C++

Results 105 javacpp issues
Sort by recently updated
recently updated
newest added

Hi everyone, Creating a byte[] from a NetParameter can be done as follows : ``` java byte[] byteModel = new byte[netParameter.ByteSize()]; netParameter.SerializeWithCachedSizesToArray(byteModel); ``` How can I do the other way?...

help wanted
question

Due to unsafe methods getting intensified it is faster than native. So perhaps it might be an idea to replace where appropriate with Unsafe use. Also using Unsafe to access...

enhancement
help wanted

Hi everyone, I am using `FloatMemoryDataLayer` to pass data to the net via `Reset` method using `FloatPointers` as follows : `solver.net().layer_by_name(FloatMemoryDataLayer.class, "dataLayer")` `.Reset(dataFloatPointer, labelFloatPointer, numberOfSamples);` I see that there's the...

help wanted
question

Hi, We recently hit this race condition issue with `javacpp.Loader class`. The issue happens when you have multiple JVMs running on the same machine, like in Spark. It manifests as...

bug
help wanted

I have an error during creation jni lib by javacpp in case I have function with callback with std::string_view parameter ``` greeter-jni.cpp:1858:9: error: no matching function for call to 'testStringView'...

bug
enhancement
help wanted

The cache dir can be set via the system property `org.bytedeco.javacpp.cachedir` The `Loader.getCacheDir()` method will try this path, plus some others, and if creating all of these fails, it throws...

enhancement
help wanted

I am building a process for OpenSensorHub on Jetson TX2 using Gradle and I am getting an error when initializing the process: ```UnsatisfiedLinkError: no jniopencv_core``` My build.gradle dependencies are setup...

enhancement
help wanted
question

If we have in C++: ```c++ void f(T t); ``` and: ```Java new Info("T").pointerTypes("T1", "T2"); ``` we generate: ```Java void f(T1 t); void f(T2 t); ``` If the function takes...

question

As described in #732. Title pretty much sums it up. Templated constructors and operators (but not plain functions) are ignored when they have `std::vector` as a parameter. The behavior is...

enhancement
help wanted

I am using a library that uses JavaCPP. In the logs, I see the following error message: `Error getting method ID of java/lang/RuntimeException/ ` This log message is created in...

enhancement
help wanted