Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[raylib] msys2/mingw64 build failure #18259

Closed
xandayn opened this issue Jun 3, 2021 · 0 comments · Fixed by #18362
Closed

[raylib] msys2/mingw64 build failure #18259

xandayn opened this issue Jun 3, 2021 · 0 comments · Fixed by #18362
Labels
category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team.

Comments

@xandayn
Copy link

xandayn commented Jun 3, 2021

Host Environment

  • OS: Windows (MinGW64)
  • Compiler: gcc (Rev2, Built by MSYS2 project) 10.3.0

To Reproduce
Steps to reproduce the behavior:
./vcpkg install raylib:x64-mingw-dynamic

Failure logs

C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lasan
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lubsan
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

Additional context
It appears that the portfile for raylib is trying to use 'asan' and 'ubsan' which aren't available in MinGW, editing the port file to set '-DENABLE_ASAN' (line 44) to OFF and the same with '-DENABLE_UBSAN' (line 45) allows raylib to build.

@JonLiu1993 JonLiu1993 added the category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team. label Jun 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants