G
Guest
Having troubles with my program and i believe it has something to do with my
project settings for precompiled headers. This is what i have: my main cpp
file, vector.h/cpp and polygon.h/cpp.
vector.h includes math, polygon includes vector and gl/gl.h, and main
includes windows.h, gl/gl.h, gl/glu.h, gl/glaux.h and polygon.h
i've tried setting all of them to 'using precompiled headers' and i get:
fatal error C1010: unexpected end of file while looking for precompiled
header directive
i've tried setting them all to 'not using precompiled headers' but i get a
ton of errors mostly in gl.h and a couple in vector.cpp which say 'identifier
not found' even though it's with regards to a variable that i defined in the
vector class in vector.h. Including windows.h in the files that use gl (main
and polygon) gets rid of the gl.h errors but keeps those vector errors that i
mentioned. Any ideas?? this is very frustrating and any help would be much
appreciated...thanks!
project settings for precompiled headers. This is what i have: my main cpp
file, vector.h/cpp and polygon.h/cpp.
vector.h includes math, polygon includes vector and gl/gl.h, and main
includes windows.h, gl/gl.h, gl/glu.h, gl/glaux.h and polygon.h
i've tried setting all of them to 'using precompiled headers' and i get:
fatal error C1010: unexpected end of file while looking for precompiled
header directive
i've tried setting them all to 'not using precompiled headers' but i get a
ton of errors mostly in gl.h and a couple in vector.cpp which say 'identifier
not found' even though it's with regards to a variable that i defined in the
vector class in vector.h. Including windows.h in the files that use gl (main
and polygon) gets rid of the gl.h errors but keeps those vector errors that i
mentioned. Any ideas?? this is very frustrating and any help would be much
appreciated...thanks!