Skip to content

wxWidgets安装失败 #7491

@wieniawski-lai

Description

@wieniawski-lai

Xmake 版本

2.9.9

操作系统版本和架构

kubuntu22.04

描述问题

在VSCode里面用xmake的插件生成一个wxWidgets的工程。
下载下来wxWidgets的tar的package,然后安装报错,详细错误信息在后面

原始的report在github xmake

期待的结果

如何能正确安装

工程配置

add_rules("mode.debug", "mode.release")                                                                                                                                                                                       

add_requires("wxwidgets")

target("wxWidgets")
     set_kind("binary")
     add_files("src/*.cpp")
     set_languages("c++14")
     add_packages("wxwidgets")

附加信息和错误日志

checking for ping ... /usr/bin/ping
pinging the host(github.com) ... 102 ms
/usr/bin/tar -xf /home/username/.xmake/cache/packages/2506/w/wxwidgets/3.2.5/wxWidgets-3.2.5.tar.bz2 -C source.tmp
patching patches/3.2.5/add_libdir.patch to wxwidgets-3.2.5 ..
applying patch /tmp/.xmake1000/250625/patches/wxwidgets/3.2.5/add_libdir.patch
/usr/bin/git apply --reject --ignore-whitespace /tmp/.xmake1000/250625/patches/wxwidgets/3.2.5/add_libdir.patch
Checking patch build/cmake/modules/FindGTK3.cmake...
Checking patch build/cmake/modules/FindWAYLANDEGL.cmake...
Applied patch build/cmake/modules/FindGTK3.cmake cleanly.
Applied patch build/cmake/modules/FindWAYLANDEGL.cmake cleanly.
error: ...e/repositories/xmake-repo/packages/w/wxwidgets/xmake.lua:146: attempt to concatenate a nil value (local 'minor')
stack traceback:
    [...e/repositories/xmake-repo/packages/w/wxwidgets/xmake.lua:146]: in function 'script'
    [...dir/modules/private/action/require/impl/utils/filter.lua:114]: in function 'call'
    [.../modules/priv

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions