{"action":"created","issue":{"url":"https://api.github.com/repos/clMathLibraries/clSPARSE/issues/174","labels_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/issues/174/labels{/name}","comments_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/issues/174/comments","events_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/issues/174/events","html_url":"https://github.com/clMathLibraries/clSPARSE/issues/174","id":121337539,"number":174,"title":"Undeclared identifier sqrt","user":{"login":"dpo","id":38760,"avatar_url":"https://avatars.githubusercontent.com/u/38760?v=3","gravatar_id":"","url":"https://api.github.com/users/dpo","html_url":"https://github.com/dpo","followers_url":"https://api.github.com/users/dpo/followers","following_url":"https://api.github.com/users/dpo/following{/other_user}","gists_url":"https://api.github.com/users/dpo/gists{/gist_id}","starred_url":"https://api.github.com/users/dpo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpo/subscriptions","organizations_url":"https://api.github.com/users/dpo/orgs","repos_url":"https://api.github.com/users/dpo/repos","events_url":"https://api.github.com/users/dpo/events{/privacy}","received_events_url":"https://api.github.com/users/dpo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-09T20:59:58Z","updated_at":"2015-12-11T15:47:24Z","closed_at":null,"body":"I'm trying to build `clsparse` using the missing `cl.hpp` header (as mentioned in #139) on OSX 10.9, and I'm getting an error:\r\n```\r\n[ 22%] Linking CXX shared library libclsparseTimer.dylib\r\n/tmp/clsparse20151209-96503-gdqb4b/clSPARSE-0.8.1.0/src/benchmarks/cusparse-bench/src/statisticalTimer.cpp:240:9: error: use of undeclared identifier 'sqrt'\r\n        return  sqrt( variance );\r\n                ^\r\n1 error generated.\r\n```\r\nAny ideas?"},"comment":{"url":"https://api.github.com/repos/clMathLibraries/clSPARSE/issues/comments/163969570","html_url":"https://github.com/clMathLibraries/clSPARSE/issues/174#issuecomment-163969570","issue_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/issues/174","id":163969570,"user":{"login":"kknox","id":2258140,"avatar_url":"https://avatars.githubusercontent.com/u/2258140?v=3","gravatar_id":"","url":"https://api.github.com/users/kknox","html_url":"https://github.com/kknox","followers_url":"https://api.github.com/users/kknox/followers","following_url":"https://api.github.com/users/kknox/following{/other_user}","gists_url":"https://api.github.com/users/kknox/gists{/gist_id}","starred_url":"https://api.github.com/users/kknox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kknox/subscriptions","organizations_url":"https://api.github.com/users/kknox/orgs","repos_url":"https://api.github.com/users/kknox/repos","events_url":"https://api.github.com/users/kknox/events{/privacy}","received_events_url":"https://api.github.com/users/kknox/received_events","type":"User","site_admin":false},"created_at":"2015-12-11T15:47:24Z","updated_at":"2015-12-11T15:47:24Z","body":"Sounds like we are missing a header file for the benchmark program.  Funny thing is that I believe this [compiles on travis](https://travis-ci.org/kknox/clSPARSE/jobs/96080354).  I assume that this is something that fixed itself on 10.10 or 10.11.\r\n\r\nAs a fast fix, the benchmark program is not needed; you can configure cmake to not build it."}}