versuche grade das Praktikum zu kompilieren, aber mir scheint es als wäre ein fehler im code.
Code: Alles auswählen
make
Scanning dependencies of target main
[ 33%] Building CXX object CMakeFiles/main.dir/main.cpp.o
In file included from /home/madmoses/Arbeitsfläche/P3/P3/main.h:19:0,
from /home/madmoses/Arbeitsfläche/P3/P3/main.cpp:20:
/home/madmoses/Arbeitsfläche/P3/P3/TriangleMesh.h:23:0: warning: "M_PI" redefined
/usr/include/math.h:366:0: note: this is the location of the previous definition
/home/madmoses/Arbeitsfläche/P3/P3/TriangleMesh.h:144:65: error: default argument for parameter of type ‘std::Vec3f&’ has type ‘std::Vec3f’
/home/madmoses/Arbeitsfläche/P3/P3/main.cpp: In function ‘int main(int, char**)’:
/home/madmoses/Arbeitsfläche/P3/P3/main.cpp:47:20: warning: deprecated conversion from string constant to ‘char*’
make[2]: *** [CMakeFiles/main.dir/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/main.dir/all] Error 2
make: *** [all] Error 2
Grüße