Giter Site home page Giter Site logo

Comments (7)

mfirry avatar mfirry commented on May 18, 2024 1

Oops. My bad I have alias -s exe=mono on my .zshrc 😆

from ocaml-torch.

LaurentMazare avatar LaurentMazare commented on May 18, 2024

Thanks for the feedback - as per #2 macos support is pretty much a work in progress. Could you try compiling a native executable rather than a bytecode one via dune build example.exe and posting the output ? (.bc stands for bytecode)
I won't have access to a mac until the end of this week so I may have some more helpful advice at this point.

from ocaml-torch.

mfirry avatar mfirry commented on May 18, 2024

So compilation seems to work (no output whatsoever) but when I run it i get command not found: mono. Will investigate and let you know.

from ocaml-torch.

LaurentMazare avatar LaurentMazare commented on May 18, 2024

That's very weird indeed, there shouldn't be any dependency to mono. Not sure how you ran the executable but you can also try dune exec example.exe (which will both build and run the executable) or alternatively after building use the binary from the _build directory, e.g. ./_build/default/example.exe or something like this.

from ocaml-torch.

mfirry avatar mfirry commented on May 18, 2024

It works!

from ocaml-torch.

mfirry avatar mfirry commented on May 18, 2024

Close this if you want. Not sure you want to keep it open to work on the bytecode thing for macos

from ocaml-torch.

LaurentMazare avatar LaurentMazare commented on May 18, 2024

Glad that it worked, I've added a word of warning for this on the readme. Don't hesitate to re-open or create new issues if you have further feedback or run into any problem.

from ocaml-torch.

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.