Log in or register to post comments

Corrupt file

June 14, 2012 - 12:56pm #1

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

Re: Corrupt file

June 14, 2012 - 6:40pm #4

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. Also one that presents line numbers is helpful in locating problem code based on the error messages - e.g. yours begin at line 26.

Re: Corrupt file

June 14, 2012 - 6:15pm #3

many thanks DaviBeard.

What causes parsing error and how can I prevent it occuring?

Re: Corrupt file

June 14, 2012 - 1:17pm #2

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

Log in or register to post comments