Skip to content

Windows build broke without the sed hack #325

@vmarkovtsev

Description

@vmarkovtsev

v0.4.6 builds my project successfully on Windows: https://github.com/athenianco/ghid/actions/runs/4701826230/jobs/8338345932#step:4:80

v0.4.7 fails: https://github.com/athenianco/ghid/actions/runs/4701941867/jobs/8338644153#step:4:82

go build -mod=mod -buildmode=c-shared -o ghid_go.pyd . cmd had error: exit status 1 output: go: finding module for package github.com/go-python/gopy/gopyh go: found github.com/go-python/gopy/gopyh in github.com/go-python/gopy v0.4.7 # github.com/athenianco/ghid/python/ghid C:\hostedtoolcache\windows\go\1.20.3\x64\pkg\tool\windows_amd64\link.exe: running gcc failed: exit status 1 c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lpython311 collect2.exe: error: ld returned 1 exit status 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions