Trouble with Cajun

Money Manager Ex Development related posts for both Android and Desktop

Moderator: Renato

Post Reply
zanirco
New MMEX User
Posts: 3
Joined: Wed Jan 20, 2016 4:50 pm
Are you a spam bot?: No
Location: Italy

Trouble with Cajun

Post by zanirco »

I'm trying to compile the project

My actual IDE is VS2013 Express

When I add Cajun/JSON to the project I get a lot of compilation errors, mainly
C2665
C2679
C2440
It seem like some types of the Cajun environment are incompatible with equivalent types in the wxWindows framework.

What's my mistake?
Does someone know how to avoid these problems?

Thank you in advance for the help,
  Zanirco
User avatar
GabrieleV
MMEX Developer
Posts: 158
Joined: Wed Apr 09, 2014 7:45 pm
Are you a spam bot?: No
Location: Italy

Re: Trouble with Cajun

Post by GabrieleV »

Hi,
have you followed this guide?

https://github.com/moneymanagerex/money ... w-vc-2013e

Inviato dal mio Nexus 5
zanirco
New MMEX User
Posts: 3
Joined: Wed Jan 20, 2016 4:50 pm
Are you a spam bot?: No
Location: Italy

Re: Trouble with Cajun

Post by zanirco »

I followed the indications present in that file.
Everything was OK until I inserted the code of Cajun in the directory tree.
wxWindows compiled
WXWIN setted
...

Another notice:
in the proposed procedure the other software needed by MMEX are not mentioned so, consequently, I needed to search all the source and manually insert them in the directory of the project.
Is this procedure OK or did I miss something?

Zanirco
User avatar
GabrieleV
MMEX Developer
Posts: 158
Joined: Wed Apr 09, 2014 7:45 pm
Are you a spam bot?: No
Location: Italy

Re: Trouble with Cajun

Post by GabrieleV »

Seems that documentation it's missing the commands to automatically update submodules..

Please re-clone repository and execute this commands:
git submodule init
git submodule update

Then it will automatically add dependencies

EDIT: Documentation it's correct, I think that you haven't checked "recursive" checkbox during clone
Nikolay
MMEX Developer
Posts: 1535
Joined: Sat Dec 06, 2008 2:27 pm
Are you a spam bot?: No
Location: Sankt-Petersburg, Russia

Re: Trouble with Cajun

Post by Nikolay »

I am using one line command to clone repo and update all submodules:

Code: Select all

git clone https://github.com/moneymanagerex/moneymanagerex --recursive
zanirco
New MMEX User
Posts: 3
Joined: Wed Jan 20, 2016 4:50 pm
Are you a spam bot?: No
Location: Italy

Re: Trouble with Cajun

Post by zanirco »

You are fully right.
I was using the web interface in the wrong way.

I followed your indications and everything goes right

Thankyou very much
Post Reply