Package Details: mingw-w64-raylib 3.0.0-2

Git Clone URL: https://aur.archlinux.org/mingw-w64-raylib.git (read-only, click to copy)
Package Base: mingw-w64-raylib
Description: Simple and easy to use game programming library (mingw-w64)
Upstream URL: https://www.raylib.com
Keywords: mingw raylib
Licenses: zlib
Submitter: seo.disparate
Maintainer: seo.disparate
Last Packager: seo.disparate
Votes: 0
Popularity: 0.000000
First Submitted: 2020-05-20 11:32
Last Updated: 2020-05-21 02:20

Latest Comments

seo.disparate commented on 2020-05-20 13:34

@xantares Made the fix with your suggested change

xantares commented on 2020-05-20 13:14

it builds fine with glfw if I comment out GLFW_EXPOSE_NATIVE_WIN32:

https://github.com/raysan5/raylib/pull/1259

seo.disparate commented on 2020-05-20 12:52

@xantares Ok mingw-w64-crt should be fixed now. I looked into the issue with building with mingw-w64-glfw, and it seems that raylib requires "GLFW/glfw3native.h" to be patched not to include "windows.h" otherwise there are name conflicts (this is mentioned in "src/core.c" of raylib 3.0.0, line 197). This appears to be a Windows only issue and I'm not sure how to proceed with this, unless maybe temporarily making a copy of the required header, patching it, and forcing the build to use it, though that seems a bit much.

xantares commented on 2020-05-20 12:29

yes, that's the way

mingw-w64-crt must be moved to depends, not makedepends

seo.disparate commented on 2020-05-20 12:20

@xantares I had set USE_EXTERNAL_GLFW to OFF, but if it is set to ON I think I may have to add mingw-w64-glfw as a dependency?

EDIT: Tried building with USE_EXTERNAL_GLFW=ON and mingw-w64-glfw installed, seems to break the build so I will leave it OFF for now.

seo.disparate commented on 2020-05-20 12:15

@xantares Made the fixes you suggested, thanks for the heads up.

xantares commented on 2020-05-20 12:07

hello

  • arch shoud be 'any'

  • mingw-w64-crt shoud be added to depends

  • no need to list mingw-w64-gcc, it is already pulled by mingw-w64-cmake

  • CMAKE_INSTALL_PREFIX is already set by arch-cmake

  • CMAKE_INSTALL_LIBDIR also

  • why setting fPIC if WITH_PIC is set, which one is useful ?

  • usually the description ends with "(mingw-w64)"

  • you could try USE_EXTERNAL_GLFW to avoid bundling glfw

xan