20.10.2009, 04:31
Hehe, I was trying to compile helloworld on CodeBlocks few weeks ago and got the same errors 
To fix errors about __int64, size_t, etc. go to Project -> Build options -> Compiler Settings, #defines tab and add these defines:
With this you don't need to change anything in SDK files.
And about "Plugin does not conform to architecture." error.
First go to Project -> Properties -> Build Targets tab and select "Create .DEF exports file".
Then go to Build Options again but now you need Linker Settings tab, put this line to Other Linker Options:
Then build again.
If you don't have .def, build the project, then find def file and change its name in linker options.
Good luck!

To fix errors about __int64, size_t, etc. go to Project -> Build options -> Compiler Settings, #defines tab and add these defines:
Код:
HAVE_STDINT_H __need_size_t
And about "Plugin does not conform to architecture." error.
First go to Project -> Properties -> Build Targets tab and select "Create .DEF exports file".
Then go to Build Options again but now you need Linker Settings tab, put this line to Other Linker Options:
Код:
-Wl,--kill-at --def=name_of_def_file.def // don't forget to change the name
If you don't have .def, build the project, then find def file and change its name in linker options.
Good luck!