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
126 stars 50 forks source link

Installation issue, #151

Open rshegde opened 7 years ago

rshegde commented 7 years ago

Hi, I have installed all prereqs on a ubuntu 16.04 system. I do ./configure --without-hdf5 then i get this error on running make

HDF5IO.lo -MD -MP -MF .deps/HDF5IO.Tpo -c HDF5IO.cc -fPIC -DPIC -o .libs/HDF5IO.o HDF5IO.cc:768:6: error: prototype for ‘void SMatrix::ExportToHDF5(const char, const char, ...)’ does not match any in class ‘SMatrix’ void SMatrix::ExportToHDF5(const char FileName, const char format, ...) ^ In file included from HDF5IO.cc:95:0: libhmat.h:406:10: error: candidates are: void SMatrix::ExportToHDF5(char, const char, ...) void ExportToHDF5(char FileName, const char format, ...); ^ libhmat.h:405:10: error: void SMatrix::ExportToHDF5(void, const char, ...) void ExportToHDF5(void pHC, const char format, ...); ^ Makefile:568: recipe for target 'HDF5IO.lo' failed make[5]: [HDF5IO.lo] Error 1 make[5]: Leaving directory '/home/ravi/scuff-em/src/libs/libhmat' Makefile:440: recipe for target 'all' failed make[4]: [all] Error 2 make[4]: Leaving directory '/home/ravi/scuff-em/src/libs/libhmat' Makefile:382: recipe for target 'all-recursive' failed make[3]: [all-recursive] Error 1 make[3]: Leaving directory '/home/ravi/scuff-em/src/libs' Makefile:377: recipe for target 'all-recursive' failed make[2]: [all-recursive] Error 1 make[2]: Leaving directory '/home/ravi/scuff-em/src' Makefile:427: recipe for target 'all-recursive' failed make[1]: [all-recursive] Error 1 make[1]: Leaving directory '/home/ravi/scuff-em' Makefile:359: recipe for target 'all' failed make: [all] Error 2

HomerReid commented 7 years ago

Thanks for the bug report. This should be fixed in it 29e4494. Please try again and close the issue if resolved.