Sorry, if this is obvious, but when I followed your commands (with the small change of adding -G "MinGw" to the first cmake command) I got to the cmake --build . -j part, and it said
C:\Users{name}\OneDrive\Coding\C++\graphics\tinyrenderer\our_gl.cpp: In function 'void triangle(const vec4*, IShader&, TGAImage&, std::vector&)':
C:\Users{name}\OneDrive\Coding\C++\graphics\tinyrenderer\our_gl.cpp:58:1: internal compiler error: Segmentation fault
}
and I dont know how to fix it.
Sorry, if this is obvious, but when I followed your commands (with the small change of adding -G "MinGw" to the first cmake command) I got to the cmake --build . -j part, and it said C:\Users{name}\OneDrive\Coding\C++\graphics\tinyrenderer\our_gl.cpp: In function 'void triangle(const vec4*, IShader&, TGAImage&, std::vector&)':
C:\Users{name}\OneDrive\Coding\C++\graphics\tinyrenderer\our_gl.cpp:58:1: internal compiler error: Segmentation fault
}
and I dont know how to fix it.