-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support? #1
Comments
Hi @haesleinhuepf when you get a chance maybe test to see if it runs on your end. Also we need to generate a MAC build and I believe you already did that for the old version. By default the native build is enabled. To build in maven without the native build you need to do mvn -Djavacpp.skip=true If you want you can set javacpp .skip to true by default. To build the native and java part run The above requires you have a c++ development environment on your system though. Let me know if it works for you and also if you have any suggestions on how to make the build process better. |
Hey Brian @bnorthan , wow, awesome, it built right out of the box on my mac:
Shall I send these mac binaries as PR? We could collect them in the repository with the linux and windows files and package them together inside the jar? Have a nice weekend and again: Awesome work! Cheers, |
A pull request would be great. I made some minor changes so that the binaries are placed in platform specific directories, to avoid conflicts between the mac and linux version of libclij2fft.so. See the last 3 commits. Also I need to specify the relative location of the binaries in the pom, it is done here, you may have to add in the mac path. I tried to use |
Hey Brian @bnorthan , are there any news here on this project? I'm wondering what potential open tasks might be... I just cloned it and ran this main method. An error message suggests that a clFFT library is missing:
I'm new to multi-OS builds. Do you know which lib/so/dll files have to be located where in order to make this run smoothly? Any hint is welcome! Thanks! Cheers, |
Good question. Can you confirm that the correct version of clFFT for the operating system you are testing on was packed in the jar?? The code by the javacpp developers to actually load the library is actually quite complicated and can be found here In the past I've built everything with the javacpp plugin and it puts the native libraries in a specific spot in the jar. At runtime it seems like they are always found. A while ago you mentioned you don't have a c compiler on some of your machines, so you disabled the javacpp maven plugin and started placing the pre-built native libraries in resources. It seems to me that worked, but maybe it didn't and we just were fooled somehow. Is it possible to backtrack to take a look at the old version that was based on ops-experiments, confirm if that works? And if so we can then figure out what is different. |
Which operating system are you working with by the way?? Does it work on one but not another? If it is finding Here are some instructions on how to look at dependencies on each operating system. |
I just tested on Windows so far... |
Did you copy the libraries to |
Hi @haesleinhuepf I just ran a test and copied this directory to Fiji.app/lib. It seems it can find the libraries after that. I even tried renaming However the naming of the subdirecties in 'Fiji.app/lib' could be important for Mac and Linux as they both use |
Hey Brian @bnorthan ,
looks like you're working hard on making clij2-fft ready for shipping. I could imagine that this will become the most popular CLIJ2 function 😉
Can I help you with anything?
Cheers,
Robert
The text was updated successfully, but these errors were encountered: