Giter Site home page Giter Site logo

Generation Error about cmake-xcode-openmp HOT 7 CLOSED

nepluno avatar nepluno commented on May 20, 2024
Generation Error

from cmake-xcode-openmp.

Comments (7)

nepluno avatar nepluno commented on May 20, 2024

from cmake-xcode-openmp.

SilkSong avatar SilkSong commented on May 20, 2024

This is one of the step you mentioned in the readme. I think I have followed it before. And I just did it once again but the error is still there. I got the same verification result as the webpage. Is there anything I did wrong?
Screen Shot 2022-02-22 at 20 04 08

from cmake-xcode-openmp.

nepluno avatar nepluno commented on May 20, 2024

So you have set the variable IOMP5LIB in CMake to this path (/usr/local/lib/libomp.dylib) and there's still the error?

from cmake-xcode-openmp.

SilkSong avatar SilkSong commented on May 20, 2024

Sorry that I am not sure which step is related with "set the variable IOMP5LIB in CMake to the path". Basically, I just followed all the steps in the readme including this webpage https://mac.r-project.org/openmp/. It can configure without error but generate with error just like above.

from cmake-xcode-openmp.

nepluno avatar nepluno commented on May 20, 2024

You can type the path of libomp.dylib into the "value" column of the line with name IOMP5LIB.

from cmake-xcode-openmp.

SilkSong avatar SilkSong commented on May 20, 2024

Thank you for the timely reply. It built without error! I can see the C++ project on Xcode. I need to write in C. I tried to add a C file to the project. Both the C++ and C file can be built without error but I can't run them. Both the Run button on menu bar and Cmd + R did not work.
Tbh, I am really a beginner on C/C++ programming. Can I just do sth to make it run ? or I need to learn more first then figure out how to run it by myself.

many thanks

from cmake-xcode-openmp.

nepluno avatar nepluno commented on May 20, 2024

You can choose which executable to run in the Product -> Scheme menu. There might be multiple projects but one of them should be a runnable executable.

from cmake-xcode-openmp.

Related Issues (1)

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.