axodox-machinelearning
axodox-machinelearning copied to clipboard
Is it possible to build the project in mac arm model or linux platform?
Hi! Amazing project, and I wonder if it is possible to build the project in the Mac m model or the x84_64 platform? I am not familiar with the Windows platform. Could you please provide a CmakeList.txt to build the project? Thanks for your answer in advance.
Yes it would be possible to build for Mac, however that will require a few steps:
- By looking at this project file a cmakelist file could be defined with the proper options
- All files in this directory should be built
- Then all ML stuff which has the PLATFORM_WINDOWS part would need to be replaced with a PLATFORM_MAC alternative - this is not much code though
- This would also had to be applied at the project: https://github.com/axodox/axodox-common/tree/main
- The DirectML provider should be replaced by the Apple one (sorry I forgot the name)
- The ortextensions dll would need to be replaced by a mac build (I think this already exists)
I would say this could take 1-2 days to pull off, however I do not have a Mac and limited free time. However I am willing to help if somebody starts on this.
Thank you for your message! I appreciate your willingness to help. I will take note of your suggestions and give it a try.
@cauliyang, I'm trying to use this project on Mac/Linux too. Have you had any success porting it? Would you be able to share your code and information about how to do it? Thank you.
I am a Linux user, and I think that you're project could gain a lot of popularity with better cross-platform support. I hope to see it ported to Linux, and I am looking forward to seeing this project reach it's full potential.