-
Notifications
You must be signed in to change notification settings - Fork 19
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
macOS and Linux support? #2
Comments
I would love to do it but unfortunately I don't have a Linux environment or a Mac to be able to make the builds. If you have such an environment available, and are feeling tech savvy, you could of course try compiling the app yourself as there isn't anything platform dependent about the code. The hardest part will probably be compiling OIIO but you may be able to get that from a package manager. Perhaps this thread about compiling the Nvidia version of the denoiser on Linux could be useful as the build code is similar. |
We made it work but it was rather uneasy. It needed a few fixes in the code and updating SConstruct. The changes are in my fork Here is basically the process we established:
Here make sure to set OIDN_APPS_OPENIMAGEIO to ON and CMAKE_OSX_DEPLOYMENT_TARGET to 10.0
On Apple Silicon we had extra steps
It was not really possible to include all libs along the executable like for windows, as building static libraries is harder on macos and all dynamic libraries come with a full path to dependencies (/usr/local or /opt/homebrew) @DeclanRussell would you please consider integrating the fixes in main.cpp and changes in SConstruct in this repo? I tried not to break the windows build but I've not tested it. Also for references, I had to use a different version for oidn include files as they contain windows-specific directives that are not supported |
@FlorentMasson Nice work getting this working, its awesome! Thanks a bunch for the detailed build instructions too. I would be more than happy to integrate any changes needed for cross platform support. If you create a pull request, I'll take a look at it 😄 |
It'd be great to get this working on Linux :) |
PS: I got it running. I am trying to denoise photos, but I don't see any visual effect on the images I input.
|
@unfa Glad to hear you got it working. Unfortunately this denoiser is not designed for photos, only computer generated images. See DeclanRussell/NvidiaAIDenoiser#9 for a similar discussion (though with the Nvidia denoiser that is based on the same technique). |
Is support for macOS and Linux planned?
The text was updated successfully, but these errors were encountered: