Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile cling using Xcode #188

Open
lucasribeiroufrj opened this issue Sep 16, 2018 · 2 comments
Open

Compile cling using Xcode #188

lucasribeiroufrj opened this issue Sep 16, 2018 · 2 comments

Comments

@lucasribeiroufrj
Copy link

Hello,

I could not compile cling after generating a Xcode project using CMAKE.

  1. Is it possible to compile cling using Xcode?
  2. In case of a affirmative answer, how?

Thanks.
Kind regards,

@vgvassilev
Copy link
Owner

It should be possible but we do not test it. You should be able to tell cmake to generate XCode project file. If you paste the error I may be more helpful.

@lucasribeiroufrj
Copy link
Author

lucasribeiroufrj commented Sep 16, 2018

I’ve just managed. The problem is related to the three libraries:

libclingMetaProcessor.a
libclingInterpreter.a
libclingUtils.a

For some reason the three libraries mentioned are not being deployed to
$(the path root folder)/src/build/Debug/lib/
but to (for example)

$(the path root folder)/src/build/tools/cling/lib/Utils/LLVM.build/Debug/obj.clingUtils.build/Objects-normal/libobj.clingUtils.a

I have hardcoded the solution using ln -s, for example:

$(the path root folder)/src/build/tools/cling/lib/Utils/LLVM.build/Debug/obj.clingUtils.build/Objects-normal/libobj.clingUtils.a $(the path root folder)/src/build/Debug/lib/libclingUtils.a

But, how can I fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants