Closed Peliex closed 1 year ago
Did you do that https://github.com/SpaiR/StrongDMM#for-windows?
@Peliex Can you address the comment?
Personally, I do not have problems with configuring build for Windows. Moreover, binaries for Win are built on Windows. (CI job can be checked publically.) So please, tell me if there is something unclear about that.
@Peliex Can you address the comment?
Personally, I do not have problems with configuring build for Windows. Moreover, binaries for Win are built on Windows. (CI job can be checked publically.) So please, tell me if there is something unclear about that.
Using a default configuration of mingw and gcc did not work properly, did you use MSYS2? I can certainly give that a try and see if it resolves the dependency issues
I mean, which rust toolchain do you use? From the log I see there is a problem when it links Go with rust binaries. That is what is described here: https://github.com/SpaiR/StrongDMM#for-windows
Close since no answer
I had this same problem, and I'm sure there are loads of reasons why it might happen, but for anyone in the future that may have the same issue, my rust was defaulted to "stable-x86_64-pc-windows-msvc" (MSVC, which Go does not support)
Once I ran rustup install 1.69-x86_64-pc-windows-gnu
and rustup default 1.69-x86_64-pc-windows-gnu
like in the workflow it worked cleanly.
Version
main @da178a5
What happened?
Seems to be an issue with either mingw or go, cannot build the application on Windows as of right now because I cannot figure out how to resolve these linker errors.
The issue actually lies within rust, which doesn't properly link against ntdll.dll on windows when targeting gnu. Unsure how to fix this, not familiar with rust or go.
using https://github.com/niXman/mingw-builds-binaries version 13.1.0 for MinGW changing
CC=g++
causes GTK to not compile because it is a c project.Reproduction
go env -w CGO_ENABLED=1
cargo build --release
inthird_party/sdmmparser/src
go build .
in repository rootRelevant log output