make/compile error with wxWidgets v2.8.11 on Linux

Page 1 of 1
3 posts
make/compile error with wxWidgets v2.8.11 on Linux

jtmh
Super MMEX User

Posts: 26
Joined: Tue Aug 16, 2011 10:08 am
Location: Taiwan
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.
Re: make/compile error with wxWidgets v2.8.11 on Linux

Nikolay
MMEX Developer

Posts: 2284
Joined: Sat Dec 06, 2008 8:27 am
Location: Sankt-Petersburg, Russia
./bootstrap should be runing befare cd relise and ../configure
Re: make/compile error with wxWidgets v2.8.11 on Linux

jtmh
Super MMEX User

Posts: 26
Joined: Tue Aug 16, 2011 10:08 am
Location: Taiwan
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.
Page 1 of 1
Who is online

Users browsing this forum: No registered users and 19 guests