wichtounet / budgetwarrior

Personal finance manager, command-line interface, in C++
MIT License
112 stars 16 forks source link

can't compile - HAS_MEM_FUNC missing #10

Closed robromano closed 5 years ago

robromano commented 5 years ago

https://github.com/sitmo/stdfin seems to provide this, is this a new dependency?

wichtounet commented 5 years ago

Hi,

No, stdfin is not a dependency. HAS_MEM_FUNC is defined into cpp_utils, a submodule.

Can you try initializing the submodules: git submodule update --init --recursive and compile again?

If this does not work, please tell me which compiler you are using and the command you are using to compile.

Baptiste

robromano commented 5 years ago

I did try git submodule update --init --recursive but maybe what is happening is from my fork of your repo, it is stuck at the older version. I fast forwarded and pulled in all your changes since my fork (after I added MacOS build support) so I thought it would also have pulled in the latest cpp_utils for me. In fact, I updated cpp-httplib as well to fix errors and it worked.

wichtounet commented 5 years ago

Hi,

It is possible that the submodules are out of sync in your fork. But I have not updated cpp_utils is a while and this is a really old macro.

At least it's working :)

robromano commented 5 years ago

Thanks, it worked. I reran cmake and updated it’s cache and problem went away

On Thu, Jun 13, 2019 at 7:41 AM Baptiste Wicht notifications@github.com wrote:

Closed #10 https://github.com/wichtounet/budgetwarrior/issues/10.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/wichtounet/budgetwarrior/issues/10?email_source=notifications&email_token=AAVDPZR56W56UXKTUNMLLXTP2IW73A5CNFSM4HXESMH2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOR6VDQMI#event-2410297393, or mute the thread https://github.com/notifications/unsubscribe-auth/AAVDPZU6J7ABAKGNQVNZUHDP2IW73ANCNFSM4HXESMHQ .