So, has anyone been able to do anything with this SDK yet?
I have been trying to compile the examples on the SDK, as explained on the
help page, but I keep getting the following compile error:
Code:
.\M8Sample.cpp(111) : fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source?
This apparently means that I'm missing to include "stdafx.h" (the include file for standard system include files, automatically generated by VS2005), but:
(1) on step 5 it clearly states that I should replace all the contents of the project's ".cpp" file with the example, because we will not use the automatically generated files,
(2) the example "mzfc_sample_01.cpp" does not use "stdafx.h" at all,
(3) even if I add '#include "stdafx.h"' directly, I just get a bunch of other compile errors, and I'm unable to proceed.
Anyone has any ideas? Maybe it's that Google translation of the help page that is incorrect, making me miss some important detail... can someone help me out with a proper translation of the
original help page? I give cookies!
(ok, not actually cookies, but positive rep instead
)
EDIT: I finally found the solution this morning! Seems that it's also necessary to turn off "precompiled headers" in VS2005. I was able to compile and test the first example on the M8 Emulator at last! I'll post more info as soon as I get the time to do a few more tests..