I followed the instructions in the file INSTALL.TXT, trying to build MMEX from source. Everything was fine until I ran "make." It failed with an error:
../src/mmex.cpp: In constructor 'mmGUIApp::mmGUIApp()':
../src/mmex.cpp:4469:29: error: 'wxHandleFatalExceptions' was not declared in this scope
make: *** [mmex_mmex.o] Error 1
And I found the associated code was as follows:
/*
wxHandleFatalExceptions implemented for some compilers\platforms only.
MinGW could't find this function, wxWidgets 2.8.10.
P.S. Try for next versions of wxWidgets.
*/
mmGUIApp::mmGUIApp()
{
#ifndef __MINGW32__
wxHandleFatalExceptions(); // tell the library to call OnFatalException()
#endif
}
//----------------------------------------------------------------------------
After I searched the Web, I found a solution. That made "make" exit successfully.
I don't know whether that solution is applicable to all compilers/platforms, so I report it here for reference.
make/compile error with wxWidgets v2.8.11 on Linux
Moderator: Renato
-
- Developer
- Posts: 1535
- Joined: Sat Dec 06, 2008 2:27 pm
- Are you a spam bot?: No
- Location: Sankt-Petersburg, Russia
Re: make/compile error with wxWidgets v2.8.11 on Linux
./bootstrap should be runing befare cd relise and ../configure
Re: make/compile error with wxWidgets v2.8.11 on Linux
I installed bakefile, autoconf, and automake packages, and then ran ./bootstrap before cd release and ../configure. But the same error still occurred when I ran make.