rechmbrs / FtPattern

Ft Fourier transforms C++ code for Photoshop WinMac and Pattern Suppression Action
Other
39 stars 6 forks source link

Compile for Apple M1 #4

Closed angrux closed 11 months ago

angrux commented 1 year ago

Trying to get plugins work on Apple M1 system.

rechmbrs commented 1 year ago

Angrux,

I'm no longer able to work on coding so someone else will need to do it for newer Apple systems. I don't even know anyone with an M1.

RONC

On Fri, Apr 28, 2023 at 2:30 PM angrux @.***> wrote:

Trying to get plugins work on Apple M1 system.

— Reply to this email directly, view it on GitHub https://github.com/rechmbrs/FtPattern/issues/4, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABAYIOV7YBU3IQZS2M2F6RDXDQLFVANCNFSM6AAAAAAXPT6UMU . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Ronald E Chambers 1713 Twila Ln Conroe, TX 77301-1175 C - 713.806.6304 E - @.***

chain83 commented 1 year ago

@angrux that is excellent news. I regularly get e-mails from Mac users who struggle due to this, and since I don't own a Mac it's hard to provide step-by-step workaround instructions. :)

angrux commented 1 year ago

Hey @rechmbrs, @chain83, actually I started to build the plugins locally here on my Mac. I started with the fftw libs and then modified the xcode project files (include paths and target settings). I was able to compile and build the plugins. I copied the .plugin files in the Photoshop 2023 folder but still they won't load in Photoshop. There is only one which is loading, but no idea why the others won't appear. @chain83, if you get to know someone who could support to test the Plugins on their system, please let me know. If anyone has an idea how to debug why the plugins won't load, please also let me know. Thank you!!

angrux commented 1 year ago

Just a quick update... I found the issue why it only worked for one of the plugins. I forgot one line of code which I already added in the other one. I will create a branch on the repo and share the code and the binaries. Stay tuned...

chain83 commented 1 year ago

Currently on holiday in Italy without a PC, so I might be a bit unresponsive for a while :)

On Mon, 1 May 2023, 22:08 angrux, @.***> wrote:

Just a quick update... I found the issue why it only worked for one of the plugins. I forgot one line of code which I already added in the other one. I will create a branch on the repo and share the code and the binaries. Stay tuned...

— Reply to this email directly, view it on GitHub https://github.com/rechmbrs/FtPattern/issues/4#issuecomment-1530148429, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZTRJ43Z6DJEUF3RCFDCQ4TXEAJ2FANCNFSM6AAAAAAXPT6UMU . You are receiving this because you were mentioned.Message ID: @.***>

chain83 commented 1 year ago

@angrux I don't have a way to test, but I'm thinking if you can get the plugins working for you Angrux, we can roll them out, and see if any users report any problems. They tend to comment on the YT video tutorial (or sometimes in the forum) if they have problems, so I get notified quickly.

I will still include the Intel-versions (for people with older systems), but add the M1 as a new option for people with new systems. Since we're not removing the old (working) plugins, I don't have a problem with it.

angrux commented 11 months ago

Hello @chain83! Sorry for not replying for months... Not sure whether you have had a look into the forum https://www.retouchpro.com/forum/tools/software/39278-ft-pattern-suppressor/page11

So, I got positive feedback that the plugins are basically working for other users too. If you dont't mind to spend the effort it would be great if you could update the readme and prepare zip-files for download. Installation is same, copy plugin files and give permission as highlighted already on ft.rognemedia.no. Regarding github, I think there is nothing to do for now. Everything is uploaded, we only need to touch it again in case there is a new processor architecture coming up.

Thank you and best wishes!

chain83 commented 11 months ago

Great! I have for some reason stopped getting notifications from the forum, so had not noticed the latest updates.

I copied six relevant .plugin-files from the FtMacPluginsM1-folder and added them to the zip. Updated the readme and labelling it version 2.8.

v2.8.zip

It would be great if you could check the attached zip-file and verify that I got the correct version of the plugins and that they run on your Mac (as I'm still only on Windows). If OK I will update the website.

Only downside is Mac-users still need to run that terminal command, but oh well. 🤷‍♂️

angrux commented 11 months ago

Thank you! I just tested on the latest Photoshop update which didn't have the plugins yet and it is working perfectly. We cannot change the need of terminal command, users have to deal with that. Anyway, this shouldn't be an issue.

chain83 commented 11 months ago

https://ft.rognemedia.no has been updated

On Tue, Dec 5, 2023 at 10:29 PM angrux @.***> wrote:

Thank you! I just tested on the latest Photoshop update which didn't have the plugins yet and it is working perfectly. We cannot change the need of terminal command, users have to deal with that. Anyway, this shouldn't be an issue.

— Reply to this email directly, view it on GitHub https://github.com/rechmbrs/FtPattern/issues/4#issuecomment-1841640730, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZTRJ477SQJYWDZ7EJTTOP3YH6G4HAVCNFSM6AAAAAAXPT6UMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBRGY2DANZTGA . You are receiving this because you were mentioned.Message ID: @.***>

-- Mvh. Jonas M. Rogne

rechmbrs commented 11 months ago

@angrux https://github.com/angrux I think that I have modified the access for FtPattern so you can make the changes necessary. You and @chain83 can maintain it for other changes like M2, M3, .... You should be careful in modifying the Ft plugins as others use them for doing Fourier Transforms as stand alone filters in PS. I'm using only a cell phone as my connection to the net and have hand problems so I'm unable to do much. My mind is still working though.

RONC

Conroe, TX 77301-1175 C - 713.806.6304 E - @.***

On May 11, 2023 14:17:59 chain83 @.***> wrote:

@angrux https://github.com/angrux I don't have a way to test, but I'm thinking if you can get the plugins working for you Angrux, we can roll them out, and see if any users report any problems. They tend to comment on the YT video (or sometimes in the forum) if they have problems, so I get notified quickly.

I will still include the Intel-versions (for people with older systems), but add the M1 as a new option for people with new systems. Since we're not removing the old (working) plugins, I don't have a problem with it.

  • Do some testing of installing/uninstalling, perhaps on a new user account or something as well. See if there are any potential issues that users might encounter (beyond the annoying "unverified developers"-thing).
  • I can update the readme and prepare the zip-files (for download at ft.rognemedia.no). Please tell me if the installation instructions need adjusting with the M1-plugins (I assume it's still just "copy .plugin-files into plugin-folder").
  • I will let you and @rechmbrs https://github.com/rechmbrs handle the Github stuff as I don't really know how to use it... :)

— Reply to this email directly, view it on GitHub https://github.com/rechmbrs/FtPattern/issues/4#issuecomment-1544548992, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABAYIOWSSEHOZ33W2UVXD5TXFU3OPANCNFSM6AAAAAAXPT6UMU . You are receiving this because you were mentioned.Message ID: @.***>

angrux commented 11 months ago

Changes merged into sidebranch rechmbrs:applesilicon via PR #5