Tangent128 / luasdl2

A pure C binding of SDL 2.0 for Lua 5.1, Lua 5.2, and LuaJIT.
ISC License
385 stars 74 forks source link

build issue on MAC yosemite #19

Closed lewislepton closed 9 years ago

lewislepton commented 9 years ago

i get right to the 'make' part [not even 'make install'] of the build, but it then doesnt make it. it says about something like 'SDL.so' at the end plus something else. dont know what it is. also did contact david regarding this but he doesnt know. he said it may be something to do with SDL2, maybe, but these are guesses really

– using yosemite/mac 10.10.3 – SDL2.0.3. built from source also tried the binary build from the site – have all the other SDL_image etc in my frameworks folder – also have cmake 2.8.12-2.

great if someone could help.

thanks

lepton:_build_ lepton$ make
Scanning dependencies of target common
[  2%] Building C object common/CMakeFiles/common.dir/array.c.o
[  5%] Building C object common/CMakeFiles/common.dir/common.c.o
[  8%] Building C object common/CMakeFiles/common.dir/rwops.c.o
[ 11%] Building C object common/CMakeFiles/common.dir/surface.c.o
[ 14%] Building C object common/CMakeFiles/common.dir/table.c.o
[ 17%] Building C object common/CMakeFiles/common.dir/variant.c.o
[ 20%] Building C object common/CMakeFiles/common.dir/video.c.o
Linking C static library libcommon.a
[ 20%] Built target common
Scanning dependencies of target SDL
[ 23%] Building C object CMakeFiles/SDL.dir/src/audio.c.o
[ 26%] Building C object CMakeFiles/SDL.dir/src/channel.c.o
[ 29%] Building C object CMakeFiles/SDL.dir/src/clipboard.c.o
[ 32%] Building C object CMakeFiles/SDL.dir/src/cpu.c.o
[ 35%] Building C object CMakeFiles/SDL.dir/src/display.c.o
[ 38%] Building C object CMakeFiles/SDL.dir/src/events.c.o
[ 41%] Building C object CMakeFiles/SDL.dir/src/filesystem.c.o
[ 44%] Building C object CMakeFiles/SDL.dir/src/gamecontroller.c.o
[ 47%] Building C object CMakeFiles/SDL.dir/src/gl.c.o
[ 50%] Building C object CMakeFiles/SDL.dir/src/haptic.c.o
[ 52%] Building C object CMakeFiles/SDL.dir/src/joystick.c.o
[ 55%] Building C object CMakeFiles/SDL.dir/src/keyboard.c.o
[ 58%] Building C object CMakeFiles/SDL.dir/src/logging.c.o
[ 61%] Building C object CMakeFiles/SDL.dir/src/mouse.c.o
[ 64%] Building C object CMakeFiles/SDL.dir/src/platform.c.o
[ 67%] Building C object CMakeFiles/SDL.dir/src/power.c.o
[ 70%] Building C object CMakeFiles/SDL.dir/src/rectangle.c.o
[ 73%] Building C object CMakeFiles/SDL.dir/src/renderer.c.o
[ 76%] Building C object CMakeFiles/SDL.dir/src/SDL.c.o
[ 79%] Building C object CMakeFiles/SDL.dir/src/texture.c.o
[ 82%] Building C object CMakeFiles/SDL.dir/src/thread.c.o
[ 85%] Building C object CMakeFiles/SDL.dir/src/timer.c.o
[ 88%] Building C object CMakeFiles/SDL.dir/src/window.c.o
Linking C shared module SDL.so
Undefined symbols for architecture x86_64:
  "_SDL_AddEventWatch", referenced from:
      _eventAddFilter in events.c.o
  "_SDL_AddTimer", referenced from:
      _l_addTimer in timer.c.o
  "_SDL_AllocRW", referenced from:
      _l_rw_create in libcommon.a(rwops.c.o)
  "_SDL_AtomicAdd", referenced from:
      _l_channel_get in channel.c.o
      _l_channel_gc in channel.c.o
      _l_thread_create in thread.c.o
      _destroy in thread.c.o
      _callback in thread.c.o
  "_SDL_AtomicGet", referenced from:
      _l_channel_gc in channel.c.o
      _destroy in thread.c.o
  "_SDL_AudioInit", referenced from:
      _l_audioInit in audio.c.o
  "_SDL_AudioQuit", referenced from:
      _l_audioQuit in audio.c.o
  "_SDL_BuildAudioCVT", referenced from:
      _audioGetCVT in audio.c.o
  "_SDL_ClearError", referenced from:
      _l_clearError in SDL.c.o
  "_SDL_ClearHints", referenced from:
      _l_clearHints in SDL.c.o
  "_SDL_CloseAudio", referenced from:
      _l_audiodev_gc in audio.c.o
  "_SDL_CloseAudioDevice", referenced from:
      _l_audiodev_gc in audio.c.o
  "_SDL_CondBroadcast", referenced from:
      _channelClear in channel.c.o
      _l_channel_wait in channel.c.o
      _channelWait in channel.c.o
      _channelPush in channel.c.o
      _channelPop in channel.c.o
  "_SDL_CondWait", referenced from:
      _channelWait in channel.c.o
      _channelSupply in channel.c.o
  "_SDL_ConvertAudio", referenced from:
      _l_convertAudio in audio.c.o
  "_SDL_ConvertSurfaceFormat", referenced from:
      _l_surface_convertFormat in libcommon.a(surface.c.o)
  "_SDL_CreateColorCursor", referenced from:
      _l_createColorCursor in mouse.c.o
  "_SDL_CreateCond", referenced from:
      _l_channel_get in channel.c.o
  "_SDL_CreateCursor", referenced from:
      _l_createCursor in mouse.c.o
  "_SDL_CreateMutex", referenced from:
      _l_channel_get in channel.c.o
      _luaopen_SDL in SDL.c.o
  "_SDL_CreateRGBSurface", referenced from:
      _l_surface_createRGB in libcommon.a(surface.c.o)
  "_SDL_CreateRenderer", referenced from:
      _l_createRenderer in renderer.c.o
  "_SDL_CreateSoftwareRenderer", referenced from:
      _l_createSoftwareRenderer in renderer.c.o
  "_SDL_CreateTexture", referenced from:
      _l_renderer_createTexture in renderer.c.o
  "_SDL_CreateTextureFromSurface", referenced from:
      _l_renderer_createTextureFromSuface in renderer.c.o
  "_SDL_CreateThread", referenced from:
      _l_thread_create in thread.c.o
  "_SDL_CreateWindow", referenced from:
      _l_createWindow in window.c.o
  "_SDL_DelEventWatch", referenced from:
      _l_filter_gc in events.c.o
  "_SDL_Delay", referenced from:
      _l_delay in timer.c.o
  "_SDL_DestroyCond", referenced from:
      _l_channel_get in channel.c.o
  "_SDL_DestroyMutex", referenced from:
      _l_channel_get in channel.c.o
  "_SDL_DestroyRenderer", referenced from:
      _l_renderer_gc in renderer.c.o
  "_SDL_DestroyTexture", referenced from:
      _l_texture_gc in texture.c.o
  "_SDL_DestroyWindow", referenced from:
      _l_window_gc in window.c.o
  "_SDL_DetachThread", referenced from:
      _l_thread_gc in thread.c.o
  "_SDL_DisableScreenSaver", referenced from:
      _l_video_disableScreenSaver in display.c.o
  "_SDL_EnableScreenSaver", referenced from:
      _l_video_enableScreenSaver in display.c.o
  "_SDL_EnclosePoints", referenced from:
      _l_enclosePoints in rectangle.c.o
  "_SDL_EventState", referenced from:
      _l_event_eventState in events.c.o
  "_SDL_FillRect", referenced from:
      _l_surface_fillRect in libcommon.a(surface.c.o)
  "_SDL_FillRects", referenced from:
      _l_surface_fillRects in libcommon.a(surface.c.o)
  "_SDL_FilterEvents", referenced from:
      _l_event_filterEvents in events.c.o
  "_SDL_FlushEvent", referenced from:
      _l_event_flushEvent in events.c.o
  "_SDL_FlushEvents", referenced from:
      _l_event_flushEvents in events.c.o
  "_SDL_FreeCursor", referenced from:
      _l_cursor_gc in mouse.c.o
  "_SDL_FreeRW", referenced from:
      _l_rw_create in libcommon.a(rwops.c.o)
      _l_rw_gc in libcommon.a(rwops.c.o)
  "_SDL_FreeSurface", referenced from:
      _l_surface_gc in libcommon.a(surface.c.o)
  "_SDL_GL_CreateContext", referenced from:
      _l_glCreateContext in gl.c.o
  "_SDL_GL_DeleteContext", referenced from:
      _l_glDeleteContext in gl.c.o
  "_SDL_GL_ExtensionSupported", referenced from:
      _l_glExtensionSupported in gl.c.o
  "_SDL_GL_GetAttribute", referenced from:
      _l_glGetAttribute in gl.c.o
  "_SDL_GL_GetCurrentContext", referenced from:
      _l_glGetCurrentContext in gl.c.o
  "_SDL_GL_GetCurrentWindow", referenced from:
      _l_glGetCurrentWindow in gl.c.o
  "_SDL_GL_GetDrawableSize", referenced from:
      _l_glGetDrawableSize in gl.c.o
  "_SDL_GL_GetSwapInterval", referenced from:
      _l_glGetSwapInterval in gl.c.o
  "_SDL_GL_MakeCurrent", referenced from:
      _l_glMakeCurrent in gl.c.o
  "_SDL_GL_SetAttribute", referenced from:
      _l_glSetAttribute in gl.c.o
  "_SDL_GL_SetSwapInterval", referenced from:
      _l_glSetSwapInterval in gl.c.o
  "_SDL_GL_SwapWindow", referenced from:
      _l_glSwapWindow in gl.c.o
  "_SDL_GameControllerAddMapping", referenced from:
      _l_gameControllerAddMapping in gamecontroller.c.o
  "_SDL_GameControllerClose", referenced from:
      _l_gamectl_gc in gamecontroller.c.o
  "_SDL_GameControllerGetAttached", referenced from:
      _l_gamectl_tostring in gamecontroller.c.o
      _l_gamectl_getAttached in gamecontroller.c.o
  "_SDL_GameControllerName", referenced from:
      _l_gamectl_tostring in gamecontroller.c.o
      _l_gamectl_name in gamecontroller.c.o
  "_SDL_GameControllerNameForIndex", referenced from:
      _l_gameControllerNameForIndex in gamecontroller.c.o
  "_SDL_GameControllerOpen", referenced from:
      _l_gameControllerOpen in gamecontroller.c.o
  "_SDL_GetAudioDeviceName", referenced from:
      _l_getAudioDeviceName in audio.c.o
  "_SDL_GetAudioDeviceStatus", referenced from:
      _l_audiodev_tostring in audio.c.o
      _l_audiodev_status in audio.c.o
  "_SDL_GetAudioDriver", referenced from:
      _l_getAudioDriver in audio.c.o
  "_SDL_GetAudioStatus", referenced from:
      _l_getAudioStatus in audio.c.o
      _l_audiodev_status in audio.c.o
  "_SDL_GetBasePath", referenced from:
      _l_getBasePath in filesystem.c.o
  "_SDL_GetCPUCacheLineSize", referenced from:
      _l_cpu_getCacheLineSize in cpu.c.o
  "_SDL_GetCPUCount", referenced from:
      _l_cpu_getCount in cpu.c.o
  "_SDL_GetClipRect", referenced from:
      _l_surface_getClipRect in libcommon.a(surface.c.o)
      _surfaceBlit in libcommon.a(surface.c.o)
  "_SDL_GetClipboardText", referenced from:
      _l_video_getClipboardText in clipboard.c.o
  "_SDL_GetClosestDisplayMode", referenced from:
      _l_video_getClosestDisplayMode in display.c.o
  "_SDL_GetColorKey", referenced from:
      _l_surface_getColorKey in libcommon.a(surface.c.o)
  "_SDL_GetCurrentAudioDriver", referenced from:
      _l_getCurrentAudioDriver in audio.c.o
  "_SDL_GetCurrentDisplayMode", referenced from:
      _l_video_getCurrentDisplayMode in display.c.o
  "_SDL_GetCurrentVideoDriver", referenced from:
      _l_video_getCurrentVideoDriver in display.c.o
  "_SDL_GetCursor", referenced from:
      _l_getCursor in mouse.c.o
  "_SDL_GetDesktopDisplayMode", referenced from:
      _l_video_getDesktopDisplayMode in display.c.o
  "_SDL_GetDisplayBounds", referenced from:
      _l_video_getDisplayBounds in display.c.o
  "_SDL_GetDisplayMode", referenced from:
      _l_video_getDisplayMode in display.c.o
  "_SDL_GetError", referenced from:
      _luaopen_SDL in SDL.c.o
      _l_getError in SDL.c.o
      _l_texture_tostring in texture.c.o
      _l_rw_read in libcommon.a(rwops.c.o)
      _l_rw_write in libcommon.a(rwops.c.o)
      _commonPushSDLError in libcommon.a(common.c.o)
  "_SDL_GetHint", referenced from:
      _l_getHint in SDL.c.o
  "_SDL_GetKeyFromName", referenced from:
      _l_getKeyFromName in keyboard.c.o
  "_SDL_GetKeyFromScancode", referenced from:
      _l_getKeyFromScancode in keyboard.c.o
  "_SDL_GetKeyName", referenced from:
      _l_getKeyName in keyboard.c.o
  "_SDL_GetKeyboardFocus", referenced from:
      _l_getKeyboardFocus in keyboard.c.o
  "_SDL_GetKeyboardState", referenced from:
      _keysIndex in keyboard.c.o
  "_SDL_GetModState", referenced from:
      _l_getModState in keyboard.c.o
  "_SDL_GetMouseFocus", referenced from:
      _l_getMouseFocus in mouse.c.o
  "_SDL_GetMouseState", referenced from:
      _l_getMouseState in mouse.c.o
  "_SDL_GetNumAudioDevices", referenced from:
      _l_getNumAudioDevices in audio.c.o
  "_SDL_GetNumAudioDrivers", referenced from:
      _l_getNumAudioDrivers in audio.c.o
  "_SDL_GetNumDisplayModes", referenced from:
      _l_video_getNumDisplayModes in display.c.o
  "_SDL_GetNumRenderDrivers", referenced from:
      _l_getNumRenderDrivers in renderer.c.o
  "_SDL_GetNumVideoDisplays", referenced from:
      _l_video_getNumVideoDisplays in display.c.o
  "_SDL_GetNumVideoDrivers", referenced from:
      _l_video_getNumVideoDrivers in display.c.o
  "_SDL_GetPerformanceCounter", referenced from:
      _l_getPerformanceCounter in timer.c.o
  "_SDL_GetPerformanceFrequency", referenced from:
      _l_getPerformanceFrequency in timer.c.o
  "_SDL_GetPlatform", referenced from:
      _l_getPlatform in platform.c.o
  "_SDL_GetPowerInfo", referenced from:
      _l_getPowerInfo in power.c.o
  "_SDL_GetPrefPath", referenced from:
      _l_getPrefPath in filesystem.c.o
  "_SDL_GetRelativeMouseMode", referenced from:
      _l_getRelativeMouseMode in mouse.c.o
  "_SDL_GetRelativeMouseState", referenced from:
      _l_getRelativeMouseState in mouse.c.o
  "_SDL_GetRenderDrawBlendMode", referenced from:
      _l_renderer_getDrawBlendMode in renderer.c.o
  "_SDL_GetRenderDrawColor", referenced from:
      _l_renderer_getDrawColor in renderer.c.o
  "_SDL_GetRenderDriverInfo", referenced from:
      _l_getRenderDriverInfo in renderer.c.o
  "_SDL_GetRendererInfo", referenced from:
      _l_renderer_tostring in renderer.c.o
      _l_renderer_getInfo in renderer.c.o
  "_SDL_GetScancodeFromKey", referenced from:
      _l_getScancodeFromKey in keyboard.c.o
  "_SDL_GetScancodeFromName", referenced from:
      _l_getScancodeFromName in keyboard.c.o
  "_SDL_GetScancodeName", referenced from:
      _l_getScancodeName in keyboard.c.o
  "_SDL_GetSurfaceAlphaMod", referenced from:
      _l_surface_getAlphaMod in libcommon.a(surface.c.o)
  "_SDL_GetSurfaceBlendMode", referenced from:
      _l_surface_getBlendMode in libcommon.a(surface.c.o)
  "_SDL_GetSurfaceColorMod", referenced from:
      _l_surface_getColorMod in libcommon.a(surface.c.o)
  "_SDL_GetTextureAlphaMod", referenced from:
      _l_texture_getAlphaMod in texture.c.o
  "_SDL_GetTextureBlendMode", referenced from:
      _l_texture_getBlendMode in texture.c.o
  "_SDL_GetTextureColorMod", referenced from:
      _l_texture_getColorMod in texture.c.o
  "_SDL_GetThreadID", referenced from:
      _l_thread_tostring in thread.c.o
      _l_thread_getId in thread.c.o
  "_SDL_GetThreadName", referenced from:
      _l_thread_getName in thread.c.o
  "_SDL_GetTicks", referenced from:
      _l_getTicks in timer.c.o
  "_SDL_GetVersion", referenced from:
      _luaopen_SDL in SDL.c.o
  "_SDL_GetVideoDriver", referenced from:
      _l_video_getVideoDriver in display.c.o
  "_SDL_GetWindowBrightness", referenced from:
      _l_window_getBrightness in window.c.o
  "_SDL_GetWindowDisplayIndex", referenced from:
      _l_window_getDisplayIndex in window.c.o
  "_SDL_GetWindowDisplayMode", referenced from:
      _l_window_getDisplayMode in window.c.o
  "_SDL_GetWindowFlags", referenced from:
      _l_window_getFlags in window.c.o
  "_SDL_GetWindowGammaRamp", referenced from:
      _l_window_getGammaRamp in window.c.o
  "_SDL_GetWindowGrab", referenced from:
      _l_window_getGrab in window.c.o
  "_SDL_GetWindowID", referenced from:
      _l_window_getID in window.c.o
  "_SDL_GetWindowMaximumSize", referenced from:
      _l_window_getMaximumSize in window.c.o
  "_SDL_GetWindowMinimumSize", referenced from:
      _l_window_getMinimumSize in window.c.o
  "_SDL_GetWindowPixelFormat", referenced from:
      _l_window_getPixelFormat in window.c.o
  "_SDL_GetWindowPosition", referenced from:
      _l_window_getPosition in window.c.o
  "_SDL_GetWindowSize", referenced from:
      _l_window_tostring in window.c.o
      _l_window_getSize in window.c.o
  "_SDL_GetWindowSurface", referenced from:
      _l_window_getSurface in window.c.o
  "_SDL_GetWindowTitle", referenced from:
      _l_window_tostring in window.c.o
      _l_window_getTitle in window.c.o
  "_SDL_HapticClose", referenced from:
      _l_haptic_gc in haptic.c.o
  "_SDL_HapticDestroyEffect", referenced from:
      _l_haptic_destroyEffect in haptic.c.o
  "_SDL_HapticEffectSupported", referenced from:
      _l_haptic_effectSupported in haptic.c.o
  "_SDL_HapticGetEffectStatus", referenced from:
      _l_haptic_getEffectStatus in haptic.c.o
  "_SDL_HapticIndex", referenced from:
      _l_haptic_index in haptic.c.o
  "_SDL_HapticNewEffect", referenced from:
      _l_haptic_newEffect in haptic.c.o
  "_SDL_HapticNumAxes", referenced from:
      _l_haptic_numAxes in haptic.c.o
  "_SDL_HapticNumEffects", referenced from:
      _l_haptic_numEffects in haptic.c.o
  "_SDL_HapticNumEffectsPlaying", referenced from:
      _l_haptic_numEffectsPlaying in haptic.c.o
  "_SDL_HapticOpen", referenced from:
      _l_hapticOpen in haptic.c.o
  "_SDL_HapticOpenFromJoystick", referenced from:
      _l_hapticOpenFromJoystick in haptic.c.o
  "_SDL_HapticOpenFromMouse", referenced from:
      _l_hapticOpenFromMouse in haptic.c.o
  "_SDL_HapticOpened", referenced from:
      _l_hapticOpened in haptic.c.o
  "_SDL_HapticPause", referenced from:
      _l_haptic_pause in haptic.c.o
  "_SDL_HapticRumbleInit", referenced from:
      _l_haptic_rumbleInit in haptic.c.o
  "_SDL_HapticRumblePlay", referenced from:
      _l_haptic_rumblePlay in haptic.c.o
  "_SDL_HapticRumbleStop", referenced from:
      _l_haptic_rumbleStop in haptic.c.o
  "_SDL_HapticRumbleSupported", referenced from:
      _l_haptic_rumbleSupported in haptic.c.o
  "_SDL_HapticRunEffect", referenced from:
      _l_haptic_runEffect in haptic.c.o
  "_SDL_HapticSetAutocenter", referenced from:
      _l_haptic_setAutocenter in haptic.c.o
  "_SDL_HapticSetGain", referenced from:
      _l_haptic_setGain in haptic.c.o
  "_SDL_HapticStopAll", referenced from:
      _l_haptic_stopAll in haptic.c.o
  "_SDL_HapticStopEffect", referenced from:
      _l_haptic_stopEffect in haptic.c.o
  "_SDL_HapticUnpause", referenced from:
      _l_haptic_unpause in haptic.c.o
  "_SDL_HapticUpdateEffect", referenced from:
      _l_haptic_updateEffect in haptic.c.o
  "_SDL_Has3DNow", referenced from:
      _l_cpu_has3DNow in cpu.c.o
  "_SDL_HasAltiVec", referenced from:
      _l_cpu_hasAltiVec in cpu.c.o
  "_SDL_HasClipboardText", referenced from:
      _l_video_hasClipboardText in clipboard.c.o
  "_SDL_HasEvent", referenced from:
      _l_event_hasEvent in events.c.o
  "_SDL_HasEvents", referenced from:
      _l_event_hasEvents in events.c.o
  "_SDL_HasIntersection", referenced from:
      _l_hasIntersection in rectangle.c.o
  "_SDL_HasMMX", referenced from:
      _l_cpu_hasMMX in cpu.c.o
  "_SDL_HasRDTSC", referenced from:
      _l_cpu_hasRDTSC in cpu.c.o
  "_SDL_HasSSE", referenced from:
      _l_cpu_hasSSE in cpu.c.o
  "_SDL_HasSSE2", referenced from:
      _l_cpu_hasSSE2 in cpu.c.o
  "_SDL_HasSSE41", referenced from:
      _l_cpu_hasSSE41 in cpu.c.o
  "_SDL_HasSSE42", referenced from:
      _l_cpu_hasSSE42 in cpu.c.o
  "_SDL_HideWindow", referenced from:
      _l_window_hide in window.c.o
  "_SDL_Init", referenced from:
      _l_init in SDL.c.o
  "_SDL_InitSubSystem", referenced from:
      _l_initSubSystem in SDL.c.o
  "_SDL_IntersectRect", referenced from:
      _l_intersectRect in rectangle.c.o
  "_SDL_IntersectRectAndLine", referenced from:
      _l_intersectRectAndLine in rectangle.c.o
  "_SDL_IsGameController", referenced from:
      _l_isGameController in gamecontroller.c.o
  "_SDL_IsScreenSaverEnabled", referenced from:
      _l_video_isScreenSaverLoaded in display.c.o
  "_SDL_JoystickClose", referenced from:
      _l_joystick_gc in joystick.c.o
  "_SDL_JoystickEventState", referenced from:
      _l_joystickEventState in joystick.c.o
  "_SDL_JoystickGetAttached", referenced from:
      _l_joystick_tostring in joystick.c.o
      _l_joystick_getAttached in joystick.c.o
  "_SDL_JoystickGetAxis", referenced from:
      _l_joystick_getAxis in joystick.c.o
  "_SDL_JoystickGetBall", referenced from:
      _l_joystick_getBall in joystick.c.o
  "_SDL_JoystickGetButton", referenced from:
      _l_joystick_getButton in joystick.c.o
  "_SDL_JoystickGetHat", referenced from:
      _l_joystick_getHat in joystick.c.o
  "_SDL_JoystickInstanceID", referenced from:
      _l_joystick_tostring in joystick.c.o
      _l_joystick_instanceID in joystick.c.o
  "_SDL_JoystickIsHaptic", referenced from:
      _l_joystickIsHaptic in haptic.c.o
  "_SDL_JoystickName", referenced from:
      _l_joystick_tostring in joystick.c.o
      _l_joystick_name in joystick.c.o
  "_SDL_JoystickNameForIndex", referenced from:
      _l_joystickNameForIndex in joystick.c.o
  "_SDL_JoystickNumAxes", referenced from:
      _l_joystick_tostring in joystick.c.o
      _l_joystick_numAxes in joystick.c.o
  "_SDL_JoystickNumBalls", referenced from:
      _l_joystick_tostring in joystick.c.o
      _l_joystick_numBalls in joystick.c.o
  "_SDL_JoystickNumButtons", referenced from:
      _l_joystick_tostring in joystick.c.o
      _l_joystick_numButtons in joystick.c.o
  "_SDL_JoystickNumHats", referenced from:
      _l_joystick_tostring in joystick.c.o
      _l_joystick_numHats in joystick.c.o
  "_SDL_JoystickOpen", referenced from:
      _l_joystickOpen in joystick.c.o
  "_SDL_JoystickUpdate", referenced from:
      _l_joystickUpdate in joystick.c.o
  "_SDL_LoadBMP_RW", referenced from:
      _l_surface_loadBMP in libcommon.a(surface.c.o)
      _l_surface_loadBMP_RW in libcommon.a(surface.c.o)
  "_SDL_LoadWAV_RW", referenced from:
      _loadWAV in audio.c.o
  "_SDL_LockAudio", referenced from:
      _l_audiodev_lock in audio.c.o
  "_SDL_LockAudioDevice", referenced from:
      _l_audiodev_lock in audio.c.o
  "_SDL_LockMutex", referenced from:
      _l_channel_get in channel.c.o
      _channelClear in channel.c.o
      _channelWait in channel.c.o
      _channelSupply in channel.c.o
      _channelPush in channel.c.o
      _channelPop in channel.c.o
      _channelLast in channel.c.o
      ...
  "_SDL_LockSurface", referenced from:
      _l_surface_lock in libcommon.a(surface.c.o)
  "_SDL_Log", referenced from:
      _l_log in logging.c.o
  "_SDL_LogCritical", referenced from:
      _audioCallback in audio.c.o
      _l_logCritical in logging.c.o
      _callback in thread.c.o
      _timerCallback in timer.c.o
  "_SDL_LogDebug", referenced from:
      _l_logDebug in logging.c.o
  "_SDL_LogError", referenced from:
      _l_logError in logging.c.o
  "_SDL_LogGetPriority", referenced from:
      _l_logGetPriority in logging.c.o
  "_SDL_LogInfo", referenced from:
      _l_logInfo in logging.c.o
  "_SDL_LogMessage", referenced from:
      _l_logMessage in logging.c.o
  "_SDL_LogResetPriorities", referenced from:
      _l_logResetPriorities in logging.c.o
  "_SDL_LogSetAllPriority", referenced from:
      _l_logSetAllPriority in logging.c.o
  "_SDL_LogSetOutputFunction", referenced from:
      _l_logSetOutputFunction in logging.c.o
  "_SDL_LogSetPriority", referenced from:
      _l_logSetPriority in logging.c.o
  "_SDL_LogVerbose", referenced from:
      _l_logVerbose in logging.c.o
  "_SDL_LogWarn", referenced from:
      _l_logWarn in logging.c.o
  "_SDL_LowerBlit", referenced from:
      _surfaceBlit in libcommon.a(surface.c.o)
  "_SDL_LowerBlitScaled", referenced from:
      _surfaceBlit in libcommon.a(surface.c.o)
  "_SDL_MaximizeWindow", referenced from:
      _l_window_maximize in window.c.o
  "_SDL_MinimizeWindow", referenced from:
      _l_window_minimize in window.c.o
  "_SDL_MixAudio", referenced from:
      _mixAudio in audio.c.o
  "_SDL_MixAudioFormat", referenced from:
      _mixAudio in audio.c.o
  "_SDL_MouseIsHaptic", referenced from:
      _l_mouseIsHaptic in haptic.c.o
  "_SDL_NumHaptics", referenced from:
      _l_numHaptics in haptic.c.o
  "_SDL_NumJoysticks", referenced from:
      _l_numJoysticks in joystick.c.o
  "_SDL_OpenAudio", referenced from:
      _openAudio in audio.c.o
  "_SDL_OpenAudioDevice", referenced from:
      _openAudio in audio.c.o
  "_SDL_PauseAudio", referenced from:
      _l_audiodev_pause in audio.c.o
  "_SDL_PauseAudioDevice", referenced from:
      _l_audiodev_pause in audio.c.o
  "_SDL_PeepEvents", referenced from:
      _l_event_peepEvents in events.c.o
      _l_event_quitRequested in events.c.o
  "_SDL_PollEvent", referenced from:
      _eventIterator in events.c.o
  "_SDL_PumpEvents", referenced from:
      _l_event_pumpEvents in events.c.o
      _l_event_quitRequested in events.c.o
  "_SDL_QueryTexture", referenced from:
      _l_texture_query in texture.c.o
      _l_texture_tostring in texture.c.o
  "_SDL_Quit", referenced from:
      _l_quit in SDL.c.o
  "_SDL_QuitSubSystem", referenced from:
      _l_quitSubSystem in SDL.c.o
  "_SDL_RWFromFile", referenced from:
      _loadWAV in audio.c.o
      _l_surface_loadBMP in libcommon.a(surface.c.o)
      _l_surface_saveBMP in libcommon.a(surface.c.o)
      _l_rw_fromFile in libcommon.a(rwops.c.o)
  "_SDL_RaiseWindow", referenced from:
      _l_window_raise in window.c.o
  "_SDL_ReadBE16", referenced from:
      _rw_read16 in libcommon.a(rwops.c.o)
  "_SDL_ReadBE32", referenced from:
      _rw_read32 in libcommon.a(rwops.c.o)
  "_SDL_ReadLE16", referenced from:
      _rw_read16 in libcommon.a(rwops.c.o)
  "_SDL_ReadLE32", referenced from:
      _rw_read32 in libcommon.a(rwops.c.o)
  "_SDL_RegisterEvents", referenced from:
      _l_event_registerEvents in events.c.o
  "_SDL_RemoveTimer", referenced from:
      _l_timer_gc in timer.c.o
      _l_timer_remove in timer.c.o
  "_SDL_RenderClear", referenced from:
      _l_renderer_clear in renderer.c.o
  "_SDL_RenderCopy", referenced from:
      _l_renderer_copy in renderer.c.o
  "_SDL_RenderCopyEx", referenced from:
      _l_renderer_copyEx in renderer.c.o
  "_SDL_RenderDrawLine", referenced from:
      _l_renderer_drawLine in renderer.c.o
  "_SDL_RenderDrawLines", referenced from:
      _l_renderer_drawLines in renderer.c.o
  "_SDL_RenderDrawPoint", referenced from:
      _l_renderer_drawPoint in renderer.c.o
  "_SDL_RenderDrawPoints", referenced from:
      _l_renderer_drawPoints in renderer.c.o
  "_SDL_RenderDrawRect", referenced from:
      _rendererDrawOrFillRect in renderer.c.o
  "_SDL_RenderDrawRects", referenced from:
      _rendererDrawOrFillRects in renderer.c.o
  "_SDL_RenderFillRect", referenced from:
      _rendererDrawOrFillRect in renderer.c.o
  "_SDL_RenderFillRects", referenced from:
      _rendererDrawOrFillRects in renderer.c.o
  "_SDL_RenderGetClipRect", referenced from:
      _l_renderer_getClipRect in renderer.c.o
  "_SDL_RenderGetLogicalSize", referenced from:
      _l_renderer_getLogicalSize in renderer.c.o
  "_SDL_RenderGetViewport", referenced from:
      _l_renderer_getViewport in renderer.c.o
  "_SDL_RenderPresent", referenced from:
      _l_renderer_present in renderer.c.o
  "_SDL_RenderSetClipRect", referenced from:
      _l_renderer_setClipRect in renderer.c.o
  "_SDL_RenderSetLogicalSize", referenced from:
      _l_renderer_setLogicalSize in renderer.c.o
  "_SDL_RenderSetViewport", referenced from:
      _l_renderer_setViewport in renderer.c.o
  "_SDL_RestoreWindow", referenced from:
      _l_window_restore in window.c.o
  "_SDL_SaveBMP_RW", referenced from:
      _l_surface_saveBMP in libcommon.a(surface.c.o)
      _l_surface_saveBMP_RW in libcommon.a(surface.c.o)
  "_SDL_SetClipRect", referenced from:
      _l_surface_setClipRect in libcommon.a(surface.c.o)
  "_SDL_SetClipboardText", referenced from:
      _l_video_setClipboardText in clipboard.c.o
  "_SDL_SetColorKey", referenced from:
      _l_surface_setColorKey in libcommon.a(surface.c.o)
  "_SDL_SetCursor", referenced from:
      _l_setCursor in mouse.c.o
  "_SDL_SetError", referenced from:
      _l_setError in SDL.c.o
      _l_rw_create in libcommon.a(rwops.c.o)
  "_SDL_SetEventFilter", referenced from:
      _l_filter_gc in events.c.o
      _eventAddFilter in events.c.o
  "_SDL_SetHint", referenced from:
      _l_setHint in SDL.c.o
  "_SDL_SetModState", referenced from:
      _l_setModState in keyboard.c.o
  "_SDL_SetRelativeMouseMode", referenced from:
      _l_setRelativeMouseMode in mouse.c.o
  "_SDL_SetRenderDrawBlendMode", referenced from:
      _l_renderer_setDrawBlendMode in renderer.c.o
  "_SDL_SetRenderDrawColor", referenced from:
      _l_renderer_setDrawColor in renderer.c.o
  "_SDL_SetRenderTarget", referenced from:
      _l_renderer_setTarget in renderer.c.o
  "_SDL_SetSurfaceAlphaMod", referenced from:
      _l_surface_setAlphaMod in libcommon.a(surface.c.o)
  "_SDL_SetSurfaceBlendMode", referenced from:
      _l_surface_setBlendMode in libcommon.a(surface.c.o)
  "_SDL_SetSurfaceColorMod", referenced from:
      _l_surface_setColorMod in libcommon.a(surface.c.o)
  "_SDL_SetSurfacePalette", referenced from:
      _l_surface_setPalette in libcommon.a(surface.c.o)
  "_SDL_SetSurfaceRLE", referenced from:
      _l_surface_setRLE in libcommon.a(surface.c.o)
  "_SDL_SetTextInputRect", referenced from:
      _l_setTextInputRect in keyboard.c.o
  "_SDL_SetTextureAlphaMod", referenced from:
      _l_texture_setAlphaMod in texture.c.o
  "_SDL_SetTextureBlendMode", referenced from:
      _l_texture_setBlendMode in texture.c.o
  "_SDL_SetTextureColorMod", referenced from:
      _l_texture_setColorMod in texture.c.o
  "_SDL_SetWindowBrightness", referenced from:
      _l_window_setBrightness in window.c.o
  "_SDL_SetWindowDisplayMode", referenced from:
      _l_window_setDisplayMode in window.c.o
  "_SDL_SetWindowFullscreen", referenced from:
      _l_window_setFullscreen in window.c.o
  "_SDL_SetWindowGammaRamp", referenced from:
      _l_window_setGammaRamp in window.c.o
  "_SDL_SetWindowGrab", referenced from:
      _l_window_setGrab in window.c.o
  "_SDL_SetWindowIcon", referenced from:
      _l_window_setIcon in window.c.o
  "_SDL_SetWindowMaximumSize", referenced from:
      _l_window_setMaximumSize in window.c.o
  "_SDL_SetWindowMinimumSize", referenced from:
      _l_window_setMinimumSize in window.c.o
  "_SDL_SetWindowPosition", referenced from:
      _l_window_setPosition in window.c.o
  "_SDL_SetWindowSize", referenced from:
      _l_window_setSize in window.c.o
  "_SDL_SetWindowTitle", referenced from:
      _l_window_setTitle in window.c.o
  "_SDL_ShowCursor", referenced from:
      _l_showCursor in mouse.c.o
  "_SDL_ShowWindow", referenced from:
      _l_window_show in window.c.o
  "_SDL_StartTextInput", referenced from:
      _l_startTextInput in keyboard.c.o
  "_SDL_StopTextInput", referenced from:
      _l_stopTextInput in keyboard.c.o
  "_SDL_UnionRect", referenced from:
      _l_unionRect in rectangle.c.o
  "_SDL_UnlockAudio", referenced from:
      _l_audiodev_unlock in audio.c.o
  "_SDL_UnlockAudioDevice", referenced from:
      _l_audiodev_unlock in audio.c.o
  "_SDL_UnlockMutex", referenced from:
      _l_channel_get in channel.c.o
      _channelClear in channel.c.o
      _channelWait in channel.c.o
      _channelPush in channel.c.o
      _channelPop in channel.c.o
      _channelLast in channel.c.o
      _channelFirst in channel.c.o
      ...
  "_SDL_UnlockSurface", referenced from:
      _l_surface_unlock in libcommon.a(surface.c.o)
  "_SDL_UnlockTexture", referenced from:
      _l_texture_unlock in texture.c.o
  "_SDL_UpdateWindowSurface", referenced from:
      _l_window_updateSurface in window.c.o
  "_SDL_UpdateWindowSurfaceRects", referenced from:
      _l_window_updateSurfaceRects in window.c.o
  "_SDL_UpperBlit", referenced from:
      _surfaceBlit in libcommon.a(surface.c.o)
  "_SDL_UpperBlitScaled", referenced from:
      _surfaceBlit in libcommon.a(surface.c.o)
  "_SDL_VideoInit", referenced from:
      _l_video_init in display.c.o
  "_SDL_VideoQuit", referenced from:
      _l_video_quit in display.c.o
  "_SDL_WaitEvent", referenced from:
      _l_event_waitEvent in events.c.o
  "_SDL_WaitEventTimeout", referenced from:
      _l_event_waitEvent in events.c.o
  "_SDL_WaitThread", referenced from:
      _l_thread_wait in thread.c.o
  "_SDL_WarpMouseInWindow", referenced from:
      _l_window_warpMouse in window.c.o
  "_SDL_WasInit", referenced from:
      _l_wasInit in SDL.c.o
  "_SDL_WriteBE16", referenced from:
      _rw_write16 in libcommon.a(rwops.c.o)
  "_SDL_WriteBE32", referenced from:
      _rw_write32 in libcommon.a(rwops.c.o)
  "_SDL_WriteLE16", referenced from:
      _rw_write16 in libcommon.a(rwops.c.o)
  "_SDL_WriteLE32", referenced from:
      _rw_write32 in libcommon.a(rwops.c.o)
  "_SDL_free", referenced from:
      _l_video_getClipboardText in clipboard.c.o
      _pushDropFile in events.c.o
      _l_getBasePath in filesystem.c.o
      _l_getPrefPath in filesystem.c.o
  "_SDL_memset", referenced from:
      _getDirection in haptic.c.o
  "_luaL_checkinteger", referenced from:
      _l_getAudioDeviceName in audio.c.o
      _l_getAudioDriver in audio.c.o
      _mixAudio in audio.c.o
      _l_video_getClosestDisplayMode in display.c.o
      _l_video_getCurrentDisplayMode in display.c.o
      _l_video_getDesktopDisplayMode in display.c.o
      _l_video_getDisplayBounds in display.c.o
      ...
  "_luaL_checklstring", referenced from:
      _l_audioInit in audio.c.o
      _openAudio in audio.c.o
      _mixAudio in audio.c.o
      _loadWAV in audio.c.o
      _l_channel_get in channel.c.o
      _l_video_setClipboardText in clipboard.c.o
      _l_video_init in display.c.o
      ...
  "_luaL_checknumber", referenced from:
      _l_haptic_rumblePlay in haptic.c.o
      _l_window_setBrightness in window.c.o
  "_luaL_checktype", referenced from:
      _audioGetCVT in audio.c.o
      _openAudio in audio.c.o
      _l_event_filterEvents in events.c.o
      _eventAddFilter in events.c.o
      _getEffect in haptic.c.o
      _l_logSetOutputFunction in logging.c.o
      _l_enclosePoints in rectangle.c.o
      ...
  "_luaL_checkudata", referenced from:
      _commonGetUserdata in libcommon.a(common.c.o)
      _tableGetUserdata in libcommon.a(table.c.o)
  "_luaL_error", referenced from:
      _audioGetCVT in audio.c.o
      _getEffect in haptic.c.o
      _getConstant in haptic.c.o
      _getPeriodic in haptic.c.o
      _getCondition in haptic.c.o
      _getRamp in haptic.c.o
      _keysIndex in keyboard.c.o
      ...
  "_luaL_loadfilex", referenced from:
      _openAudio in audio.c.o
      _loadfile in thread.c.o
  "_luaL_newmetatable", referenced from:
      _commonBindObject in libcommon.a(common.c.o)
  "_luaL_newstate", referenced from:
      _openAudio in audio.c.o
      _l_thread_create in thread.c.o
      _l_addTimer in timer.c.o
  "_luaL_openlibs", referenced from:
      _openAudio in audio.c.o
      _l_thread_create in thread.c.o
      _l_addTimer in timer.c.o
  "_luaL_optinteger", referenced from:
      _l_glSetSwapInterval in gl.c.o
  "_luaL_ref", referenced from:
      _openAudio in audio.c.o
      _l_event_filterEvents in events.c.o
      _eventAddFilter in events.c.o
      _l_logSetOutputFunction in logging.c.o
      _l_addTimer in timer.c.o
      _l_rw_create in libcommon.a(rwops.c.o)
  "_luaL_setfuncs", referenced from:
      _commonBindObject in libcommon.a(common.c.o)
      _commonBindLibrary in libcommon.a(common.c.o)
      _commonNewLibrary in libcommon.a(common.c.o)
  "_luaL_setmetatable", referenced from:
      _commonPushUserdata in libcommon.a(common.c.o)
  "_luaL_unref", referenced from:
      _openAudio in audio.c.o
      _l_event_filterEvents in events.c.o
      _l_filter_gc in events.c.o
      _l_logSetOutputFunction in logging.c.o
      _l_rw_create in libcommon.a(rwops.c.o)
      _l_rw_gc in libcommon.a(rwops.c.o)
  "_lua_callk", referenced from:
      _eventFilter in events.c.o
      _loggingCustomOutput in logging.c.o
      _rw_size in libcommon.a(rwops.c.o)
      _rw_seek in libcommon.a(rwops.c.o)
      _rw_read in libcommon.a(rwops.c.o)
      _rw_write in libcommon.a(rwops.c.o)
      _rw_close in libcommon.a(rwops.c.o)
      ...
  "_lua_close", referenced from:
      _l_audiodev_gc in audio.c.o
      _openAudio in audio.c.o
      _l_thread_create in thread.c.o
      _destroy in thread.c.o
      _l_addTimer in timer.c.o
      _l_timer_gc in timer.c.o
  "_lua_createtable", referenced from:
      _audioPushCVT in audio.c.o
      _loadWAV in audio.c.o
      _l_event_peepEvents in events.c.o
      _eventPush in events.c.o
      _pushKey in events.c.o
      _l_getKeyboardState in keyboard.c.o
      _pushRendererInfo in renderer.c.o
      ...
  "_lua_dump", referenced from:
      _loadfunction in thread.c.o
  "_lua_getfield", referenced from:
      _getConstant in haptic.c.o
      _getPeriodic in haptic.c.o
      _getCondition in haptic.c.o
      _getRamp in haptic.c.o
      _getDirection in haptic.c.o
      _l_renderer_copyEx in renderer.c.o
      _l_rw_create in libcommon.a(rwops.c.o)
      ...
  "_lua_gettop", referenced from:
      _mixAudio in audio.c.o
      _l_video_init in display.c.o
      _l_event_peepEvents in events.c.o
      _l_event_waitEvent in events.c.o
      _l_enclosePoints in rectangle.c.o
      _l_renderer_copy in renderer.c.o
      _l_quitSubSystem in SDL.c.o
      ...
  "_lua_load", referenced from:
      _loadfunction in thread.c.o
  "_lua_newuserdata", referenced from:
      _l_getKeyboardState in keyboard.c.o
      _commonPushUserdata in libcommon.a(common.c.o)
  "_lua_next", referenced from:
      _commonGetEnum in libcommon.a(common.c.o)
      _variantGet in libcommon.a(variant.c.o)
      _readTable in libcommon.a(video.c.o)
  "_lua_pcallk", referenced from:
      _openAudio in audio.c.o
      _audioCallback in audio.c.o
      _callback in thread.c.o
      _timerCallback in timer.c.o
  "_lua_pushboolean", referenced from:
      _l_enclosePoints in rectangle.c.o
      _l_intersectRect in rectangle.c.o
      _surfaceBlit in libcommon.a(surface.c.o)
      _commonPush in libcommon.a(common.c.o)
      _tableSetBool in libcommon.a(table.c.o)
      _variantPush in libcommon.a(variant.c.o)
  "_lua_pushcclosure", referenced from:
      _l_event_pollEvent in events.c.o
      _l_getKeyboardState in keyboard.c.o
  "_lua_pushfstring", referenced from:
      _l_audiodev_tostring in audio.c.o
      _l_filter_tostring in events.c.o
      _l_gamectl_tostring in gamecontroller.c.o
      _l_joystick_tostring in joystick.c.o
      _l_renderer_tostring in renderer.c.o
      _l_texture_tostring in texture.c.o
      _l_thread_tostring in thread.c.o
      ...
  "_lua_pushinteger", referenced from:
      _audioCallback in audio.c.o
      _eventPush in events.c.o
      _loggingCustomOutput in logging.c.o
      _l_getMouseState in mouse.c.o
      _l_getRelativeMouseState in mouse.c.o
      _l_getPowerInfo in power.c.o
      _pushRendererInfo in renderer.c.o
      ...
  "_lua_pushlstring", referenced from:
      _audioPushCVT in audio.c.o
      _mixAudio in audio.c.o
      _l_rw_read in libcommon.a(rwops.c.o)
      _rw_write in libcommon.a(rwops.c.o)
      _tableSetStringl in libcommon.a(table.c.o)
      _variantPush in libcommon.a(variant.c.o)
  "_lua_pushnil", referenced from:
      _l_channel_first in channel.c.o
      _l_channel_last in channel.c.o
      _l_channel_wait in channel.c.o
      _l_video_getCurrentVideoDriver in display.c.o
      _l_logGetOutputFunction in logging.c.o
      _l_getHint in SDL.c.o
      _commonGetEnum in libcommon.a(common.c.o)
      ...
  "_lua_pushnumber", referenced from:
      _commonPush in libcommon.a(common.c.o)
      _tableSetDouble in libcommon.a(table.c.o)
      _variantPush in libcommon.a(variant.c.o)
  "_lua_pushstring", referenced from:
      _l_video_getClipboardText in clipboard.c.o
      _l_video_getCurrentVideoDriver in display.c.o
      _l_getBasePath in filesystem.c.o
      _l_getPrefPath in filesystem.c.o
      _loggingCustomOutput in logging.c.o
      _pushRendererInfo in renderer.c.o
      _l_getHint in SDL.c.o
      ...
  "_lua_pushvalue", referenced from:
      _l_event_filterEvents in events.c.o
      _eventAddFilter in events.c.o
      _l_logSetOutputFunction in logging.c.o
      _loadfunction in thread.c.o
      _l_rw_create in libcommon.a(rwops.c.o)
  "_lua_rawgeti", referenced from:
      _audioCallback in audio.c.o
      _eventFilter in events.c.o
      _getCondition in haptic.c.o
      _getDirection in haptic.c.o
      _l_logGetOutputFunction in logging.c.o
      _loggingCustomOutput in logging.c.o
      _timerCallback in timer.c.o
      ...
  "_lua_rawseti", referenced from:
      _l_event_peepEvents in events.c.o
      _pushRendererInfo in renderer.c.o
      _l_window_getGammaRamp in window.c.o
      _commonPushEnum in libcommon.a(common.c.o)
  "_lua_setfield", referenced from:
      _audioPushCVT in audio.c.o
      _eventPush in events.c.o
      _pushKey in events.c.o
      _l_getKeyboardState in keyboard.c.o
      _pushRendererInfo in renderer.c.o
      _commonBindEnum in libcommon.a(common.c.o)
      _commonBindObject in libcommon.a(common.c.o)
      ...
  "_lua_setmetatable", referenced from:
      _l_getKeyboardState in keyboard.c.o
  "_lua_settable", referenced from:
      _variantPush in libcommon.a(variant.c.o)
  "_lua_settop", referenced from:
      _audioCallback in audio.c.o
      _getConstant in haptic.c.o
      _getPeriodic in haptic.c.o
      _getCondition in haptic.c.o
      _getRamp in haptic.c.o
      _getDirection in haptic.c.o
      _l_renderer_copyEx in renderer.c.o
      ...
  "_lua_toboolean", referenced from:
      _l_getAudioDeviceName in audio.c.o
      _l_getNumAudioDevices in audio.c.o
      _l_audiodev_pause in audio.c.o
      _eventFilter in events.c.o
      _l_setRelativeMouseMode in mouse.c.o
      _l_showCursor in mouse.c.o
      _l_surface_setColorKey in libcommon.a(surface.c.o)
      ...
  "_lua_tointegerx", referenced from:
      _callback in thread.c.o
      _l_window_setGammaRamp in window.c.o
      _rw_size in libcommon.a(rwops.c.o)
      _rw_seek in libcommon.a(rwops.c.o)
      _rw_read in libcommon.a(rwops.c.o)
      _rw_write in libcommon.a(rwops.c.o)
      _rw_close in libcommon.a(rwops.c.o)
      ...
  "_lua_tolstring", referenced from:
      _openAudio in audio.c.o
      _audioCallback in audio.c.o
      _threadDump in thread.c.o
      _loadfile in thread.c.o
      _loadfunction in thread.c.o
      _callback in thread.c.o
      _timerCallback in timer.c.o
      ...
  "_lua_tonumberx", referenced from:
      _getCondition in haptic.c.o
      _getDirection in haptic.c.o
      _timerCallback in timer.c.o
      _commonGetEnum in libcommon.a(common.c.o)
      _tableGetDouble in libcommon.a(table.c.o)
      _variantGet in libcommon.a(variant.c.o)
  "_lua_type", referenced from:
      _openAudio in audio.c.o
      _audioCallback in audio.c.o
      _getConstant in haptic.c.o
      _getPeriodic in haptic.c.o
      _getCondition in haptic.c.o
      _getRamp in haptic.c.o
      _getDirection in haptic.c.o
      ...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [SDL.so] Error 1
make[1]: *** [CMakeFiles/SDL.dir/all] Error 2
make: *** [all] Error 2
lewislepton commented 9 years ago

just changed your build system to lua and try

ghost commented 9 years ago

lua: error loading module 'SDL' from file '/usr/local/lib/lua/5.2/SDL.so':

lewislepton commented 9 years ago

to be honest i dont know. all i done was install lua dev but then i had to install fix mac path to fix the path. if you are on a different system other than mac, you will find it with a search online. it was quick for myself, so there will be something for win/linux somewhere.

also check www.packagecontrol.io

ghost commented 9 years ago

Yeah,thanks but it's strange because I have SDL.so in that folder.I'll google it for an solution.

lewislepton commented 9 years ago

but what are you on? mac, windows, linux?

ghost commented 9 years ago

I'm linux.I managed to make the window to pop ! Yay :+1:

lewislepton commented 9 years ago

good good. have fun ;)

lewislepton commented 9 years ago

can you say how you made it work. just for other people really. think we could use it for maybe the docs or something thanks

ghost commented 9 years ago

After building all the .so files I was needed to paste them here: /usr/local/lib/lua/5.2/ (as admin) and it works!

lewislepton commented 9 years ago

cool. nice and simple, which is always good ;)

ghost commented 9 years ago

yeah :)

lewislepton commented 9 years ago

@Murii also just this second put up a really hacky auto-complete for it also. its just a table with everything in lua-SDL2, but it does work. its not smart or anything. i dont know how to make it that yet. but its something https://github.com/lewislepton/Lua-SDL2AutoComplete

if you want to make it smart, or know how, then just try it out and make a pull request ;)