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

Like this: https://github.com/masesgroup/JCOReflector

enhancement
help wanted
question

The error message can be seen in one image. ![image](https://github.com/bytedeco/javacpp/assets/13211758/48b9ae5e-7f46-4ef3-aa94-e639c1d37159) After I manually copied the libopencv_world.so.3.4 file over, the program ran normally. However, the libopencv_world.so.3.4 file is already included in...

help wanted
question

Downloaded latest snapshot and cannot build on intel mac. This test fails. Any ideas why? ``` [ERROR] Failures: [ERROR] ThreadTest.testJNIThreadAttachFromNativeCallbacks:100 [INFO] [ERROR] Tests run: 70, Failures: 1, Errors: 0, Skipped:...

bug
help wanted

This PR adds a mechanism to copy declarations from one class to another. It is used automatically when a virtual inheritance towards a polymorphic class, that we cannot transpose to...

See https://github.com/bytedeco/javacpp/pull/649#issuecomment-1426844810 [This lines](https://github.com/bytedeco/javacpp/blob/5f81c237cf1a2a6f2100dc39ae58d3c7d6dd07e1/src/main/java/org/bytedeco/javacpp/tools/Parser.java#L2332-L2333) and [this lines](https://github.com/bytedeco/javacpp/blob/5f81c237cf1a2a6f2100dc39ae58d3c7d6dd07e1/src/main/java/org/bytedeco/javacpp/tools/Parser.java#L3948-L3949) are not useful anymore with this PR. But you may want to keep them for compatibility.

# Security Vulnerability Fix This pull request fixes a Temporary File Information Disclosure Vulnerability, which existed in this project. ## Preamble The system temporary directory is shared between all users...

enhancement
help wanted

Parser generates code for pairs and not for vectors for vectors of pairs. Example for `std::vector`: ``` public class XPairVector extends Pointer { static { Loader.load(); } /** Pointer cast...

enhancement
help wanted

Hello, We've observed an issue wherein a reference to an internal member variable appears to become dangling after the class that contains that member is garbage-collected. # Question Can references...

enhancement
help wanted
question

It would be nice to generalize [this logic](https://github.com/bytedeco/javacpp/blob/0afb7b44236a402990e2e8b8291fc57e15624965/src/main/java/org/bytedeco/javacpp/tools/Parser.java#L1367-L1420) for, eg, containers or arrays. Currently, if we must map a `std::vector`, we need to add an info `new Info("std::shared_ptr").pointerTypes("M")`. While this...

enhancement
help wanted

```c++ namespace ns { struct M; using MPtr = std::shared_ptr; } static public void f(ns::MPtr x) {} ``` In this example, `f` is parsed correctly as: ```Java public static native...

bug
help wanted