Skip to content

CMake translation missing Objective-C++ files in wxWidgets #8132

@CoffeeFlux

Description

@CoffeeFlux

Attempting to build and link against wxWidgets on MacOS results in various linker errors. Looking up the symbols, they seem to be coming from the various objective-c++ .mm files in src/osx/cocoa. Compiling directly with CMake does seem to include those files.

Unfortunately, I don't have a minimal repro handy. If that's needed, please let me know and I can try to make one. I've uploaded meson.build, fileAPI.json and __CMake_build/cmake_trace.txt, but if there's anything else I can provide I'd be happy to since this is blocking.

cmake_objcpp_bug_logs.zip

CMake module invocation: https://github.com/TypesettingTools/Aegisub/blob/meson-vs2019/meson.build#L125

System:
MacOS 11.1
Python 3.9.1
Meson 0.56.0
CMake 3.19.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS:macosIssues specific to Apple Operating Systems like MacOS and iOSdependency:cmakeIssues related to `dependency` with the `cmake` methodsubprojects/wraps

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions