{"action":"created","issue":{"url":"https://api.github.com/repos/rpav/c2ffi/issues/32","repository_url":"https://api.github.com/repos/rpav/c2ffi","labels_url":"https://api.github.com/repos/rpav/c2ffi/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/rpav/c2ffi/issues/32/comments","events_url":"https://api.github.com/repos/rpav/c2ffi/issues/32/events","html_url":"https://github.com/rpav/c2ffi/issues/32","id":158697627,"number":32,"title":"LLVM configuration problem on El Capitan","user":{"login":"marcoxa","id":514394,"avatar_url":"https://avatars.githubusercontent.com/u/514394?v=3","gravatar_id":"","url":"https://api.github.com/users/marcoxa","html_url":"https://github.com/marcoxa","followers_url":"https://api.github.com/users/marcoxa/followers","following_url":"https://api.github.com/users/marcoxa/following{/other_user}","gists_url":"https://api.github.com/users/marcoxa/gists{/gist_id}","starred_url":"https://api.github.com/users/marcoxa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcoxa/subscriptions","organizations_url":"https://api.github.com/users/marcoxa/orgs","repos_url":"https://api.github.com/users/marcoxa/repos","events_url":"https://api.github.com/users/marcoxa/events{/privacy}","received_events_url":"https://api.github.com/users/marcoxa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-06-06T14:53:56Z","updated_at":"2016-06-06T16:27:08Z","closed_at":null,"body":"Hi\r\nI am trying to set up c2ffi on El Capitan.  I get the following configuration error:\r\n\r\n`Spanakorizo:c2ffi marcoxa$ cd c2ffi/\r\nSpanakorizo:c2ffi marcoxa$ mkdir build\r\nSpanakorizo:c2ffi marcoxa$ cd build/\r\nSpanakorizo:build marcoxa$ cmake ..\r\n-- The C compiler identification is AppleClang 7.3.0.7030031\r\n-- The CXX compiler identification is AppleClang 7.3.0.7030031\r\n-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc\r\n-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works\r\n-- Detecting C compiler ABI info\r\n-- Detecting C compiler ABI info - done\r\n-- Detecting C compile features\r\n-- Detecting C compile features - done\r\n-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++\r\n-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works\r\n-- Detecting CXX compiler ABI info\r\n-- Detecting CXX compiler ABI info - done\r\n-- Detecting CXX compile features\r\n-- Detecting CXX compile features - done\r\nCMake Error at CMakeLists.txt:15 (find_package):\r\n  Could not find a package configuration file provided by \"LLVM\" (requested\r\n  version 3.7) with any of the following names:\r\n\r\n    LLVMConfig.cmake\r\n    llvm-config.cmake\r\n\r\n  Add the installation prefix of \"LLVM\" to CMAKE_PREFIX_PATH or set\r\n  \"LLVM_DIR\" to a directory containing one of the above files.  If \"LLVM\"\r\n  provides a separate development package or SDK, be sure it has been\r\n  installed.\r\n\r\n\r\n-- Configuring incomplete, errors occurred!\r\nSee also \"/Users/marcoxa/Projects/Software/c2ffi/c2ffi/build/CMakeFiles/CMakeOutput.log\".\r\nSpanakorizo:build marcoxa$ which llvm\r\nSpanakorizo:build marcoxa$ \r\n`\r\n\r\nNow.  What exactly should I do?  AFAIU my LLVM lives in\r\n`/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin`\r\n\r\nWhat am I missing?  Do I really really have to set up a separate LLVM installation on my machine?\r\n\r\nThanks\r\n\r\nMarco\r\n"},"comment":{"url":"https://api.github.com/repos/rpav/c2ffi/issues/comments/224011386","html_url":"https://github.com/rpav/c2ffi/issues/32#issuecomment-224011386","issue_url":"https://api.github.com/repos/rpav/c2ffi/issues/32","id":224011386,"user":{"login":"rpav","id":1011983,"avatar_url":"https://avatars.githubusercontent.com/u/1011983?v=3","gravatar_id":"","url":"https://api.github.com/users/rpav","html_url":"https://github.com/rpav","followers_url":"https://api.github.com/users/rpav/followers","following_url":"https://api.github.com/users/rpav/following{/other_user}","gists_url":"https://api.github.com/users/rpav/gists{/gist_id}","starred_url":"https://api.github.com/users/rpav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpav/subscriptions","organizations_url":"https://api.github.com/users/rpav/orgs","repos_url":"https://api.github.com/users/rpav/repos","events_url":"https://api.github.com/users/rpav/events{/privacy}","received_events_url":"https://api.github.com/users/rpav/received_events","type":"User","site_admin":false},"created_at":"2016-06-06T16:27:08Z","updated_at":"2016-06-06T16:27:08Z","body":"Those libraries are the core of what `c2ffi` (and clang itself, really) uses to parse.  I'm not sure if/how you can get the ones for the Xcode clang, but if you build your own (or use macports? haven't tested) you should have them."}}
{"actor":{"display_login":"rpav"}}