Jarek Sacha
Jarek Sacha
I am getting similar error on Windows when I try to use 'gen-idea', but it does not matter which version of Java (7 or 8) or Scala (2.10 or 2.11)...
Here is little different, but a minimal example that may not generate a template, depending on instantiation order. The template class (simplified), in file `BasePtr.h`: ```C++ #ifndef BASE_PTR_H #define BASE_PTR_H...
Commit a105765 fixed one issue (https://github.com/bytedeco/javacpp/issues/478#issuecomment-841583087) There is still issue reported originally. I tried to minimize and reduced to two simple presets and a couple of includes. [include.zip](https://github.com/bytedeco/javacpp/files/6497312/include.zip) [presets.zip](https://github.com/bytedeco/javacpp/files/6497314/presets.zip) This...
Removing SPINNAKER_API_ABSTRACT and SPINNAKER_API did not make difference to template generation (not generated). Corrected includes are attached [include.zip](https://github.com/bytedeco/javacpp/files/6497565/include.zip)
Nothing changed here. I may not have a chance to get to it for a couple of days. I am also running in a couple of other unrelated issues in...
Thanks for addressing this issue quickly. I see names generated correctly in the Java code. To compile C++ code (deal with pointer use) it also needs in the preset: ```java...
Type enum in this example is called `EAccessMode` (similar `ENameSpace` referred above). The preset is called "GenICam". The error code when compiling "jniGenICam.cpp": ``` X:\javacpp-presets.git\spinnaker\target\native\org\bytedeco\spinnaker\windows-x86_64\jniGenICam.cpp(1219): error C2665: 'Spinnaker::GenApi::EAccessModeClass::ToString': none of...
Also the generated Java wrapper classes for `EAccessMode` and `EAccessModeClass`. ```java @Namespace("Spinnaker::GenApi") public enum EAccessMode { NI(0), NA(1), WO(2), RO(3), RW(4) _UndefinedAccesMode(5), _CycleDetectAccesMode(6);/** used internally for AccessMode cycle detection*/ public...
Below is the `GenICam` preset in its current shape. I can push it to my repo or a branch in javacpp-presets (it can be just added to current Spinnaker preset)....
Since there is a workaround with `new Info(cppName).cast().pointerTypes("Pointer")` the above is a lesser issue. In the meantime I come across another thing that shows with the new version of javacpp....