scottprahl / mie

Mie code to calculate light scattering by perfect spheres.
BSD 3-Clause "New" or "Revised" License
9 stars 0 forks source link

Error while installing mie #1

Closed PiyushX23 closed 4 years ago

PiyushX23 commented 4 years ago

Hi...

I tried to install mie as per the given instruction but I am facing following error while doing make. I think it is related to "ctangel" Please help me to resolve this.

_cd src; make make[1]: Entering directory '/home/piyush/Downloads/mie/src' ./version.pl /usr/bin/gcc -fno-common -O3 -c -o version.o version.c ctangle mie_main.w - mie_main.c make[1]: ctangle: Command not found make[1]: [: mie_main.c] Error 127 make[1]: Leaving directory '/home/piyush/Downloads/mie/src' make: [Makefile:63: mie] Error 2_

scottprahl commented 4 years ago

Download the most recent version from github.

All the files should now be present and ctangle should not be needed.

If you are still having problems you can wait for me to fix things or build ctangle yourself

git clone https://github.com/ascherer/cweb.git

On Sep 30, 2019, at 12:09 PM, Piyushkumar N Patel notifications@github.com wrote:

Hi...

I tried to install mie as per the given instruction but I am facing following error while doing make. I think it is related to "ctangel" Please help me to resolve this.

cd src; make make[1]: Entering directory '/home/piyush/Downloads/mie/src' ./version.pl /usr/bin/gcc -fno-common -O3 -c -o version.o version.c ctangle mie_main.w - mie_main.c make[1]: ctangle: Command not found make[1]: [: mie_main.c] Error 127 make[1]: Leaving directory '/home/piyush/Downloads/mie/src' make: [Makefile:63: mie] Error 2

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

PiyushX23 commented 4 years ago

Can I use "git clone https://github.com/ascherer/cweb.git" to build ctangle? But it is written that his project is incomplete and give the compiler warnings. Should I still use this to build "ctangle"?

scottprahl commented 4 years ago

OK. Try now. I just uploaded the files and added a new release. Should work now.

scottprahl commented 4 years ago

I am going to close this issue since I think it has been addressed. If not then please start a new issue.