greenfork / nimraylib_now

The Ultimate Raylib gaming library wrapper for Nim
MIT License
151 stars 17 forks source link

Remove mangled sources #54

Closed greenfork closed 2 years ago

greenfork commented 2 years ago

After merge todo: try to fix glfw issue upstream.

greenfork commented 2 years ago
nimble convert
nimble prepareTests
nimble testExamples

this sequence in CI for windows generates errors which should have been fixed in https://github.com/greenfork/nimraylib_now/pull/54/commits/a060b157ad2f5226779bbc0431c397927e106f8e

Errors from CI for reference:

D:\a\nimraylib_now\nimraylib_now\src\csources\external\glfw\include/GLFW/glfw3native.h:97:17: error: conflicting types for 'HWND'
  typedef HANDLE HWND;
                 ^~~~
In file included from C:/ProgramData/Chocolatey/lib/mingw/tools/install/mingw64/x86_64-w64-mingw32/include/minwindef.h:163,
                 from C:/ProgramData/Chocolatey/lib/mingw/tools/install/mingw64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/ProgramData/Chocolatey/lib/mingw/tools/install/mingw64/x86_64-w64-mingw32/include/windows.h:69,
                 from D:\a\nimraylib_now\nimraylib_now\src\csources\raylib.h:51,
                 from D:\a\nimraylib_now\nimraylib_now\src\csources\rcore.c:115:
C:/ProgramData/Chocolatey/lib/mingw/tools/install/mingw64/x86_64-w64-mingw32/include/windef.h:25:1: note: previous declaration of 'HWND' was here
 DECLARE_HANDLE (HWND);
 ^~~~~~~~~~~~~~