axodox-machinelearning icon indicating copy to clipboard operation
axodox-machinelearning copied to clipboard

Is it possible to build the project in mac arm model or linux platform?

Open cauliyang opened this issue 2 years ago • 4 comments

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.

cauliyang avatar Jun 13 '23 00:06 cauliyang

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.

axodox avatar Jun 13 '23 10:06 axodox

Thank you for your message! I appreciate your willingness to help. I will take note of your suggestions and give it a try.

cauliyang avatar Jun 14 '23 01:06 cauliyang

@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.

netgeek888 avatar Apr 18 '24 20:04 netgeek888

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.

athyfr avatar Sep 20 '24 19:09 athyfr