ssloy / tinyraytracer

A brief computer graphics / rendering course
https://github.com/ssloy/tinyraytracer/wiki
5.04k stars 333 forks source link

Error relating to pragma when running tinyraytracer.cpp #34

Closed hbhutta closed 1 year ago

hbhutta commented 1 year ago

image

I tried running the source file for this ray tracer and I am getting this error. Should I include extra flags? I did not make any changes to the code after forking this repository.

hbhutta commented 1 year ago

Nevermind, I just ran it as g++ tinyraytracer.cpp and it compiled. I think it did not work previously because of the statement "all warnings being treated as errors"