Code Monkey home page Code Monkey logo

Comments (11)

wichtounet avatar wichtounet commented on June 19, 2024

Hi

FYI, the Mac OS building code is highly experimental, I have never tested it and it was contributed by @robromano

Looking at the errors, I can see two things:

  • It looks like the loguru submodule is missing. Can you do a git submodule update --init --recursive?
  • It looks like there are C++17 warnings and issues, can you try replace this line in Cmakelists.txt

set(CMAKE_CXX_STANDARD 14)

by

set(CMAKE_CXX_STANDARD 17)

from budgetwarrior.

ljubomirsinadinovski avatar ljubomirsinadinovski commented on June 19, 2024

I changed the CMAKE_CXX_STANDARD, but i still have problems with installing loguru. I have also tried this solution:

git submodule update --init --recursive
Then, try the pull --recurse-submodules=true again.

Somehow, [activating the traces](https://stackoverflow.com/a/56094711/6309) improve the situation:

git -c trace2.eventTarget=1 pull --recurse-submodules=true

Source: https://stackoverflow.com/questions/64190258/git-submodule-fails-with-could-not-access-submodule

from budgetwarrior.

ljubomirsinadinovski avatar ljubomirsinadinovski commented on June 19, 2024

I also tried doing change in the .gitmodules file by replacing the https into the ssh path of the project:

[submodule "loguru"]
	path = loguru
	url = [email protected]:emilk/loguru.git

Still not working..

Then I tried:

git submodules deinit loguru
git submodule update loguru
git submodule init loguru  
git submodule sync loguru
git submodule set-url loguru [email protected]:emilk/loguru.git
git git submodule update --init --force -    

from budgetwarrior.

robromano avatar robromano commented on June 19, 2024

from budgetwarrior.

robromano avatar robromano commented on June 19, 2024

from budgetwarrior.

robromano avatar robromano commented on June 19, 2024

#25 for fixing up all issues.

from budgetwarrior.

robromano avatar robromano commented on June 19, 2024

wichtounet/cpp_utils#1 for cpp_utils fix needed.

from budgetwarrior.

wichtounet avatar wichtounet commented on June 19, 2024

Thanks @robromano, we can discuss in your two PRs

from budgetwarrior.

robromano avatar robromano commented on June 19, 2024

I just converted a repo of mine using Travis CI (which is now unsupported) to Github Actions - to automatically build and test all changes on push. Github Actions are fantastic.

I'd propose converting away from Makefile to CMake, and enable Github Actions workflow to build both platforms every push. I'll submit a PR.

Working example of CMake on Linux for budgetwarrior: https://github.com/robromano/budgetwarrior/runs/7660441303?check_suite_focus=true
(It probably used a newer version of GCC - which is why there are some new compiler errors there)

from budgetwarrior.

ljubomirsinadinovski avatar ljubomirsinadinovski commented on June 19, 2024

@robromano how do i download the build? I don't see any artefact do download or anything, only logs

from budgetwarrior.

robromano avatar robromano commented on June 19, 2024

from budgetwarrior.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.