{"action":"closed","issue":{"url":"https://api.github.com/repos/KimuraRyo/libbsdf/issues/1","repository_url":"https://api.github.com/repos/KimuraRyo/libbsdf","labels_url":"https://api.github.com/repos/KimuraRyo/libbsdf/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/KimuraRyo/libbsdf/issues/1/comments","events_url":"https://api.github.com/repos/KimuraRyo/libbsdf/issues/1/events","html_url":"https://github.com/KimuraRyo/libbsdf/issues/1","id":132569841,"number":1,"title":"Problems building the lib","user":{"login":"mkae","id":10553185,"avatar_url":"https://avatars.githubusercontent.com/u/10553185?v=3","gravatar_id":"","url":"https://api.github.com/users/mkae","html_url":"https://github.com/mkae","followers_url":"https://api.github.com/users/mkae/followers","following_url":"https://api.github.com/users/mkae/following{/other_user}","gists_url":"https://api.github.com/users/mkae/gists{/gist_id}","starred_url":"https://api.github.com/users/mkae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkae/subscriptions","organizations_url":"https://api.github.com/users/mkae/orgs","repos_url":"https://api.github.com/users/mkae/repos","events_url":"https://api.github.com/users/mkae/events{/privacy}","received_events_url":"https://api.github.com/users/mkae/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-02-09T23:44:45Z","updated_at":"2016-02-13T10:34:04Z","closed_at":"2016-02-13T10:34:04Z","body":"Hi!\r\n\r\nI am trying to build this lib and run into trouble with making CMake find everything.\r\n\r\n```eigen3``` is installed: \r\n```\r\n$ cmake --find-package -DNAME=eigen3 -DCOMPILER_ID=CLANG -DLANGUAGE=CXX -DMODE=EXIST -DCMAKE_MODULE_PATH=/opt/local/share/cmake/Modules ..\r\neigen3 found.\r\n```\r\nbut the above command doesn't create a makefile in the respective build folder.\r\n\r\nIf I run it without the ```--find-package``` option cmake fails to find the lib:\r\n```\r\n$ cmake ..\r\n-- The C compiler identification is AppleClang 7.0.2.7000181\r\n-- The CXX compiler identification is AppleClang 7.0.2.7000181\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:32 (find_package):\r\n  By not providing \"FindEigen3.cmake\" in CMAKE_MODULE_PATH this project has\r\n  asked CMake to find a package configuration file provided by \"Eigen3\", but\r\n  CMake did not find one.\r\n\r\n  Could not find a package configuration file provided by \"Eigen3\" with any\r\n  of the following names:\r\n\r\n    Eigen3Config.cmake\r\n    eigen3-config.cmake\r\n\r\n  Add the installation prefix of \"Eigen3\" to CMAKE_PREFIX_PATH or set\r\n  \"Eigen3_DIR\" to a directory containing one of the above files.  If \"Eigen3\"\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/marko/WC/GIT/libbsdf/build/CMakeFiles/CMakeOutput.log\".\r\n```\r\n\r\nAny hints?\r\n\r\nI've tried this on a late-2009 iMac with OSX 10.10 and MacPorts for installing ```eigen3```."}}