Code: Select all
Irrlicht 1.7.2
||=== Irrlicht Example 21 Quake 3 Explorer, Windows ===|
warning: missing initializer for member 'SItemElement::model'|
warning: missing initializer for member 'SItemElement::sound'|
warning: missing initializer for member 'SItemElement::icon'|
warning: missing initializer for member 'SItemElement::pickup'|
warning: missing initializer for member 'SItemElement::value'|
warning: missing initializer for member 'SItemElement::group'|
warning: missing initializer for member 'SItemElement::sub'|
warning: missing initializer for member 'SItemElement::special'|
main.cpp||In member function 'void CQuake3EventHandler::addSceneTreeItem(irr::scene::ISceneNode*, irr::gui::IGUITreeViewNode*)':|
error: invalid conversion from 'int' to 'const wchar_t*'|
error: initializing argument 2 of 'int swprintf(wchar_t*, const wchar_t*, ...)'|
error: invalid conversion from 'int' to 'const wchar_t*'|
error: initializing argument 2 of 'int swprintf(wchar_t*, const wchar_t*, ...)'|
error: invalid conversion from 'int' to 'const wchar_t*'|
error: initializing argument 2 of 'int swprintf(wchar_t*, const wchar_t*, ...)'|
main.cpp||In member function 'void CQuake3EventHandler::Animate()':|
error: invalid conversion from 'int' to 'const wchar_t*'|
error: initializing argument 2 of 'int swprintf(wchar_t*, const wchar_t*, ...)'|
error: invalid conversion from 'int' to 'const wchar_t*'|
error: initializing argument 2 of 'int swprintf(wchar_t*, const wchar_t*, ...)'|
||=== Build finished: 10 errors, 8 warnings ===|
and well, it confirmed what I thought, my code is correct, at least to the extent that the tutorial taught me.
I have now spent several days non-stop debugging my code to no avail.
same errors.
thus, it is either a bug in irrlicht....
OR
the tutorials are horribly OUTDATED.
just wanted to shed some light on this.....
now, any solution, workaround or simmilar?
I cannot continue my project unless I get some idea what's causing this.
and yes, I did check the wiki, API tutorials (over and over) Google and other search engines (for hours)...