Git Product home page Git Product logo

Comments (6)

ludgerpaehler avatar ludgerpaehler commented on June 2, 2024 1

Seeing you are on MacOS, the right file format is a .dylib - the functionality stays the same though :)

from enzyme.

acuoci avatar acuoci commented on June 2, 2024

Thank you very much. Unfortunately when I try to compile the Getting started example (described here https://enzyme.mit.edu/getting_started/UsingEnzyme/), I have a new issue:

clang test.c -fplugin=/mypath/Enzyme/ClangEnzyme-16.dylib -o a.exe

test.c:2:10: fatal error: 'stdio.h' file not found
#include <stdio.h>

If I remove the #include <stdio.h> line and the corresponding printf line, the code is properly compiled.

from enzyme.

tgymnich avatar tgymnich commented on June 2, 2024

What kind of clang are you using (AppleClang, homebrew clang, self compiled clang)?

did you install the macOS command line tools or Xcode?

from enzyme.

acuoci avatar acuoci commented on June 2, 2024

I am using homebrew clang
/opt/homebrew/opt/llvm/bin/clang

I am sorry, but I am not very familiar with the macOS environment.
If I type: xcode-select -p, the result is:
/Applications/Xcode.app/Contents/Developer

Thank you very much for your help.

from enzyme.

tgymnich avatar tgymnich commented on June 2, 2024

I think there might be something wrong with your Xcode install or the command line tools. Some users had success with running xcode-select --install. It could also help to open Xcode to see if there is some kind of install dialogue popping up and follow the instructions in that case.

from enzyme.

acuoci avatar acuoci commented on June 2, 2024

Yes, you are right! After updating Xcode everything works fine now! Thank you again!

from enzyme.

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.