CICM / HoaLibrary-PD

:sound: HoaLibrary for Pure Data
http://hoalibrary.mshparisnord.fr/en
GNU General Public License v3.0
38 stars 7 forks source link

compilation issues #9

Open anwaldt opened 7 years ago

anwaldt commented 7 years ago

Hi,

I got errors when running 'make' using the 'dev/rerefactory' branch on Ubuntu-Studio 17.04 after using cmake ... But I could solve it (or at least build it) by removing 'hoa_override' in the file: 'HoaLibrary-PD/hoa.library/Sources/Hoa_MultiEncoder.hpp' for 'setFisheye()' ...

So maybe I got something wrong, or is that a valid fix which needs to be commited?

Best, H

See the error:

[ 75%] Building CXX object CMakeFiles/hoa.2d.recomposer_tilde.dir/sources/2d/hoa.2d.recomposer_tilde.cpp.o In file included from /home/anwaldt/TMP/HoaLibrary-PD/hoa.library/Sources/Hoa.hpp:18:0, from /home/anwaldt/TMP/HoaLibrary-PD/sources/2d/hoa.2d.recomposer_tilde.cpp:11: /home/anwaldt/TMP/HoaLibrary-PD/hoa.library/Sources/Hoa_MultiEncoder.hpp: In instantiation of ‘class hoa::MultiEncoder<(hoa::Dimension)0u, float>’: /home/anwaldt/TMP/HoaLibrary-PD/sources/2d/hoa.2d.recomposer_tilde.cpp:45:82: required from here /home/anwaldt/TMP/HoaLibrary-PD/hoa.library/Sources/Hoa_MultiEncoder.hpp:89:21: error: ‘void hoa::MultiEncoder<D, T>::setFisheye(T) [with hoa::Dimension D = (hoa::Dimension)0u; T = float]’ marked ‘override’, but does not override inline void setFisheye(T fisheye) hoa_noexcept hoa_override ^~~~~~ CMakeFiles/hoa.2d.recomposer_tilde.dir/build.make:86: recipe for target 'CMakeFiles/hoa.2d.recomposer_tilde.dir/sources/2d/hoa.2d.recomposer_tilde.cpp.o' failed make[2]: [CMakeFiles/hoa.2d.recomposer_tilde.dir/sources/2d/hoa.2d.recomposer_tilde.cpp.o] Error 1 CMakeFiles/Makefile2:659: recipe for target 'CMakeFiles/hoa.2d.recomposer_tilde.dir/all' failed make[1]: [CMakeFiles/hoa.2d.recomposer_tilde.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2