Page 1 of 1

Trouble with Cajun

Posted: Wed Jan 20, 2016 5:13 pm
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

Re: Trouble with Cajun

Posted: Wed Jan 20, 2016 5:59 pm
by GabrieleV
Hi,
have you followed this guide?

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

Inviato dal mio Nexus 5

Re: Trouble with Cajun

Posted: Wed Jan 20, 2016 6:45 pm
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

Re: Trouble with Cajun

Posted: Wed Jan 20, 2016 10:32 pm
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

Re: Trouble with Cajun

Posted: Fri Jan 22, 2016 10:58 am
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

Re: Trouble with Cajun

Posted: Sat Jan 23, 2016 7:48 pm
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