{"action":"created","issue":{"url":"https://api.github.com/repos/aardappel/treesheets/issues/34","labels_url":"https://api.github.com/repos/aardappel/treesheets/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/aardappel/treesheets/issues/34/comments","events_url":"https://api.github.com/repos/aardappel/treesheets/issues/34/events","html_url":"https://github.com/aardappel/treesheets/issues/34","id":103834077,"number":34,"title":"Attempt to build using Xcode","user":{"login":"leoj3n","id":990216,"avatar_url":"https://avatars.githubusercontent.com/u/990216?v=3","gravatar_id":"","url":"https://api.github.com/users/leoj3n","html_url":"https://github.com/leoj3n","followers_url":"https://api.github.com/users/leoj3n/followers","following_url":"https://api.github.com/users/leoj3n/following{/other_user}","gists_url":"https://api.github.com/users/leoj3n/gists{/gist_id}","starred_url":"https://api.github.com/users/leoj3n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leoj3n/subscriptions","organizations_url":"https://api.github.com/users/leoj3n/orgs","repos_url":"https://api.github.com/users/leoj3n/repos","events_url":"https://api.github.com/users/leoj3n/events{/privacy}","received_events_url":"https://api.github.com/users/leoj3n/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-29T06:55:40Z","updated_at":"2015-08-29T18:32:49Z","closed_at":null,"body":"Machine:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/990216/9560802/e760b80e-4dee-11e5-8c99-80a427745a06.png)\r\n\r\nwxWidgets (via Homebrew):\r\n\r\n~~~\r\nwxmac: stable 3.0.2 (bottled)\r\nwxWidgets, a cross-platform C++ GUI toolkit (for OS X)\r\nhttps://www.wxwidgets.org\r\n/usr/local/Cellar/wxmac/3.0.2 (777 files, 41M) *\r\n  Poured from bottle\r\nFrom: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/wxmac.rb\r\n==> Dependencies\r\nRequired: jpeg ✔, libpng ✔, libtiff ✔\r\n==> Options\r\n--with-static\r\n\tbuild static libraries\r\n--with-stl\r\n\tuse standard C++ classes for everything\r\n~~~\r\n\r\n----\r\n\r\nWhen I tried to build, Xcode couldn't include `wx/setup.h` So I added my the path for the Homebrew install to Header Search Paths; Then `type_traits` was unrecognized with GNU C++ setting so I updated that; C++11 required OS X target of 10.7 or newer so I updated that from 10.6; Then Linker Flags had problems because `libwx_osx_cocoau_*.a` files didn't exist but I noticed files in same location ending in `.dylib` so I modified the endings; Finally error on `-lwxregexu-3.0` Linker Flag where I stopped because I don't know what to try next:\r\n\r\n~~~\r\nld: library not found for -lwxregexu-3.0\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\r\n~~~\r\n\r\n----\r\n\r\nXcode > Build Settings > Search Paths > Header Search Paths:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/990216/9560807/25210284-4def-11e5-91c5-df5f52a0e2cb.png)\r\n\r\nXcode > Build Settings > C++:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/990216/9560805/02596926-4def-11e5-9540-5feb81b8fe31.png)\r\n\r\nXcode > Build Settings > Deployment > OS X Deployment Target:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/990216/9560814/52e4301a-4def-11e5-922b-c9219c09af48.png)\r\n\r\nXcode > Build Settings > Linking > Other Linker Flags:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/990216/9560803/f3c6da06-4dee-11e5-8552-5e3eae4cf82a.png)\r\n\r\n----\r\n\r\nI would like to get this building if anyone knows how."},"comment":{"url":"https://api.github.com/repos/aardappel/treesheets/issues/comments/136022058","html_url":"https://github.com/aardappel/treesheets/issues/34#issuecomment-136022058","issue_url":"https://api.github.com/repos/aardappel/treesheets/issues/34","id":136022058,"user":{"login":"aardappel","id":4663648,"avatar_url":"https://avatars.githubusercontent.com/u/4663648?v=3","gravatar_id":"","url":"https://api.github.com/users/aardappel","html_url":"https://github.com/aardappel","followers_url":"https://api.github.com/users/aardappel/followers","following_url":"https://api.github.com/users/aardappel/following{/other_user}","gists_url":"https://api.github.com/users/aardappel/gists{/gist_id}","starred_url":"https://api.github.com/users/aardappel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aardappel/subscriptions","organizations_url":"https://api.github.com/users/aardappel/orgs","repos_url":"https://api.github.com/users/aardappel/repos","events_url":"https://api.github.com/users/aardappel/events{/privacy}","received_events_url":"https://api.github.com/users/aardappel/received_events","type":"User","site_admin":false},"created_at":"2015-08-29T18:32:49Z","updated_at":"2015-08-29T18:32:49Z","body":"Thanks for the detailed problem report!\r\n\r\nCertainly my build instructions are intended for building wxWidgets manually, if you pull it from Homebrew you're bound to end up with slightly different names/directories.\r\n\r\nAs for wxregexu-3.0, is there nothing in your /usr/local/lib/lib* that looks like it?\r\nWhat if you just leave that line out (I don't use regex directly in my code, so who knows its not strictly needed).\r\n\r\nOnce you resolve that problem, there's other wx libs being pulled in that it may not be able to find, like wxtiff-3.0 etc. I don't know where those would be on your machine.\r\n\r\nIf all else fails, I'd recommend installing wxWidgets as per the instructions in the readme instead of via Homebrew."}}