1>------ Build started: Project: LoadIrrFile_vc8, Configuration: Debug Win32 ------
1>Compiling...
1>main.cpp
1>c:\users\ollystac\desktop\irrlicht\include\masteventreceiver.cpp(36) : error C2011: 'MastEventReceiver' : 'class' type redefinition
1> c:\users\ollystac\desktop\irrlicht\include\masterevents.h(36) : see declaration of 'MastEventReceiver'
1>c:\users\ollystac\desktop\irrlicht\examples\15.loadirrfile\main.cpp(116) : error C2079: 'receiver' uses undefined class 'MastEventReceiver'
1>c:\users\ollystac\desktop\irrlicht\examples\15.loadirrfile\main.cpp(123) : error C2228: left of '.init' must have class/struct/union
1> type is 'int'
1>c:\users\ollystac\desktop\irrlicht\examples\15.loadirrfile\main.cpp(125) : error C2228: left of '.endEventProcess' must have class/struct/union
1> type is 'int'
1>c:\users\ollystac\desktop\irrlicht\examples\15.loadirrfile\main.cpp(128) : error C2664: 'irr::createDevice' : cannot convert parameter 7 from 'int *' to 'irr::IEventReceiver *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\users\ollystac\desktop\irrlicht\examples\15.loadirrfile\main.cpp(786) : warning C4244: '=' : conversion from 'irr::f32' to 'int', possible loss of data
1>c:\users\ollystac\desktop\irrlicht\examples\15.loadirrfile\main.cpp(787) : warning C4244: '=' : conversion from 'irr::f32' to 'int', possible loss of data
1>c:\users\ollystac\desktop\irrlicht\examples\15.loadirrfile\main.cpp(788) : warning C4244: '=' : conversion from 'irr::f32' to 'int', possible loss of data
1>c:\users\ollystac\desktop\irrlicht\examples\15.loadirrfile\main.cpp(801) : error C2228: left of '.keyDown' must have class/struct/union
1> type is 'int'
1>c:\users\ollystac\desktop\irrlicht\examples\15.loadirrfile\main.cpp(801) : error C2228: left of '.keyDown' must have class/struct/union
1> type is 'int'
1>c:\users\ollystac\desktop\irrlicht\examples\15.loadirrfile\main.cpp(821) : error C2228: left of '.keyDown' must have class/struct/union
1> type is 'int'
1>c:\users\ollystac\desktop\irrlicht\examples\15.loadirrfile\main.cpp(821) : error C2228: left of '.keyDown' must have class/struct/union
1> type is 'int'
1>c:\users\ollystac\desktop\irrlicht\examples\15.loadirrfile\main.cpp(841) : error C2228: left of '.keyDown' must have class/struct/union
1> type is 'int'
1>c:\users\ollystac\desktop\irrlicht\examples\15.loadirrfile\main.cpp(841) : error C2228: left of '.keyDown' must have class/struct/union
1> type is 'int'
1>c:\users\ollystac\desktop\irrlicht\examples\15.loadirrfile\main.cpp(861) : error C2228: left of '.keyDown' must have class/struct/union
1> type is 'int'
1>c:\users\ollystac\desktop\irrlicht\examples\15.loadirrfile\main.cpp(861) : error C2228: left of '.keyDown' must have class/struct/union
1> type is 'int'
1>c:\users\ollystac\desktop\irrlicht\examples\15.loadirrfile\main.cpp(881) : error C2228: left of '.keyDown' must have class/struct/union
1> type is 'int'
1>c:\users\ollystac\desktop\irrlicht\examples\15.loadirrfile\main.cpp(897) : error C2228: left of '.keyDown' must have class/struct/union
1> type is 'int'
1>c:\users\ollystac\desktop\irrlicht\examples\15.loadirrfile\main.cpp(906) : error C2228: left of '.keyDown' must have class/struct/union
1> type is 'int'
1>c:\users\ollystac\desktop\irrlicht\examples\15.loadirrfile\main.cpp(910) : error C2228: left of '.keyDown' must have class/struct/union
1> type is 'int'
1>c:\users\ollystac\desktop\irrlicht\examples\15.loadirrfile\main.cpp(915) : error C2228: left of '.keyDown' must have class/struct/union
1> type is 'int'
1>c:\users\ollystac\desktop\irrlicht\examples\15.loadirrfile\main.cpp(950) : warning C4244: '=' : conversion from 'irr::f32' to 'int', possible loss of data
1>c:\users\ollystac\desktop\irrlicht\examples\15.loadirrfile\main.cpp(951) : warning C4244: '=' : conversion from 'irr::f32' to 'int', possible loss of data
1>c:\users\ollystac\desktop\irrlicht\examples\15.loadirrfile\main.cpp(952) : warning C4244: '=' : conversion from 'irr::f32' to 'int', possible loss of data
1>c:\users\ollystac\desktop\irrlicht\examples\15.loadirrfile\main.cpp(2059) : warning C4244: 'initializing' : conversion from 'double' to 'float', possible loss of data
1>c:\users\ollystac\desktop\irrlicht\examples\15.loadirrfile\main.cpp(2085) : error C2228: left of '.startEventProcess' must have class/struct/union
1> type is 'int'
1>Build log was saved at "file://c:\Users\ollystac\Desktop\irrlicht\examples\15.LoadIrrFile\Debug\BuildLog.htm"
1>LoadIrrFile_vc8 - 19 error(s), 7 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
i cant paste all my code because its 2 big but if any1 wants me to paste an specific piece of it that will b ok.
Thankyou for any help
You could always paste it on Rafb and leave whether it is too big or not up to the discretion of the person helping you.
People aren't going to get a lot out of semi-cryptic messages from the console when they don't have the code in front of them. And also, are you building in Debug mode on purpose?
CuteAlien wrote:It's MastEventReceiver not MastEventReciever.
I know its just i spelt it wrong when i saved the class
I'm not talking about the filename, but about the classname. Which you probably copy&pasted, so I guess it's still MastEventReceiver and therefore your variable using an unknown class MastEventReciever.