Hi,
I’m revisiting this topic, as I still haven’t achieved a resolution.
I have wxWidgets installed and built via VCPKG on my Mac Taho computer, with the headers resident in:
~/vcpkg/installed/x64-osx/include
I have other libraries, such as Boost installed using the same path and triplet.
I am blind and Xcode’s Build Settings UI is horrendous to use with a screen reader, so I’ve been modifying my project’s settings (Base.xcconfig) file in a text editor. My header path is defined as:
SYSTEM_HEADER_SEARCH_PATHS = "$(HOME)/vcpkg/installed/x64-osx/include/**"
// HEADER_SEARCH_PATHS = "$(WXROOT)/src/tiff/libtiff"
// USER_HEADER_SEARCH_PATHS = "$(WXROOT)/include" "$(WXROOT)/build/osx/setup/$(WXTOOLKIT)/include" "$(WXROOT)/src/jpeg" "$(WXROOT)/src/png" "$(WXROOT)/src/regex" "$(WXROOT)/src/expat/lib" "$(WXROOT)/src/tiff/libtiff" "$(WXROOT)/src/stc/scintilla/src" "$(WXROOT)/src/stc/scintilla/include"
HEADER_SEARCH_PATHS = "$(HOME)/vcpkg/installed/x64-osx/include/**" $(HOME)/include $(HOME)/include/wx-$(DYLIB_COMPATIBILITY_VERSION) $(HOME)/lib/wx/include/osx_cocoa-unicode-3.1 /usr/include/libxml2
ALWAYS_SEARCH_USER_PATHS = NO
I have tried using the path with and without the quotes – the path contains no spaces, so they shouldn’t be necessary. My understanding is that adding ./** to the end of the path indicates that the path should be scanned recursively, which is what I want.
If I don’t specify the path pointing to my VCPKG installation, my build fails to find wx.h, which is what I expect. Adding this path reports no errors relating to wx.h, so I’m assuming that the file is now being found. However, the build fails with too many errors relating to WX types and methods not being defined, so I’m assuming that other headers are still not being found. Making these changes in the Base.xcconfig and getting differing results gives me confidence that I’m editing the correct settings file.
Can anybody offer me any advice, please?
Best wishes.
Tim
--
Please read https://www.wxwidgets.org/support/mlhowto.htm before posting.
---
You received this message because you are subscribed to the Google Groups "wx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wx-users+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/wx-users/000a01dc8547%243d4c1200%24b7e43600%24%40raisedbar.net.
--
To view this discussion visit https://groups.google.com/d/msgid/wx-users/B21ED672-7118-4610-9418-DAFBFF86E6F7%40skywind.eu.
To view this discussion visit https://groups.google.com/d/msgid/wx-users/3fa955e2-099c-43af-a1a5-08ab1ad91ac6%40gmail.com.