Recommended Posts

well, I have been sitting still for two days now..
I get this error msg:
c:\documents and settings\hans-petter harveg\mine dokumenter\mine prosjekter\d3d9 engine\anim.h(47) : error C2146: syntax error : missing ';' before identifier 'cTGA'
when I compile this code:

Share this post

Link to post

Share on other sites

pch means "pre-compiled header", and that error usually means that something is wrong with your class declaration or definition and the program can't compile it. once i had 32 pch creation errors, all for various sins i shall not mention. so check your classes and ensure everything matches. just out of curiosity, shouldn't the line (in the Anim class in anim.h) that reads :void Anim::setViewport(params) be simply void setViewport(params) ?