Closed Semj0n closed 1 year ago
using https://github.com/veandco/go-sdl2-libs
leads to:
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_framerate.o):(.text+0x5): undefined reference to SDL_GetTicks' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_framerate.o):(.text+0x3d): undefined reference to
SDL_GetTicks'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_framerate.o):(.text+0xe1): undefined reference
to SDL_GetTicks' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_framerate.o):(.text+0x115): undefined reference to
SDL_GetTicks'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_framerate.o):(.text+0x133): undefined reference to SDL_Delay' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_framerate.o):(.text+0x156): undefined reference to
SDL_GetTicks'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x190): undefined reference to SDL_SetRenderDrawBlendMode' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x1aa): undefined reference to
SDL_SetRenderDrawColor'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x1bb): undefined reference to SDL_RenderDrawPoint' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x287): undefined reference to
SDL_RenderDrawLine'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x2d6): undefined reference to SDL_SetRenderDrawBlendMode' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x2f5): undefined reference to
SDL_SetRenderDrawColor'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x311): undefined reference to SDL_RenderDrawLine' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x398): undefined reference to
SDL_RenderDrawLine'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x3f9): undefined reference to SDL_SetRenderDrawBlendMode' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x418): undefined reference to
SDL_SetRenderDrawColor'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x432): undefined reference to SDL_RenderDrawLine' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x536): undefined reference to
SDL_SetRenderDrawBlendMode'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x54d): undefined reference to SDL_SetRenderDrawColor' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x55c): undefined reference to
SDL_RenderDrawRect'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x71f): undefined reference to SDL_SetRenderDrawBlendMode' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x736): undefined reference to
SDL_SetRenderDrawColor'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x745): undefined reference to SDL_RenderFillRect' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x9b9): undefined reference to
SDL_SetRenderDrawBlendMode'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x9dc): undefined reference to SDL_SetRenderDrawColor' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0xa83): undefined reference to
SDL_RenderDrawLine'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0xaaa): undefined reference to SDL_RenderDrawLine' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0xb0c): undefined reference to
SDL_RenderDrawLine'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0xb35): undefined reference to SDL_RenderDrawLine' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0xc10): undefined reference to
SDL_RenderDrawLine'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0xc3a): more undefined
references to SDL_RenderDrawLine' follow C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0xef0): undefined reference to
SDL_SetRenderDrawBlendMode'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0xf10): undefined reference to SDL_SetRenderDrawColor' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0xf31): undefined reference to
SDL_RenderDrawLine'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x1818): undefined reference to SDL_SetRenderDrawBlendMode' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x183b): undefined reference to
SDL_SetRenderDrawColor'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x1a4e): undefined reference to SDL_RenderDrawPoint' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x1a6e): undefined reference to
SDL_RenderDrawPoint'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x1b46): undefined reference to SDL_RenderDrawPoint' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x1b66): undefined reference to
SDL_RenderDrawPoint'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x1ba6): undefined reference to SDL_RenderDrawPoint' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x1bcb): more undefined references to
SDL_RenderDrawPoint' follow
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x2312): undefined reference to SDL_RenderDrawLine' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x2329): undefined reference to
SDL_RenderDrawLine'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x2349): undefined reference to SDL_RenderDrawPoint' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x2358): undefined reference to
SDL_RenderDrawPoint'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x23fb): undefined reference to SDL_SetRenderDrawBlendMode' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x2423): undefined reference to
SDL_SetRenderDrawColor'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x2bab): undefined reference to SDL_SetRenderDrawBlendMode' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x3763): undefined reference to
SDL_RenderDrawLines'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x37f2): undefined reference to SDL_SetRenderDrawBlendMode' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x380d): undefined reference to
SDL_SetRenderDrawColor'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x3ec0): undefined reference to SDL_SetRenderDrawBlendMode' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x3ee1): undefined reference to
SDL_SetRenderDrawColor'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x3f42): undefined reference to SDL_RenderDrawLine' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x4880): undefined reference to
SDL_RenderCopy'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x48bd): undefined reference to SDL_RenderCopy' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x4915): undefined reference to
SDL_RenderCopy'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x4a36): undefined reference to SDL_CreateTextureFromSurface' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x4a4f): undefined reference to
SDL_SetTextureBlendMode'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x4c55): undefined reference to SDL_RenderPresent' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x4c5d): undefined reference to
SDL_DestroyTexture'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x4daa): undefined reference to SDL_DestroyTexture' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x4e4d): undefined reference to
SDL_DestroyTexture'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x4f1a): undefined reference to SDL_SetTextureColorMod' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x4f2a): undefined reference to
SDL_SetTextureAlphaMod'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x4f42): undefined reference to SDL_RenderCopy' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x4f94): undefined reference to
SDL_CreateRGBSurface'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x5062): undefined reference to SDL_CreateTextureFromSurface' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x506e): undefined reference to
SDL_FreeSurface'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x50a2): undefined reference to SDL_FreeSurface' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x53a5): undefined reference to
SDL_SetRenderDrawBlendMode'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x53ca): undefined reference to SDL_SetRenderDrawColor' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x5451): undefined reference to
SDL_RenderDrawLine'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x561a): undefined reference to SDL_sqrt' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x562c): undefined reference to
SDL_atan2'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x5635): undefined reference to SDL_cos' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x563a): undefined reference to
SDL_fabs'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x148): undefined reference to SDL_RenderDrawPoint' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0xe95): undefined reference to
SDL_RenderDrawLine'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x2284): undefined reference to SDL_RenderDrawLine' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x2386): undefined reference to
SDL_RenderDrawPoint'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x26e6): undefined reference to SDL_RenderDrawPoint' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_gfxPrimitives.o):(.text+0x2720): undefined reference to
SDL_RenderDrawLine'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_imageFilter.o):(.text+0xd5): undefined reference to SDL_HasMMX' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_imageFilter.o):(.text+0x1e5): undefined reference to
SDL_HasMMX'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_imageFilter.o):(.text+0x30a): undefined reference to SDL_HasMMX' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_imageFilter.o):(.text+0x415): undefined reference to
SDL_HasMMX'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_imageFilter.o):(.text+0x535): undefined reference to SDL_HasMMX' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_imageFilter.o):(.text+0x6ab): more undefined references to
SDL_HasMMX' follow
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_rotozoom.o):(.text+0x12): undefined reference to SDL_GetColorKey' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_rotozoom.o):(.text+0x11aa): undefined reference to
SDL_GetColorKey'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_rotozoom.o):(.text+0x133f): undefined reference to SDL_CreateRGBSurface' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_rotozoom.o):(.text+0x13f6): undefined reference to
SDL_UnlockSurface'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_rotozoom.o):(.text+0x1414): undefined reference to SDL_LockSurface' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_rotozoom.o):(.text+0x1424): undefined reference to
SDL_LockSurface'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_rotozoom.o):(.text+0x14da): undefined reference to SDL_UnlockSurface' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_rotozoom.o):(.text+0x17bd): undefined reference to
SDL_SetError'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_rotozoom.o):(.text+0x17e7): undefined reference to SDL_SetError' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_rotozoom.o):(.text+0x17f8): undefined reference to
SDL_SetError'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_rotozoom.o):(.text+0x1dc2): undefined reference to SDL_CreateRGBSurface' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_rotozoom.o):(.text+0x1e7e): undefined reference to
SDL_FreeSurface'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_rotozoom.o):(.text+0x1f07): undefined reference to SDL_CreateRGBSurface' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_rotozoom.o):(.text+0x1f1d): undefined reference to
SDL_UpperBlit'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_rotozoom.o):(.text+0x1f97): undefined reference to SDL_CreateRGBSurface' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_rotozoom.o):(.text+0x2022): undefined reference to
SDL_UnlockSurface'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_rotozoom.o):(.text+0x208d): undefined reference to SDL_CreateRGBSurface' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_rotozoom.o):(.text+0x20a4): undefined reference to
SDL_LockSurface'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_rotozoom.o):(.text+0x2115): undefined reference to SDL_LockSurface' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_rotozoom.o):(.text+0x2229): undefined reference to
SDL_CreateRGBSurface'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_rotozoom.o):(.text+0x233e): undefined reference to SDL_CreateRGBSurface' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_rotozoom.o):(.text+0x235e): undefined reference to
SDL_UpperBlit'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_rotozoom.o):(.text+0x237a): undefined reference to SDL_FreeSurface' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_rotozoom.o):(.text+0x23ad): undefined reference to
SDL_UnlockSurface'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_rotozoom.o):(.text+0x23c4): undefined reference to SDL_LockSurface' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_rotozoom.o):(.text+0x24b6): undefined reference to
SDL_CreateRGBSurface'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_rotozoom.o):(.text+0x2590): undefined reference to SDL_CreateRGBSurface' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_rotozoom.o):(.text+0x25b4): undefined reference to
SDL_UpperBlit'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_rotozoom.o):(.text+0x25cd): undefined reference to SDL_LockSurface' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_rotozoom.o):(.text+0x25f1): undefined reference to
SDL_UnlockSurface'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_rotozoom.o):(.text+0x2602): undefined reference to SDL_FreeSurface' C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_rotozoom.o):(.text+0x2619): undefined reference to
SDL_FreeSurface'
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2_gfx.a(SDL2_rotozoom.o):(.text+0x2651): undefined reference to `SDL_CreateRGBSurface'
collect2.exe: error: ld returned 1 exit status
I think the SDL_GetTicks-related error means your version of the core libSDL is too old for go-sdl2. 1.0.1 is also pretty old for libSDL-gfx, not sure what versions are required. Maybe try the latest versions?
Thanks @Lundis. Thought I overlooked this issue but it seems like @Semj0n had already solved it here.
Hi,
when i try to install gfx package with "go get github.com/veandco/go-sdl2/gfx"
C:/Program Files/mingw-w64/x86_64-7.3.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lSDL2_gfx collect2.exe: error: ld returned 1 exit status
I've downloaded SDL2_gfx-1.0.1 and tried to compile it with Visual Studio but i get several error's, i guess it's because of the arch. Is there any precompiled or successful compilation of the SDL2_gfx lib for x64 ?
Thanks in advance, Sam