Compilatore: Default compiler
Building Makefile: "F:\irrlicht\irrlicht-1.4\examples\01.HelloWorld\Makefile.win"
Esecuzione di make clean
rm -f main.o example1.o ../../bin/Win32-gcc/01.HelloWorld.exe
g++.exe -c main.cpp -o main.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include" -I"../../include" -I"F:/irrlicht/irrnet/base" -I"F:/irrlicht/enet-1.1/include"
g++.exe -c example1.cpp -o example1.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include" -I"../../include" -I"F:/irrlicht/irrnet/base" -I"F:/irrlicht/enet-1.1/include"
example1.cpp: In function `int main()':
example1.cpp:65: error: cannot declare variable `receiver' to be of type `MyEventReceiver'
example1.cpp:65: error: because the following virtual functions are abstract:
../../include/IEventReceiver.h:256: error: virtual bool irr::IEventReceiver::OnEvent(const irr::SEvent&)
example1.cpp:214: error: `swprintf_s' undeclared (first use this function)
example1.cpp:214: error: (Each undeclared identifier is reported only once for each function it appears in.)
make.exe: *** [example1.o] Error 1
Esecuzione terminata
The first error is due to a change in IEventReceiever, now the parameter to OnEvent should be const irr::SEvent& as shown in the error message, before it used to be just irr::SEvent i think. Basically the code you're trying to compile was written for irrlicht 1.3.1 or earlier and you're trying to compile it with 1.4 (i guess)
The second error i'm not so sure swprintf_s doesn't sound like a proper function name so it could be a typo in the code or it could be the compiler giving the name in a strange way, seeing the code on line 214 would be useful to work it out.
swprintf_s is the "safe" variant of swprintf M$ uses in latest MSVC libraries. If this is used in user code directly it's up to the user to make sure that the C runtime supports it. If it comes from Irrlicht's replacements it could be due to wrong defines somewhere. However, example 1 does not have 214 lines, so I cannot say what's happening.
That's an error i've come across before too for some reason, getting rid of the 1024 in the swprintf function should fix it.
There are (at least) two versions of swprintf, one lets you specify how big the wchar_t array is and the other doesn't, for some reason i'm often not allowed to use the one that specifies the length, maybe it's something to do with an include file...
You don't link in the irrNet object files. Undefined reference means problems linking .o or .lib files.
And swprintf should work, including the max string length parameter. Because Irrlicht adds a define to use _snwprintf instead (which is the windows version of the function with length limitation).
You don't need to include them, you have to link them. Usually your IDE will provide some dialog where you can enter these things. I can only tell you how it would work with command line and gcc. But the irrNet thread should also contain some hints about which files to add to your project.