py-sdl2 on OSX

Issue #13 invalid
Former user created an issue

Hi,

When running on OSX, upon import sdl2.ext you get the following warnings. /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sdl2/dll.py:74: UserWarning: function 'SDL_GetBasePath' not found in <CDLL '/opt/local/lib/libSDL2.dylib', handle 7fe9384910d0 at 10c9eaa50>, using replacement (funcname, self._dll)) /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sdl2/dll.py:74: UserWarning: function 'SDL_GetPrefPath' not found in <CDLL '/opt/local/lib/libSDL2.dylib', handle 7fe9384910d0 at 10c9eaa50>, using replacement (funcname, self._dll))

Everything seems to work ok, it just looks like the 2 functions don't exist in the OSX implementation of SDL2.

Cheers

Richard

Comments (1)

  1. Marcus von Appen repo owner

    SDL_GetBasePath() and SDL_GetPrefPath() are new SDL2 functions, which are not contained in the SDL 2.0 release, but are available within the current development branch.

    You can ignore that warning or change the warnings level accordingly to avoid that output.

  2. Log in to comment