Solved - Problems with Release 1.5.9 and git version 1.5.10-Beta.1

MMEX4Desktop, incl. Windows, macOS (10.10 or newer), and Most Unix variants using the GTK+ toolkit

Moderator: Renato

PMaff
Super MMEX User
Posts: 73
Joined: Sun Aug 11, 2019 1:57 pm
Are you a spam bot?: No

Re: Solved - Problems with Release 1.5.9 and git version 1.5.10-Beta.1

Post by PMaff »

cupdrat wrote: Tue Nov 30, 2021 4:22 am I used -> git clone --recursive …. --branch v1.5.x and it does compile as
I got my 1.5.11-Beta.1 with
git clone --recursive https://github.com/moneymanagerex/moneymanagerex
cupdrat wrote: Tue Nov 30, 2021 4:22 am MMEX configuration summary
[cmake] -- ==========================
[cmake] -- Version : 1.5.10
[cmake] -- Commit : c07f17477 (2021-11-23)
[cmake] -- Branch : v1.5.x
[cmake] -- Host system : Linux x86_64
[cmake] -- Target system : Linux x86_64
[cmake] -- Build types : Debug

version 1.5.10
I have:
-- MMEX configuration summary
-- ==========================
-- Version : 1.5.11-Beta.1
-- Commit : 1a5fed6d2 (2021-11-26)
-- Branch : master
-- Host system : Linux x86_64
-- Target system : Linux x86_64
-- Build types :
-- Generator : Unix Makefiles
-- Install prefix : /usr/local
-- DB encryption : ON
--
-- Versions
-- --========--
-- Linux 4.15.0-162-generic
-- Ubuntu 18.04 'bionic'
-- CMake 3.10.2
-- GNU Make 4.1
-- ccache 3.4.1
-- GNU 7.5.0
-- wxWidgets 3.1.5
-- wxSQLite3 4.6.0
-- Lua 5.3.3
-- curl 7.58.0
-- gettext 0.19.8.1
-- ------------------ 8< -----------------
-- Configuring done
-- Generating done
cupdrat wrote: Tue Nov 30, 2021 4:22 am but gives the theme errors and will not run. Core dumped.

The above link ….issues/2472. Is old and does not address the theme issue.

I do not get a:…. CPack_Packages/Linux/DEB/mmex-1.5.11-Beta.1-Linux/usr/share ….dir?! After compiling.
Try:
1) go to the downloaded moneymanagerex
2) cmake . there
3) mkdir build; cd build
4) cmake --build .. --target package

The last lines of compilation are:
[...]
[100%] Built target mmex
Run CPack packaging tool...
CPack: Create package using DEB
CPack: Install projects
CPack: - Run preinstall target for: MMEX
CPack: - Install project: MMEX
CPack: Create package
CPackDeb: - Generating dependency list
CPack: - package: /home/[...]/moneymanagerex/mmex_1.5.11-Beta.1-1~bionic_amd64.deb generated.

I have compiled a RPM on SuSE Leap 15.2 and a DEB on Ubuntu 18.04 LTS this way.

On Ubuntu the binary is
moneymanagerex/_CPack_Packages/Linux/DEB/mmex-1.5.11-Beta.1-Linux/usr/bin/mmex
afterwards, if compilation, linking and packing is ok
mmex_1.5.11-Beta.1-1~bionic_amd64.deb is in directory moneymanagerex then.

On SuSE it is:
moneymanagerex/_CPack_Packages/Linux/RPM/mmex-1.5.11-Beta.1-Linux/usr/bin/mmex

The core dump happens with the binary
moneymanagerex/src/mmex
as this is not able to find the themes.
cupdrat
New MMEX User
Posts: 8
Joined: Sun Nov 07, 2021 4:04 pm
Are you a spam bot?: No

Re: Solved - Problems with Release 1.5.9 and git version 1.5.10-Beta.1

Post by cupdrat »

everything after :

PMaff wrote: Wed Dec 01, 2021 10:21 pm
Try:
1) go to the downloaded moneymanagerex.....
is over my head. Visual studio code does cmake it and build it:
1?
3 make dir, move to dir
4?
mmex_build.png
mmex_build.png (31.26 KiB) Viewed 7551 times
PMaff wrote: Wed Dec 01, 2021 10:21 pm The core dump happens with the binary
moneymanagerex/src/mmex
as this is not able to find the themes.
yes i know.
Nikolay
MMEX Developer
Posts: 1535
Joined: Sat Dec 06, 2008 2:27 pm
Are you a spam bot?: No
Location: Sankt-Petersburg, Russia

Re: Solved - Problems with Release 1.5.9 and git version 1.5.10-Beta.1

Post by Nikolay »

cupdrat wrote: Wed Dec 01, 2021 4:09 am zip files never compile because the sub dirs are empty:
downzipfiles.png

has to be: git clone --recursive
git clone --recursive https://github.com/moneymanagerex/moneymanagerex --branch v1.5.9
PMaff
Super MMEX User
Posts: 73
Joined: Sun Aug 11, 2019 1:57 pm
Are you a spam bot?: No

Re: Solved - Problems with Release 1.5.9 and git version 1.5.10-Beta.1

Post by PMaff »

cupdrat wrote: Thu Dec 02, 2021 3:24 am everything after :

PMaff wrote: Wed Dec 01, 2021 10:21 pm
Try:
1) go to the downloaded moneymanagerex.....
is over my head. Visual studio code does cmake it and build it:
1?
3 make dir, move to dir
4?
mmex_build.png

PMaff wrote: Wed Dec 01, 2021 10:21 pm The core dump happens with the binary
moneymanagerex/src/mmex
as this is not able to find the themes.
yes i know.
Ah ok, I do all those commands 1) - 4) on a terminal window of Ubuntu or SuSE.
No IDE like Visual Studio Code.
:D
So I do guess, that Visual Studio Code is compiling but missing some things that are done in step 4) .
(I never used Visual Studio Code)

I am also not sure, if "make dir, move to dir" is the same in Visual Studio Code like
3) mkdir build; cd build

I would drop Visual Studio Code this time and do it "hardcore" ;-) on command line.
cupdrat
New MMEX User
Posts: 8
Joined: Sun Nov 07, 2021 4:04 pm
Are you a spam bot?: No

Re: Solved - Problems with Release 1.5.9 and git version 1.5.10-Beta.1

Post by cupdrat »

PMaff wrote: Thu Dec 02, 2021 2:00 pm [I am also not sure, if "make dir, move to dir" is the same in Visual Studio Code like
3) mkdir build; cd build
that just means that i understand what you mean by that step.
1 and 2 are not in detail [for me](me no speak the code)

went to https://cmake.org/cmake/help/book/maste ... CPack.html
again over my head. :cry:

thanks for trying, i will wait until the theme issue is fixed.
PMaff
Super MMEX User
Posts: 73
Joined: Sun Aug 11, 2019 1:57 pm
Are you a spam bot?: No

Re: Solved - Problems with Release 1.5.9 and git version 1.5.10-Beta.1

Post by PMaff »

cupdrat wrote: Sat Dec 04, 2021 11:46 pm
PMaff wrote: Thu Dec 02, 2021 2:00 pm [I am also not sure, if "make dir, move to dir" is the same in Visual Studio Code like
3) mkdir build; cd build
that just means that i understand what you mean by that step.
1 and 2 are not in detail [for me](me no speak the code)

went to https://cmake.org/cmake/help/book/maste ... CPack.html
again over my head. :cry:

thanks for trying, i will wait until the theme issue is fixed.
I think you only have to let go that Visual Studio Code and do the things on command line.
I know that this is sometimes not that easy for people who are not used to it.

Is there a .deb file created with Visual Studio Code, which you might install like all the other debian packages?
Post Reply