You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wxmac: stable 3.0.2 (bottled)
wxWidgets, a cross-platform C++ GUI toolkit (for OS X)
https://www.wxwidgets.org
/usr/local/Cellar/wxmac/3.0.2 (777 files, 41M) *
Poured from bottle
From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/wxmac.rb
==> Dependencies
Required: jpeg ✔, libpng ✔, libtiff ✔
==> Options
--with-static
build static libraries
--with-stl
use standard C++ classes for everything
When 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:
ld: library not found for -lwxregexu-3.0
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Certainly 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.
As for wxregexu-3.0, is there nothing in your /usr/local/lib/lib* that looks like it?
What if you just leave that line out (I don't use regex directly in my code, so who knows its not strictly needed).
Once 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.
If all else fails, I'd recommend installing wxWidgets as per the instructions in the readme instead of via Homebrew.
Machine:
wxWidgets (via Homebrew):
When 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; Thentype_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 becauselibwx_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:Xcode > Build Settings > Search Paths > Header Search Paths:
Xcode > Build Settings > C++:
Xcode > Build Settings > Deployment > OS X Deployment Target:
Xcode > Build Settings > Linking > Other Linker Flags:
I would like to get this building if anyone knows how.
The text was updated successfully, but these errors were encountered: