{"action":"created","issue":{"url":"https://api.github.com/repos/kalwalt/ofxPolyvox/issues/2","labels_url":"https://api.github.com/repos/kalwalt/ofxPolyvox/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/kalwalt/ofxPolyvox/issues/2/comments","events_url":"https://api.github.com/repos/kalwalt/ofxPolyvox/issues/2/events","html_url":"https://github.com/kalwalt/ofxPolyvox/issues/2","id":98751027,"number":2,"title":"OpenCV 3.0.0 with Xcode 7.0 beta4","user":{"login":"fengminqiang","id":12148041,"avatar_url":"https://avatars.githubusercontent.com/u/12148041?v=3","gravatar_id":"","url":"https://api.github.com/users/fengminqiang","html_url":"https://github.com/fengminqiang","followers_url":"https://api.github.com/users/fengminqiang/followers","following_url":"https://api.github.com/users/fengminqiang/following{/other_user}","gists_url":"https://api.github.com/users/fengminqiang/gists{/gist_id}","starred_url":"https://api.github.com/users/fengminqiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fengminqiang/subscriptions","organizations_url":"https://api.github.com/users/fengminqiang/orgs","repos_url":"https://api.github.com/users/fengminqiang/repos","events_url":"https://api.github.com/users/fengminqiang/events{/privacy}","received_events_url":"https://api.github.com/users/fengminqiang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-03T14:02:37Z","updated_at":"2015-10-29T20:30:59Z","closed_at":null,"body":"I'm trying to compile a simple opencv code using Xcode but I'm getting a compilation error.\r\n\r\nThe opencv version is 3.0.0 and Xcode version is 7.0 (OS X 10.11)\r\n\r\nIn Xcode, Apple LLVM 6.1 Language C++ settings are:\r\n\r\nc++ Language Dialect : C++11[-std=c++11]\r\n\r\nc++ Standard Library : libc++\r\n\r\nthe error is:\r\n\r\nUndefined symbols for architecture x86_64:\r\n  \"cv::imread(cv::String const&, int)\", referenced from:\r\n      _main in main.o\r\nld: symbol(s) not found for architecture x86_64\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\r\n\r\nWhen I change the c++ standard library to libstdc++, then the error was:\r\n\r\n/usr/local/include/opencv2/hal/defs.h:271:14: 'cstdint' file not found\r\n\r\nCan someone show me how to get opencv work with Xcode? I've already followed lot of forums and guides but still getting the same error.\r\n"},"comment":{"url":"https://api.github.com/repos/kalwalt/ofxPolyvox/issues/comments/152309518","html_url":"https://github.com/kalwalt/ofxPolyvox/issues/2#issuecomment-152309518","issue_url":"https://api.github.com/repos/kalwalt/ofxPolyvox/issues/2","id":152309518,"user":{"login":"kalwalt","id":1275858,"avatar_url":"https://avatars.githubusercontent.com/u/1275858?v=3","gravatar_id":"","url":"https://api.github.com/users/kalwalt","html_url":"https://github.com/kalwalt","followers_url":"https://api.github.com/users/kalwalt/followers","following_url":"https://api.github.com/users/kalwalt/following{/other_user}","gists_url":"https://api.github.com/users/kalwalt/gists{/gist_id}","starred_url":"https://api.github.com/users/kalwalt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalwalt/subscriptions","organizations_url":"https://api.github.com/users/kalwalt/orgs","repos_url":"https://api.github.com/users/kalwalt/repos","events_url":"https://api.github.com/users/kalwalt/events{/privacy}","received_events_url":"https://api.github.com/users/kalwalt/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T20:30:59Z","updated_at":"2015-10-29T20:30:59Z","body":"sorry, @fengminqiang  @WellVincent  @canmanie  i saw only now this issue.... i'm not a mac user so i don't know if i can help you. I tested this addon on a linux machine, i used these flags:\r\n\r\n>USER_CFLAGS = -std=c++0x -fpermissive\r\n\r\nThis make sense for you? hope that this will help a bit...."}}