manoharan-lab / holopy

Hologram processing and light scattering in python
GNU General Public License v3.0
135 stars 50 forks source link

trouble installing the ADDA package #440

Open vnmanoharan opened 6 months ago

vnmanoharan commented 6 months ago

I am a new user and I am having trouble installing the ADDA package. Although I have installed HoloPy, I'm still getting errors. Could you please help me with the installation process?

In a terminal window, When I go to the directory ’adda/src’ and compile using one of three options given in the HoloPy tutorial:

make seq or: make or: make OpenCL

I am getting this error message: "'make' is not recognized as an internal or external command, operable program or batch file.."

Originally posted by @samatwork85 in https://github.com/manoharan-lab/holopy/issues/205#issuecomment-2097417843

vnmanoharan commented 6 months ago

@samatwork85, you will need to install a build environment. Please see this site for instructions on how to compile ADDA: https://github.com/adda-team/adda/wiki/CompilingADDA. For Windows they recommend installing the pre-built binaries.

samatwork85 commented 6 months ago

Thank you so much. After trying for two days, I finally built the ADDA package. I installed ADDA and was able to run it with >> adda.