Page 1 of 1

error when running 'make'

Posted: Sun Sep 25, 2016 11:27 pm
by maker
followed the INSTALL.txt instructions pretty closely, though i don't know why it says 'trunk' in them ?

after make clean, it outputs 'Configuration for MoneyManagerEx 1.2.0 successfully completed.'

then i get this error:

Code: Select all

make *** No rule to make target '../lib/wxsqlite3/src/wxsqlite3.cpp', needed by 'wxsqlite_wxsqlite3.o'.  Stop.
even after running

Code: Select all

make clean
many thanks

Re: error when running 'make'

Posted: Mon Sep 26, 2016 5:47 am
by GabrieleV
You need to update submodules:

git submodule update --init

I think that install file it's quite old, check on GitHub documentation on how to build

Re: error when running 'make'

Posted: Mon Sep 26, 2016 12:19 pm
by maker
that is a shame, as those files were bundled with the source code of the latest stable version, through the github release feature: ... tag/v1.2.7

i have since tried following the other instructions found on github: ...
though i am not on ubuntu, and there aren't other instructions, it seems

am now getting a variety of errors:

Code: Select all

../src/general_report_manager.h:102:5: error: ‘wxWebView’ does not name a type
     wxWebView* m_outputHTML;
../src/general_report_manager.cpp: In constructor ‘mmGeneralReportManager::mmGeneralReportManager(wxWindow*, wxSQLite3Database*)’:
../src/general_report_manager.cpp:230:7: error: class ‘mmGeneralReportManager’ does not have any field named ‘m_outputHTML’
     , m_outputHTML(nullptr)
../src/general_report_manager.cpp: In member function ‘void mmGeneralReportManager::createOutputTab(wxNotebook*, int)’:
../src/general_report_manager.cpp:395:5: error: ‘m_outputHTML’ was not declared in this scope
     m_outputHTML = wxWebView::New(out_tab, ID_WEB);
../src/general_report_manager.cpp:395:20: error: ‘wxWebView’ has not been declared
     m_outputHTML = wxWebView::New(out_tab, ID_WEB);
../src/general_report_manager.cpp: In member function ‘bool mmGeneralReportManager::openZipFile(const wxString&, wxString&, wxString&, wxString&, wxString&, wxString&)’:
../src/general_report_manager.cpp:577:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
             std::auto_ptr<wxZipEntry> entry;
In file included from /usr/include/c++/5.3.1/bits/locale_conv.h:41:0,
                 from /usr/include/c++/5.3.1/locale:43,
                 from /usr/include/c++/5.3.1/iomanip:43,
                 from ../3rd/cajun/json/writer.inl:16,
                 from ../3rd/cajun/json/writer.h:62,
                 from ../src/db/DB_Table.h:30,
                 from ../src/model/Model.h:35,
                 from ../src/model/Model_Report.h:22,
                 from ../src/reports/reportbase.h:25,
                 from ../src/util.h:23,
                 from ../src/mmpanelbase.h:22,
                 from ../src/general_report_manager.h:27,
                 from ../src/general_report_manager.cpp:20:
/usr/include/c++/5.3.1/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
../src/general_report_manager.cpp: In member function ‘void mmGeneralReportManager::OnUpdateReport(wxCommandEvent&)’:
../src/general_report_manager.cpp:634:9: error: ‘m_outputHTML’ was not declared in this scope
         m_outputHTML->SetPage(report->DESCRIPTION, "");
../src/general_report_manager.cpp: In member function ‘void mmGeneralReportManager::OnRun(wxCommandEvent&)’:
../src/general_report_manager.cpp:650:9: error: ‘m_outputHTML’ was not declared in this scope
../src/general_report_manager.cpp: In member function ‘void mmGeneralReportManager::OnSelChanged(wxTreeEvent&)’:
../src/general_report_manager.cpp:757:9: error: ‘m_outputHTML’ was not declared in this scope
         m_outputHTML->SetPage(description, "");
../src/general_report_manager.cpp: In member function ‘void mmGeneralReportManager::showHelp()’:
../src/general_report_manager.cpp:1009:5: error: ‘m_outputHTML’ was not declared in this scope
Makefile:537: recipe for target 'mmex_general_report_manager.o' failed
make: *** [mmex_general_report_manager.o] Error 1

Re: error when running 'make'

Posted: Mon Sep 26, 2016 9:21 pm
by GabrieleV
It's not a shame, it's how Git works with submodules (other repositories linked inside).

Regarding error, seems that wx webview is missing on your system.

Re: error when running 'make'

Posted: Fri Nov 18, 2016 11:52 pm
I'm having the same problem. Since there's a bug causing 100% CPU usage on one of the CPUs, I decided to try 1.3 by downloading the ZIP from GitHub -- but I can't build it, because of this error. I have webkitgtk2, wxgtk, wxgtk2.8, and wxsqlite3 installed. I can't think of anything else that could help.

Re: error when running 'make'

Posted: Thu Feb 02, 2017 6:07 pm
by rasat
I had the same problem in Linux Mint 18.1 installing mmex-1.3.1 but managed to solve after several Google searches. The file "" in the install folder, did a good job but didn't include all dependency packages. From the development release guide, I installed these packages, which all were not needed but I think the webkitgtk-3.0 did the job.

sudo apt-get install build-essentialsudo apt-get install g++-multilibsudo apt-get install automakesudo apt-get install python-devsudo apt-get install libgtk-3-devsudo apt-get install webkitgtk-3.0sudo apt-get install lintiansudo apt-get install gitsudo apt-get install subversion

I took the effort in getting mmex installed, does the accounting what I have been looking for, and has mobile apps.

Keep up with the great work.