-
Working on libdmtx integration using the presets wiki, but unfortunately have gotten stuck. I'm not well versed in the Javacpp Presets build tool, nor C syntax so looking for feedback on possible causes of errors. Building on Windows 10 64-bit right now. There is working DLLs and JNI code that I built standalone using the dmtx-wrappers Java project and Visual Studio 2022. So if interested in seeing this work off-the-shelf I'll gladly attach the artifacts. Forked the Javacpp Presets repo and added libdmtx to it here: Build log: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
The starting point for this task is this page: https://github.com/bytedeco/javacpp-presets/wiki/Create-New-Presets It looks like libdmtx has project files for CMake, so that's what we should be using in this case to build on Windows with Visual Studio. It's usually easiest to use in combination with Ninja and MSYS2. You can see a simple example of that in this cppbuild.sh file: |
Beta Was this translation helpful? Give feedback.
The starting point for this task is this page: https://github.com/bytedeco/javacpp-presets/wiki/Create-New-Presets
It looks like libdmtx has project files for CMake, so that's what we should be using in this case to build on Windows with Visual Studio. It's usually easiest to use in combination with Ninja and MSYS2. You can see a simple example of that in this cppbuild.sh file:
https://github.com/bytedeco/javacpp-presets/blob/master/lz4/cppbuild.sh
That file may work pretty much as is for libdmtx, but let me know if you have any questions about that!