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
In 3.1.5 wxWidgets started appending the system name to the library file names (only when cross compiling):
if (CMAKE_CROSSCOMPILING)
set(cross_target "-${CMAKE_SYSTEM_NAME}")
endif()
The build fails because conanfile.py doesn't find the correct files. While that could be fixed, this behavior probably breaks Conan compatibility. For example if you cross compile macOS ARM from a macOS Intel machine, the library names would be different than compiling directly on a macOS ARM machine.
This behavior seems intentional so I don't think we can fix it upstream. wxWidgets recently changed the cmake support to match the filenames from configure:
In 3.1.5 wxWidgets started appending the system name to the library file names (only when cross compiling):
The build fails because conanfile.py doesn't find the correct files. While that could be fixed, this behavior probably breaks Conan compatibility. For example if you cross compile macOS ARM from a macOS Intel machine, the library names would be different than compiling directly on a macOS ARM machine.
This behavior seems intentional so I don't think we can fix it upstream. wxWidgets recently changed the cmake support to match the filenames from configure:
wxWidgets/wxWidgets#2291
And affected file was updated again post 3.1.5, so a separate patch will be required for a future 3.1.6 release:
wxWidgets/wxWidgets#2358
Package and Environment Details (include every applicable attribute)
Conan profile (output of
conan profile show default
orconan profile show <profile>
if custom profile is in use)conan profile show default
conan profile show armv8
Steps to reproduce (Include if Applicable)
conan create . wxwidgets/3.1.5@bincrafters/stable -pr armv8 -pr:b default -b missing
Logs (Include/Attach if Applicable)
Click to expand log
Note the library names end in "-Darwin":
The text was updated successfully, but these errors were encountered: