"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Corrupt file

I ran ndk-build in cygwin, but i encountered some error in teapot.h. as in the attachment below From the error message it indicates a } bracket (or ; ) error, there is nothing wrong in this regards. I couldn't figure what was wrong with the code. But i guess it is corrupt some how. Can I have some help by someone posting a copy of the original teapot.h so i can delete the corrupted one. I appreciate any help Many thanks

DavidBeard

Thu, 06/14/2012 - 20:17

See the attached. It looks like you're getting a parsing error.

many thanks DaviBeard. What causes parsing error and how can I prevent it occuring?

DavidBeard

Fri, 06/15/2012 - 01:40

They typically arise when characters that are used to delimit and signify lines and blocks of code are missing (e.g. {},(), ; , etc.. ). Try using a code editor with syntax highlighting. These will often indicate invalid syntax.