HomerReid / scuff-em

A comprehensive and full-featured computational physics suite for boundary-element analysis of electromagnetic scattering, fluctuation-induced phenomena (Casimir forces and radiative heat transfer), nanophotonics, RF device engineering, electrostatics, and more. Includes a core library with C++ and python APIs as well as many command-line applications.
http://www.homerreid.com/scuff-em
GNU General Public License v2.0
128 stars 51 forks source link

Installation error due to missing file SWIG #228

Closed ayan-majumd closed 4 years ago

ayan-majumd commented 4 years ago

I am new to this platform and was trying to install Scuff-em. After typing in make -j 20 install, the installation started and continued for a while and showed the following message.

make[2]: Entering directory `/home/aymajumd/scuff-em/libs/python'

swig -Wall -I../../libs/libhrutil -I../../libs/libMatProp -I../../libs/libhmat -I../../libs/libSGJC -I../../libs/libIncField -I../../libs/libMDInterp -I../../libs/libTriInt -I../../libs/libscuff -I../../libs/libscuffSolver -I../../libs/libStaticSolver -I../../libs/libSubstrate -I../.. -outdir . -c++ -python -o ./scuff-python.cpp ./scuff.i

make[2]: swig: Command not found make[2]: [scuff-python.cpp] Error 127 make[2]: Leaving directory `/home/aymajumd/scuff-em/libs/python' make[1]: [install-recursive] Error 1 make[1]: Leaving directory `/home/aymajumd/scuff-em/libs' make: *** [install-recursive] Error 1

Seems like a swig command isn't present inside the lib/python folder. Can anyone please suggest how to get this file or how to fix this issue? Would be of great help! Thanks!