Getting Started Coding


puppet said:
Right I found files for all of that list in the GPH_SDK subfolders, using the .so versions of them, as shown below;
View attachment 516


Still cannot compile however, whatever I've done beforehand is blocking the compile, as shown in the bottom half of the print screen.

This occurs on compiling even blank projects now, (both App and Game), I must have messed a setting in the wrong place somewhere along the line. Any ideas?

not certain what you might have messed up here, but it's better to copy the build log (right click -> copy to clipboard and paste that), screenshots are not really good for that
 
Last edited by a moderator:
Also, in the compiler settings, under "Other settings" set the log method to "Full command line".
 
Print screens were to copy the paths together which I couldn't copy to clipboard, here's the error log.

Code:
-------------- Build: host in Tut2DTrial ---------------

Compiling: main.cpp
cygwin warning:
  MS-DOS style path detected: C:/Program Files (x86)/CAANOO/GPH_SDK/DGE/include
  Preferred POSIX equivalent is: /cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/DGE/include
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
In file included from main.cpp:46:
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:49: error: expected constructor, destructor, or type conversion before 'typedef'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:50: error: '__END_NAMESPACE_STD' does not name a type
In file included from main.cpp:46:
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:91: error: expected constructor, destructor, or type conversion before 'typedef'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:97: error: expected constructor, destructor, or type conversion before 'typedef'
In file included from main.cpp:46:
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:155: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:162: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:172: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:182: error: expected initializer before '*' token
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:186: error: expected initializer before '__wur'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:192: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:205: error: expected initializer before '__wur'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:214: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:219: error: 'FILE' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:219: error: '__stream' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:229: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:249: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:255: error: expected initializer before '*' token
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:274: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:276: error: expected initializer before '*' token
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:283: error: expected initializer before '*' token
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:289: error: expected initializer before '*' token
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:294: error: expected initializer before '*' token
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:300: error: expected initializer before '*' token
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:307: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:311: error: 'FILE' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:311: error: expected primary-expression before '__restrict__'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:311: error: expected primary-expression before 'char'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:312: error: expected primary-expression before 'int'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:312: error: expected primary-expression before '__n'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:312: error: initializer expression list treated as compound expression
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:312: error: expected ',' or ';' before 'throw'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:318: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:322: error: variable or field 'setlinebuf' declared void
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:322: error: 'FILE' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:322: error: '__stream' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:331: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:346: error: 'FILE' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:346: error: expected primary-expression before '__restrict__'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:346: error: expected primary-expression before 'const'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:347: error: expected primary-expression before '__arg'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:347: error: initializer expression list treated as compound expression
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:356: error: '__END_NAMESPACE_STD' does not name a type
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:374: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:379: error: expected initializer before '__wur'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:382: error: expected initializer before '__wur'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:403: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:409: error: expected initializer before '__wur'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:441: error: '__END_NAMESPACE_STD' does not name a type
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:458: error: expected initializer before '__wur'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:500: error: '__END_NAMESPACE_C99' does not name a type
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:510: error: 'FILE' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:510: error: '__stream' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:528: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:539: error: 'FILE' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:539: error: '__stream' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:551: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:552: error: 'FILE' has not been declared
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:572: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:580: error: 'FILE' has not been declared
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:588: error: 'FILE' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:588: error: '__stream' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:591: error: 'FILE' has not been declared
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:600: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:608: error: expected initializer before '__wur'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:618: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:636: error: 'FILE' has not been declared
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:636: error: expected initializer before '__wur'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:639: error: 'FILE' has not been declared
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:639: error: expected initializer before '__wur'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:649: error: 'FILE' has not been declared
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:649: error: expected initializer before '__wur'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:658: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:671: error: 'FILE' has not been declared
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:679: error: 'FILE' has not been declared
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:679: error: expected initializer before '__wur'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:685: error: 'FILE' has not been declared
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:685: error: expected initializer before '__wur'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:695: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:707: error: 'FILE' has not been declared
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:707: error: expected initializer before '__wur'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:709: error: 'FILE' has not been declared
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:709: error: expected initializer before '__wur'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:718: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:723: error: 'FILE' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:723: error: '__stream' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:723: error: expected ',' or ';' before '__wur'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:728: error: variable or field 'rewind' declared void
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:728: error: 'FILE' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:728: error: '__stream' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:742: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:747: error: 'FILE' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:747: error: '__stream' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:747: error: expected ',' or ';' before '__wur'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:767: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:772: error: 'FILE' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:772: error: '__stream' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:772: error: expected primary-expression before 'const'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:772: error: initializer expression list treated as compound expression
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:787: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:788: error: 'FILE' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:788: error: '__stream' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:788: error: expected ',' or ';' before '__wur'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:789: error: 'FILE' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:789: error: expected primary-expression before '__restrict__'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:789: error: 'fpos64_t' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:789: error: expected primary-expression before '__restrict__'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:789: error: initializer expression list treated as compound expression
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:790: error: 'FILE' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:790: error: '__stream' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:790: error: expected primary-expression before 'const'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:790: error: initializer expression list treated as compound expression
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:795: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:797: error: 'FILE' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:797: error: '__stream' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:797: error: expected ',' or ';' before 'throw'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:799: error: 'FILE' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:799: error: '__stream' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:799: error: expected ',' or ';' before 'throw'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:804: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:805: error: 'FILE' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:805: error: '__stream' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:805: error: expected ',' or ';' before 'throw'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:806: error: 'FILE' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:806: error: '__stream' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:806: error: expected ',' or ';' before 'throw'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:815: error: expected constructor, destructor, or type conversion before 'extern'
In file included from /cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:822,
                 from main.cpp:46:
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/bits/sys_errlist.h:27: error: expected constructor, destructor, or type conversion before 'extern'
In file included from main.cpp:46:
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:827: error: 'FILE' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:827: error: '__stream' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:827: error: expected ',' or ';' before 'throw'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:832: error: 'FILE' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:832: error: '__stream' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:832: error: expected ',' or ';' before 'throw'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:842: error: expected initializer before '*' token
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:848: error: 'FILE' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:848: error: '__stream' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:882: error: variable or field 'flockfile' declared void
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:882: error: 'FILE' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:882: error: '__stream' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:886: error: 'FILE' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:886: error: '__stream' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:886: error: expected ',' or ';' before 'throw'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:889: error: variable or field 'funlockfile' declared void
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:889: error: 'FILE' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:889: error: '__stream' was not declared in this scope
In file included from main.cpp:47:
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:98: error: expected constructor, destructor, or type conversion before 'typedef'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:102: error: expected constructor, destructor, or type conversion before ';' token
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:113: error: '__END_NAMESPACE_STD' does not name a type
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:122: error: expected constructor, destructor, or type conversion before ';' token
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:140: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:145: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:149: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:152: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:153: error: '__END_NAMESPACE_STD' does not name a type
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:160: error: '__END_NAMESPACE_C99' does not name a type
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:168: error: '__END_NAMESPACE_STD' does not name a type
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:178: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:179: error: '__END_NAMESPACE_C99' does not name a type
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:190: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:195: error: expected constructor, destructor, or type conversion before '__extension__'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:203: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:209: error: expected constructor, destructor, or type conversion before '__extension__'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:217: error: expected initializer before '__nonnull'
In file included from /cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:236,
                 from main.cpp:47:
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/xlocale.h:28: error: expected constructor, destructor, or type conversion before 'typedef'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/xlocale.h:40: error: expected constructor, destructor, or type conversion before ';' token
In file included from main.cpp:47:
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:242: error: '__locale_t' has not been declared
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:242: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:246: error: '__locale_t' has not been declared
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:247: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:252: error: '__locale_t' has not been declared
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:253: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:258: error: '__locale_t' has not been declared
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:259: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:262: error: '__locale_t' has not been declared
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:263: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:266: error: '__locale_t' has not been declared
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:267: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:271: error: '__locale_t' has not been declared
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:272: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:311: error: expected initializer before '__wur'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:315: error: expected initializer before '__nonnull'
In file included from /cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/sys/types.h:133,
                 from /cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:320,
                 from main.cpp:47:
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/time.h:61: error: expected constructor, destructor, or type conversion before 'typedef'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/time.h:62: error: '__END_NAMESPACE_STD' does not name a type
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/time.h:78: error: '__END_NAMESPACE_STD' does not name a type
In file included from main.cpp:47:
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:337: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:341: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:361: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:364: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:369: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:373: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:380: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:387: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:396: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:401: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:406: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:411: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:412: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:429: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:432: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:437: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:441: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:446: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:450: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:454: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:457: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:461: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:471: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:474: error: expected initializer before '__wur'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:475: error: '__END_NAMESPACE_STD' does not name a type
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:493: error: expected constructor, destructor, or type conversion before 'extern'
In file included from main.cpp:47:
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:502: error: expected initializer before '__wur'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:508: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:513: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:517: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:523: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:531: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:532: error: '__END_NAMESPACE_STD' does not name a type
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:539: error: '__END_NAMESPACE_C99' does not name a type
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:550: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:557: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:564: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:583: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:594: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:604: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:614: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:625: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:635: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:645: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:652: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:663: error: expected initializer before '__wur'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:680: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:687: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:691: error: expected initializer before '__wur'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:692: error: expected initializer before '__wur'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:696: error: expected constructor, destructor, or type conversion before '__extension__'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:705: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:708: error: expected initializer before '__wur'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:709: error: '__END_NAMESPACE_STD' does not name a type
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:727: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:734: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:740: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:747: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:750: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:752: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:759: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:762: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:767: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:771: error: expected initializer before '__nonnull'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:779: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdlib.h:783: error: expected initializer before '__wur'
Process terminated with status 1 (0 minutes, 3 seconds)
250 errors, 0 warnings

Libraries are more straightforward to add than I thought, good news. Still trying to figure out this error list, haven't found any relevant help to that error through google yet..
 
Look at my last post and change the log setting. This will reveal the actual command that gave the error message, instead of just "Compiling: main.cpp".
 
I missed that post 1st time round, here you go;

Code:
-------------- Build: target in Tut2DTrial ---------------

arm-gph-linux-gnueabi-g++.exe  -O2     -I"C:\Program Files (x86)\CAANOO\GPH_SDK\DGE\include" -I"C:\Program Files (x86)\CAANOO\GPH_SDK\DGE\include" -I"C:\Program Files (x86)\CAANOO\GPH_SDK\include" -I"C:\Program Files (x86)\CAANOO\GPH_SDK\tools\cross-eabi\arm-gph-linux-gnueabi\sys-root\usr\include" -I"C:\Program Files (x86)\CAANOO\GPH_SDK\tools\cross-eabi\arm-gph-linux-gnueabi\include\c++\4.2.4\arm-gph-linux-gnueabi" -I"C:\Program Files (x86)\CAANOO\GPH_SDK\tools\cross-eabi\arm-gph-linux-gnueabi\include\c++\4.2.4" -I"C:\Program Files (x86)\CAANOO\GPH_SDK\tools\cross-eabi\lib\gcc\arm-gph-linux-gnueabi\4.2.4\include"  -c main.cpp -o .target\main.o
cygwin warning:
  MS-DOS style path detected: C:/Program Files (x86)/CAANOO/GPH_SDK/DGE/include
  Preferred POSIX equivalent is: /cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/DGE/include
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
In file included from main.cpp:46:
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:49: error: expected constructor, destructor, or type conversion before 'typedef'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:50: error: '__END_NAMESPACE_STD' does not name a type
In file included from main.cpp:46:
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:91: error: expected constructor, destructor, or type conversion before 'typedef'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:97: error: expected constructor, destructor, or type conversion before 'typedef'
In file included from main.cpp:46:
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:155: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:162: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:172: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:182: error: expected initializer before '*' token
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:186: error: expected initializer before '__wur'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:192: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:205: error: expected initializer before '__wur'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:214: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:219: error: 'FILE' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:219: error: '__stream' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:229: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:249: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:255: error: expected initializer before '*' token
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:274: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:276: error: expected initializer before '*' token
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:283: error: expected initializer before '*' token
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:289: error: expected initializer before '*' token
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:294: error: expected initializer before '*' token
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:300: error: expected initializer before '*' token
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:307: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:311: error: 'FILE' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:311: error: expected primary-expression before '__restrict__'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:311: error: expected primary-expression before 'char'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:312: error: expected primary-expression before 'int'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:312: error: expected primary-expression before '__n'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:312: error: initializer expression list treated as compound expression
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:312: error: expected ',' or ';' before 'throw'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:318: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:322: error: variable or field 'setlinebuf' declared void
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:322: error: 'FILE' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:322: error: '__stream' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:331: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:346: error: 'FILE' was not declared in this scope
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:346: error: expected primary-expression before '__restrict__'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:346: error: expected primary-expression before 'const'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:347: error: expected primary-expression before '__arg'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:347: error: initializer expression list treated as compound expression
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:356: error: '__END_NAMESPACE_STD' does not name a type
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:374: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:379: error: expected initializer before '__wur'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:382: error: expected initializer before '__wur'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:403: error: expected constructor, destructor, or type conversion before 'extern'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:409: error: expected initializer before '__wur'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:441: error: '__END_NAMESPACE_STD' does not name a type
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:458: error: expected initializer before '__wur'
/cygdrive/c/Program Files (x86)/CAANOO/GPH_SDK/tools/cross-eabi/bin/../arm-gph-linux-gnueabi/sys-root/usr/include/stdio.h:500: error: '__END_NAMESPACE_C99' does not name a type
Process terminated with status 1 (0 minutes, 3 seconds)
50 errors, 0 warnings

I tried modifying that path to include the /047 which makes the compiler ignore spaces (I think, if I read the cygwin link right but no difference.
 
i'll compare my build line with yours when i get home, i'm at work for the moment so no access to my pc... cause i can't really see what might be wrong (unless you modified some of those header files where the error occurs in)
 
joyrider said:
i'll compare my build line with yours when i get home, i'm at work for the moment so no access to my pc... cause i can't really see what might be wrong (unless you modified some of those header files where the error occurs in)

Thanks, I haven't touched the header files though, if I increase the number of errors to be shown it continues into other header files.
 
Last edited by a moderator:
Woohoo, I got it working now! Excellent, blank App and Game projects will compile successfully to both .exe and .gpe (host/target), I also got the tutorial2d example working following you instructions, thank you for all the help.

To fix my errors I;

- Uninstalled cygwin, GPH_SDK and Codeblocks
- Manually deleted the remaining folders of the GPH_SDK
- Restarted the computer
- Followed this guide again - (Guide), and when I got into 'codeblocks/settings/compiler and debugger' I clicked 'reset defaults' for the windows and caanoo compilers

After I could compile files successfully free of those errors. As to the exact cause I think it was an error in following or re-following the guides. This got rid of the random "SDL.dll missing" that would pop up when trying to compile for host also. Hope this helps anyone who makes my mistakes in future.

It is so satisfying to finally load things onto the Caanoo. Next stop SDL I guess, I want to make some games/apps. Found this link on the forum, recommended? Any other recommended resources for how to code with SDL for games would be useful too.

Thanks joyrider for all the help, you've been awesome
 
yup lazy foo is good to begin with

here are some others :

http://www.aaroncox.net/tutorials/arcade/index.html
http://cone3d.gamedev.net/cgi-bin/index.pl?page=tutorials/gfxsdl/index
 
Back
Top