Re: Using wxWidgets from vcpkg in XCode
Richard <[email protected]> Mon, 05 Jan 2026 16:10:20 -0700
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Organization | multi-cellular, biological |
| Message-ID | <[email protected]> |
In article <[email protected]> you write: >Thanks for the information but we don't use cmake, I'm afraid. That makes your workflow more manual, but it doesn't fundamentally change things. vcpkg will download the dependencies, build them and install them into vcpkg's tree when you're using it as a command-line tool, e.g. "vcpkg install wxwidgets". What you want to do is configure your Xcode project to pick up headers and libraries from the install tree (not the build tree). By default, vcpkg will typically build both debug and release versions of dependencies to enable you to step through dependency code in the debugger. On my machine, with latest vcpkg, saying 'vcpkg install wxwidgets' put stuff in $VCPKG/installed/x64-windows with subdirectories for lib, include, etc. All that should be necessary is that you set the <triplet>/include directory in your include search path and the <triplet>/lib directory in your library search path. For wxWidgets on Windows, <triplet>/lib folder contains release libraries and <triplet>/debug/lib contains debug libraries. Be aware that each package decides for itself whether or not the debug library has a different name than the release library (e.g. tiffd.lib on Windows for debug and tiff.lib for release), so if you want to pick up both configurations you'll need to manage those settings in Xcode appropriately. -- Richard -- "The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline> The Terminals Wiki <http://terminals-wiki.org> The Computer Graphics Museum <http://computergraphicsmuseum.org> Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com> -- 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 [email protected]. To view this discussion visit https://groups.google.com/d/msgid/wx-users/E1vctiO-0000000Axvw-2Lbi%40shell.xmission.com.