Giter VIP home page Giter VIP logo

Comments (6)

tomas-soltys avatar tomas-soltys commented on May 27, 2024

Hi Denis,

That would be great if you will manage to port it to Mac. I have tried to write the software in most portable way I could. If you'll find something that needs to change please let me know or provide a patch and I will apply it to the source code.

First obstacle you will most likely have to overcome is to install dependencies like Qt and FFmpeg libraries.

I have already replaced readlink with realpath. See commit 9773558

Regards,
Tomas

from range3.

dgentry avatar dgentry commented on May 27, 2024

Totally great, thanks. I happened to have both Qt and FFmpeg already brew installed, but I wrote a little script that installs brew if necessary, then Qt and ffmpeg.

I'm not a super C++ expert, so the next problem I'm having isn't quick for me to figure out and fix:

In file included from ../../range/RangeBase/src/rbl_argument_option.cpp:12:
../../range/RangeBase/include/rbl_utils.h:71:54: error: non-const lvalue reference to type
      'vector<...>' cannot bind to a temporary of type 'vector<...>'
    void qSort(std::vector<T> &a, std::vector<uint> &indexes = std::vector<uint>())
                                                     ^         ~~~~~~~~~~~~~~~~~~~
../../range/RangeBase/include/rbl_utils.h:71:54: note: passing argument to parameter 'indexes' here
1 error generated.

If that's easy for you to fix, go for it, but if not, I'll see if I can figure it out.

My attempts so far are in https://github.com/dgentry/range3. I can do pull requests from there if I get something you think would be valuable.

Best Regards,
Dennis
P.S. Next, I'll probably go fire up a Fedora VM so I can see how it's supposed to build and run.

from range3.

tomas-soltys avatar tomas-soltys commented on May 27, 2024

Fixed in 0dfbd26

from range3.

dgentry avatar dgentry commented on May 27, 2024

I got a little sidetracked and ended up writing scripts that spin up a Docker container running Fedora to do the Fedora build. (It's not efficient, as it reinstalls a bunch of stuff with every build, but it should be reliable.) I have my github repo hooked up to Travis CI so each push runs a build, so is now ready to run automated tests. If there were a place (Amazon S3?) to put completed build artifacts (i.e., the .tar.gz), it could do that too.

On the Mac, everything compiles, but Apple's clang doesn't support openMP, and although it's easy enough to install the llvm project's clang, I haven't quite gotten qmake to use it.

Would you like a pull request for the automated, repeatable build scripts? It should simplify the build on Fedora, from the user's point of view, just cd scripts && make. I don't do Windows, or I would have automated the build there too.

On any pull request, I am also happy to take feedback, especially if it simplifies things.

from range3.

tomas-soltys avatar tomas-soltys commented on May 27, 2024

Thanks for your effort. Your changes looks good. Please create a pull request and I'll merge your changes into master.

from range3.

tomas-soltys avatar tomas-soltys commented on May 27, 2024

MacOS is now fully supported in version 3.2.6

from range3.

Related Issues (4)

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.