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

static linking broken #617

Open
shellohunter opened this issue Dec 31, 2024 · 1 comment
Open

static linking broken #617

shellohunter opened this issue Dec 31, 2024 · 1 comment

Comments

@shellohunter
Copy link

Go version: 1.24.3
Go-SDL2 version: go-sdl@master
SDL2 version: go-sdl@master
OS: macos 15.1.1
Architecture: arm64

I'm actually using clang. not sure if the gnu gcc is mandatory for static linking. it seems the compiler try to link libs under go-sdl/_libs, which is kind of outdated.

Maybe a fresh build from source is more reasonable?

here's my build cmd:

CGO_ENABLED=1 CC=gcc GOOS=darwin GOARCH=arm64 go build -tags static -ldflags "-s -w"

got errors like this:

Undefined symbols for architecture arm64:
  "_IMG_Init", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_Init in 000051.o
  "_IMG_Linked_Version", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_Linked_Version in 000051.o
  "_IMG_Load", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_Load in 000051.o
  "_IMG_LoadBMP_RW", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_LoadBMP_RW in 000051.o
  "_IMG_LoadCUR_RW", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_LoadCUR_RW in 000051.o
  "_IMG_LoadGIF_RW", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_LoadGIF_RW in 000051.o
  "_IMG_LoadICO_RW", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_LoadICO_RW in 000051.o
  "_IMG_LoadJPG_RW", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_LoadJPG_RW in 000051.o
  "_IMG_LoadLBM_RW", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_LoadLBM_RW in 000051.o
  "_IMG_LoadPCX_RW", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_LoadPCX_RW in 000051.o
  "_IMG_LoadPNG_RW", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_LoadPNG_RW in 000051.o
  "_IMG_LoadPNM_RW", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_LoadPNM_RW in 000051.o
  "_IMG_LoadTGA_RW", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_LoadTGA_RW in 000051.o
  "_IMG_LoadTIF_RW", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_LoadTIF_RW in 000051.o
  "_IMG_LoadTexture", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_LoadTexture in 000051.o
  "_IMG_LoadTexture_RW", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_LoadTexture_RW in 000051.o
  "_IMG_LoadTyped_RW", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_LoadTyped_RW in 000051.o
  "_IMG_LoadWEBP_RW", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_LoadWEBP_RW in 000051.o
  "_IMG_LoadXCF_RW", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_LoadXCF_RW in 000051.o
  "_IMG_LoadXPM_RW", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_LoadXPM_RW in 000051.o
  "_IMG_LoadXV_RW", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_LoadXV_RW in 000051.o
  "_IMG_Load_RW", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_Load_RW in 000051.o
  "_IMG_Quit", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_Quit in 000051.o
  "_IMG_ReadXPMFromArray", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_ReadXPMFromArray in 000051.o
  "_IMG_SavePNG", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_SavePNG in 000051.o
  "_IMG_SavePNG_RW", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_SavePNG_RW in 000051.o
  "_IMG_isBMP", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_isBMP in 000051.o
  "_IMG_isCUR", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_isCUR in 000051.o
  "_IMG_isGIF", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_isGIF in 000051.o
  "_IMG_isICO", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_isICO in 000051.o
  "_IMG_isJPG", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_isJPG in 000051.o
  "_IMG_isLBM", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_isLBM in 000051.o
  "_IMG_isPCX", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_isPCX in 000051.o
  "_IMG_isPNG", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_isPNG in 000051.o
  "_IMG_isPNM", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_isPNM in 000051.o
  "_IMG_isTIF", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_isTIF in 000051.o
  "_IMG_isWEBP", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_isWEBP in 000051.o
  "_IMG_isXCF", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_isXCF in 000051.o
  "_IMG_isXPM", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_isXPM in 000051.o
  "_IMG_isXV", referenced from:
      __cgo_1a31f510b63c_Cfunc_IMG_isXV in 000051.o
  "_Mix_AllocateChannels", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_AllocateChannels in 000055.o
  "_Mix_ChannelFinished", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_ChannelFinished in 000055.o
  "_Mix_CloseAudio", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_CloseAudio in 000055.o
  "_Mix_EachSoundFont", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_EachSoundFont in 000054.o
  "_Mix_ExpireChannel", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_ExpireChannel in 000055.o
  "_Mix_FadeInChannelTimed", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_FadeInChannelTimed in 000055.o
  "_Mix_FadeInMusic", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_FadeInMusic in 000055.o
  "_Mix_FadeInMusicPos", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_FadeInMusicPos in 000055.o
  "_Mix_FadeOutChannel", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_FadeOutChannel in 000055.o
  "_Mix_FadeOutGroup", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_FadeOutGroup in 000055.o
  "_Mix_FadeOutMusic", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_FadeOutMusic in 000055.o
  "_Mix_FadingChannel", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_FadingChannel in 000055.o
  "_Mix_FadingMusic", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_FadingMusic in 000055.o
  "_Mix_FreeChunk", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_FreeChunk in 000055.o
  "_Mix_FreeMusic", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_FreeMusic in 000055.o
  "_Mix_GetChunk", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_GetChunk in 000055.o
  "_Mix_GetChunkDecoder", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_GetChunkDecoder in 000055.o
  "_Mix_GetMusicDecoder", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_GetMusicDecoder in 000055.o
  "_Mix_GetMusicType", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_GetMusicType in 000055.o
  "_Mix_GetNumChunkDecoders", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_GetNumChunkDecoders in 000055.o
  "_Mix_GetNumMusicDecoders", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_GetNumMusicDecoders in 000055.o
  "_Mix_GetSoundFonts", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_GetSoundFonts in 000054.o
  "_Mix_GetSynchroValue", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_GetSynchroValue in 000055.o
  "_Mix_GroupAvailable", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_GroupAvailable in 000055.o
  "_Mix_GroupChannel", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_GroupChannel in 000055.o
  "_Mix_GroupChannels", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_GroupChannels in 000055.o
  "_Mix_GroupCount", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_GroupCount in 000055.o
  "_Mix_GroupNewer", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_GroupNewer in 000055.o
  "_Mix_GroupOldest", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_GroupOldest in 000055.o
  "_Mix_HaltChannel", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_HaltChannel in 000055.o
  "_Mix_HaltGroup", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_HaltGroup in 000055.o
  "_Mix_HaltMusic", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_HaltMusic in 000055.o
  "_Mix_HasChunkDecoder", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_HasChunkDecoder in 000055.o
  "_Mix_HookMusic", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_HookMusic in 000055.o
  "_Mix_HookMusicFinished", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_HookMusicFinished in 000055.o
  "_Mix_Init", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_Init in 000055.o
  "_Mix_Linked_Version", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_Linked_Version in 000055.o
  "_Mix_LoadMUS", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_LoadMUS in 000055.o
  "_Mix_LoadMUSType_RW", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_LoadMUSType_RW in 000055.o
  "_Mix_LoadMUS_RW", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_LoadMUS_RW in 000055.o
  "_Mix_LoadWAV_RW", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_LoadWAV_RW in 000055.o
  "_Mix_OpenAudio", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_OpenAudio in 000055.o
  "_Mix_OpenAudioDevice", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_OpenAudioDevice in 000055.o
  "_Mix_Pause", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_Pause in 000055.o
  "_Mix_PauseAudio", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_PauseAudio in 000055.o
  "_Mix_PauseMusic", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_PauseMusic in 000055.o
  "_Mix_Paused", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_Paused in 000055.o
  "_Mix_PausedMusic", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_PausedMusic in 000055.o
  "_Mix_PlayChannelTimed", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_PlayChannelTimed in 000055.o
  "_Mix_PlayMusic", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_PlayMusic in 000055.o
  "_Mix_Playing", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_Playing in 000055.o
  "_Mix_PlayingMusic", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_PlayingMusic in 000055.o
  "_Mix_QuerySpec", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_QuerySpec in 000055.o
      __cgo_f320189eaa0a_Cfunc_getChunkTimeMilliseconds in 000055.o
  "_Mix_QuickLoad_RAW", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_QuickLoad_RAW in 000055.o
  "_Mix_QuickLoad_WAV", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_QuickLoad_WAV in 000055.o
  "_Mix_Quit", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_Quit in 000055.o
  "_Mix_RegisterEffect", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_RegisterEffect in 000055.o
  "_Mix_ReserveChannels", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_ReserveChannels in 000055.o
  "_Mix_Resume", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_Resume in 000055.o
  "_Mix_ResumeMusic", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_ResumeMusic in 000055.o
  "_Mix_RewindMusic", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_RewindMusic in 000055.o
  "_Mix_SetDistance", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_SetDistance in 000055.o
  "_Mix_SetMusicCMD", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_SetMusicCMD in 000055.o
  "_Mix_SetMusicPosition", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_SetMusicPosition in 000055.o
  "_Mix_SetPanning", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_SetPanning in 000055.o
  "_Mix_SetPosition", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_SetPosition in 000055.o
  "_Mix_SetPostMix", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_SetPostMix in 000055.o
  "_Mix_SetReverseStereo", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_SetReverseStereo in 000055.o
  "_Mix_SetSoundFonts", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_SetSoundFonts in 000054.o
  "_Mix_SetSynchroValue", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_SetSynchroValue in 000055.o
  "_Mix_UnregisterAllEffects", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_UnregisterAllEffects in 000055.o
  "_Mix_Volume", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_Volume in 000055.o
  "_Mix_VolumeChunk", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_VolumeChunk in 000055.o
  "_Mix_VolumeMusic", referenced from:
      __cgo_f320189eaa0a_Cfunc_Mix_VolumeMusic in 000055.o
  "_SDL_FlashWindow", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_FlashWindow in 000044.o
  "_SDL_GameControllerGetAppleSFSymbolsNameForAxis", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_GameControllerGetAppleSFSymbolsNameForAxis in 000009.o
  "_SDL_GameControllerGetAppleSFSymbolsNameForButton", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_GameControllerGetAppleSFSymbolsNameForButton in 000009.o
  "_SDL_GameControllerGetSensorDataRate", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_GameControllerGetSensorDataRate in 000009.o
  "_SDL_GameControllerHasRumble", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_GameControllerHasRumble in 000009.o
  "_SDL_GameControllerHasRumbleTriggers", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_GameControllerHasRumbleTriggers in 000009.o
  "_SDL_GameControllerSendEffect", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_GameControllerSendEffect in 000009.o
  "_SDL_GetAudioDeviceSpec", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_GetAudioDeviceSpec in 000001.o
  "_SDL_GetTextureUserData", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_GetTextureUserData in 000028.o
  "_SDL_GetTicks64", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_GetTicks64 in 000041.o
  "_SDL_GetWindowICCProfile", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_GetWindowICCProfile in 000044.o
  "_SDL_GetWindowMouseRect", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_GetWindowMouseRect in 000044.o
  "_SDL_JoystickHasRumble", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_JoystickHasRumble in 000015.o
  "_SDL_JoystickHasRumbleTriggers", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_JoystickHasRumbleTriggers in 000015.o
  "_SDL_PremultiplyAlpha", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_PremultiplyAlpha in 000035.o
  "_SDL_RenderGeometry", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_RenderGeometry in 000028.o
  "_SDL_RenderGeometryRaw", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_RenderGeometryRaw in 000028.o
  "_SDL_RenderLogicalToWindow", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_RenderLogicalToWindow in 000028.o
  "_SDL_RenderSetVSync", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_RenderSetVSync in 000028.o
  "_SDL_RenderWindowToLogical", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_RenderWindowToLogical in 000028.o
  "_SDL_SetTextureUserData", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_SetTextureUserData in 000028.o
  "_SDL_SetWindowAlwaysOnTop", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_SetWindowAlwaysOnTop in 000044.o
  "_SDL_SetWindowKeyboardGrab", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_SetWindowKeyboardGrab in 000044.o
  "_SDL_SetWindowMouseRect", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_SetWindowMouseRect in 000044.o
  "_SDL_SoftStretchLinear", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_SoftStretchLinear in 000035.o
  "_SDL_UpdateNVTexture", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_UpdateNVTexture in 000028.o
  "_SDL_hid_ble_scan", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_hid_ble_scan in 000013.o
  "_SDL_hid_close", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_hid_close in 000013.o
  "_SDL_hid_device_change_count", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_hid_device_change_count in 000013.o
  "_SDL_hid_enumerate", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_hid_enumerate in 000013.o
  "_SDL_hid_exit", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_hid_exit in 000013.o
  "_SDL_hid_free_enumeration", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_hid_free_enumeration in 000013.o
  "_SDL_hid_get_feature_report", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_hid_get_feature_report in 000013.o
  "_SDL_hid_get_indexed_string", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_hid_get_indexed_string in 000013.o
  "_SDL_hid_get_manufacturer_string", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_hid_get_manufacturer_string in 000013.o
  "_SDL_hid_get_product_string", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_hid_get_product_string in 000013.o
  "_SDL_hid_get_serial_number_string", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_hid_get_serial_number_string in 000013.o
  "_SDL_hid_init", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_hid_init in 000013.o
  "_SDL_hid_open", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_hid_open in 000013.o
  "_SDL_hid_open_path", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_hid_open_path in 000013.o
  "_SDL_hid_read", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_hid_read in 000013.o
  "_SDL_hid_read_timeout", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_hid_read_timeout in 000013.o
  "_SDL_hid_send_feature_report", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_hid_send_feature_report in 000013.o
  "_SDL_hid_set_nonblocking", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_hid_set_nonblocking in 000013.o
  "_SDL_hid_write", referenced from:
      __cgo_3ecd9aa4691b_Cfunc_SDL_hid_write in 000013.o
  "_TTF_ByteSwappedUNICODE", referenced from:
      __cgo_701b4a50c6f8_Cfunc_ByteSwappedUNICODE in 000058.o
  "_TTF_CloseFont", referenced from:
      __cgo_701b4a50c6f8_Cfunc_TTF_CloseFont in 000058.o
  "_TTF_FontAscent", referenced from:
      __cgo_701b4a50c6f8_Cfunc_TTF_FontAscent in 000058.o
  "_TTF_FontDescent", referenced from:
      __cgo_701b4a50c6f8_Cfunc_TTF_FontDescent in 000058.o
  "_TTF_FontFaceFamilyName", referenced from:
      __cgo_701b4a50c6f8_Cfunc_TTF_FontFaceFamilyName in 000058.o
  "_TTF_FontFaceIsFixedWidth", referenced from:
      __cgo_701b4a50c6f8_Cfunc_TTF_FontFaceIsFixedWidth in 000058.o
  "_TTF_FontFaceStyleName", referenced from:
      __cgo_701b4a50c6f8_Cfunc_TTF_FontFaceStyleName in 000058.o
  "_TTF_FontFaces", referenced from:
      __cgo_701b4a50c6f8_Cfunc_TTF_FontFaces in 000058.o
  "_TTF_FontHeight", referenced from:
      __cgo_701b4a50c6f8_Cfunc_TTF_FontHeight in 000058.o
  "_TTF_FontLineSkip", referenced from:
      __cgo_701b4a50c6f8_Cfunc_TTF_FontLineSkip in 000058.o
  "_TTF_GetFontHinting", referenced from:
      __cgo_701b4a50c6f8_Cfunc_TTF_GetFontHinting in 000058.o
  "_TTF_GetFontKerning", referenced from:
      __cgo_701b4a50c6f8_Cfunc_TTF_GetFontKerning in 000058.o
  "_TTF_GetFontOutline", referenced from:
      __cgo_701b4a50c6f8_Cfunc_TTF_GetFontOutline in 000058.o
  "_TTF_GetFontStyle", referenced from:
      __cgo_701b4a50c6f8_Cfunc_TTF_GetFontStyle in 000058.o
  "_TTF_GlyphIsProvided", referenced from:
      __cgo_701b4a50c6f8_Cfunc_TTF_GlyphIsProvided in 000058.o
  "_TTF_GlyphMetrics", referenced from:
      __cgo_701b4a50c6f8_Cfunc_TTF_GlyphMetrics in 000058.o
  "_TTF_Init", referenced from:
      __cgo_701b4a50c6f8_Cfunc_TTF_Init in 000058.o
  "_TTF_MeasureText", referenced from:
      __cgo_701b4a50c6f8_Cfunc_TTF_MeasureText in 000058.o
  "_TTF_MeasureUNICODE", referenced from:
      __cgo_701b4a50c6f8_Cfunc_TTF_MeasureUNICODE in 000058.o
  "_TTF_MeasureUTF8", referenced from:
      __cgo_701b4a50c6f8_Cfunc_TTF_MeasureUTF8 in 000058.o
  "_TTF_OpenFont", referenced from:
      __cgo_701b4a50c6f8_Cfunc_TTF_OpenFont in 000058.o
  "_TTF_OpenFontIndex", referenced from:
      __cgo_701b4a50c6f8_Cfunc_TTF_OpenFontIndex in 000058.o
  "_TTF_OpenFontIndexRW", referenced from:
      __cgo_701b4a50c6f8_Cfunc_TTF_OpenFontIndexRW in 000058.o
  "_TTF_Quit", referenced from:
      __cgo_701b4a50c6f8_Cfunc_TTF_Quit in 000058.o
  "_TTF_RenderGlyph_Blended", referenced from:
      __cgo_701b4a50c6f8_Cfunc_TTF_RenderGlyph_Blended in 000058.o
  "_TTF_RenderGlyph_Shaded", referenced from:
      __cgo_701b4a50c6f8_Cfunc_TTF_RenderGlyph_Shaded in 000058.o
  "_TTF_RenderGlyph_Solid", referenced from:
      __cgo_701b4a50c6f8_Cfunc_TTF_RenderGlyph_Solid in 000058.o
  "_TTF_RenderUTF8_Blended", referenced from:
      __cgo_701b4a50c6f8_Cfunc_TTF_RenderUTF8_Blended in 000058.o
  "_TTF_RenderUTF8_Blended_Wrapped", referenced from:
      __cgo_701b4a50c6f8_Cfunc_TTF_RenderUTF8_Blended_Wrapped in 000058.o
  "_TTF_RenderUTF8_Shaded", referenced from:
      __cgo_701b4a50c6f8_Cfunc_TTF_RenderUTF8_Shaded in 000058.o
  "_TTF_RenderUTF8_Solid", referenced from:
      __cgo_701b4a50c6f8_Cfunc_TTF_RenderUTF8_Solid in 000058.o
  "_TTF_SetFontHinting", referenced from:
      __cgo_701b4a50c6f8_Cfunc_TTF_SetFontHinting in 000058.o
  "_TTF_SetFontKerning", referenced from:
      __cgo_701b4a50c6f8_Cfunc_TTF_SetFontKerning in 000058.o
  "_TTF_SetFontOutline", referenced from:
      __cgo_701b4a50c6f8_Cfunc_TTF_SetFontOutline in 000058.o
  "_TTF_SetFontStyle", referenced from:
      __cgo_701b4a50c6f8_Cfunc_TTF_SetFontStyle in 000058.o
  "_TTF_SizeUTF8", referenced from:
      __cgo_701b4a50c6f8_Cfunc_TTF_SizeUTF8 in 000058.o
  "_TTF_WasInit", referenced from:
      __cgo_701b4a50c6f8_Cfunc_TTF_WasInit in 000058.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
@veeableful
Copy link
Contributor

Hi @shellohunter, sorry about that! The static libraries in the master branch are still being worked on. I’m in the process of creating Makefile for it to generate the static libraries instead of the current scripts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants