drogonframework / drogonframework/drogon

Can't build on Windows using MSYS UCRT64

Open
#2,285 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
14.3k
Forks
1.4k
Avg merge
1d 13h
Merged PRs (30d)
14

Description

**Describe the bug**
Unable to compile drogon 1.9.10 using MSYS UCRT64 on Windows due to WinSock linking problem.

**To Reproduce**
Steps to reproduce the behavior:
1. Build trantor either as separate or subdirectory
2. Build drogon using shared libraries with MSYS UCRT64 GCC on Windows

**Expected behavior**
drogon should build .a and .dll.a

**Additional context**
There appears to be an issue with the link order of various libraries including WinSock. Full log of failed build: https://pastebin.com/1XhUXRuT

Similar issue: https://github.com/drogonframework/drogon/issues/2274
Seems unrelated due to my build not using hiredis

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.