Please i need help.
I am using wxdev-c++.
I have try irrlicht and wxwidgets separatly successfully but not the integration of both.
I put the Mobeen code http://irrlicht.sourceforge.net/phpBB2/ ... =wxwidgets but the compiler give me the following error.
Thanks
Wxwidgets+Irrlicht not funcionning in wxdec-c++
-
- Posts: 4
- Joined: Wed Aug 23, 2006 10:05 pm
Expand the output window so that you can see the full text of the error message. I believe the compiler is telling you that you need to fully specify the function when you take a pointer to member function.
Most likely you'll have to change the line to...
Most likely you'll have to change the line to...
Code: Select all
// assumes the EVT_MENU macro puts an & in front of the 2nd parameter
EVT_MENU(ID_EXIT, MyFrame::OnExit);
// if EVT_MENU doesn't put an & in there for you, then you'll have to do it
EVT_MENU(ID_EXIT, &MyFrame::OnExit);
-
- Posts: 4
- Joined: Wed Aug 23, 2006 10:05 pm
The words are:
7 C:\Z00_Irrlicht\Exp_Integration\main.cpp ISO C++ forbids taking the address of a bound member function to form a pointer to member function. Say `&MyFrame::OnExit'
8 C:\Z00_Irrlicht\Exp_Integration\main.cpp ISO C++ forbids taking the address of a bound member function to form a pointer to member function. Say `&MyFrame::OnIdle'
C:\Z00_Irrlicht\Exp_Integration\Makefile.win [Build Error] exe: *** [Output/MingW/main.o] Error 1
Thanks
7 C:\Z00_Irrlicht\Exp_Integration\main.cpp ISO C++ forbids taking the address of a bound member function to form a pointer to member function. Say `&MyFrame::OnExit'
8 C:\Z00_Irrlicht\Exp_Integration\main.cpp ISO C++ forbids taking the address of a bound member function to form a pointer to member function. Say `&MyFrame::OnIdle'
C:\Z00_Irrlicht\Exp_Integration\Makefile.win [Build Error] exe: *** [Output/MingW/main.o] Error 1
Thanks
-
- Posts: 4
- Joined: Wed Aug 23, 2006 10:05 pm
All right these error goes out, Thank you very much.
Now, the problem is that it crash before begining...
The project files are http://www.manuelfariasousa.pt/document ... ration.zip.
Thanks
Now, the problem is that it crash before begining...
The project files are http://www.manuelfariasousa.pt/document ... ration.zip.
Thanks