ssloy / tinyrenderer

A brief computer graphics / rendering course
https://github.com/ssloy/tinyrenderer/wiki
Other
20.73k stars 1.99k forks source link

internal compiler error: Segmentation fault #100

Closed loloolk closed 2 years ago

loloolk commented 2 years ago

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.

borailgar commented 2 years ago

Quick guess: "internal compiler error" might be means that you need more memory to compile successfully.