ovilab / atomify

Atomify - a realtime LAMMPS visualizer
GNU General Public License v3.0
149 stars 20 forks source link

Is there an IOS build guide? #432

Open jdaaph opened 3 years ago

jdaaph commented 3 years ago

As the title goes. I'm really interested in building the project and on my ipad and play around with it. Thank you @andeplane !

andeplane commented 2 years ago

Hey, I did not see this one! There is no guide, unfortunately, but the main thing is that you need to modify the Makefile for LAMMPS to match the compile flags you get when you target iOS. I seem to remember that I first choose iOS in Qt, and then compile Atomify. Open the Compile output (or the Makefile) to see what flags are being used for both compilation and linking. Then open the LAMMPS source code, and create a Makefile.ios or something that matches this.

The Atomify version you find in the App Store, is based on the https://github.com/ovilab/atomify/tree/mobile_5.6 branch I think (based on Qt 5.6).

Hope this helps a BIT, and let me know if you try but get stuck!

andeplane commented 1 year ago

I am working on a replacement that is entirely on the web. See https://github.com/andeplane/atomify. It runs everything in the browser and is purely based on TypeScript and Webassembly. I haven't spent much time on making it nice on mobile, but it works.