UltraStar-Deluxe / USDX

The free and open source karaoke singing game UltraStar Deluxe, inspired by Sony SingStarâ„¢
https://usdx.eu
GNU General Public License v2.0
803 stars 157 forks source link

EInOutError - not running on MacOS 10.15 (Catalina) #502

Open DeveloperTK opened 4 years ago

DeveloperTK commented 4 years ago

Note: I'm using MacOS 10.15 (Catalina) and I am not sure if this error has something to do with Apple dropping support of 32-Bit apps

Actual behaviour

Upon configuring and making macosx-standalone-app, the following Error occurs:

objc[24350]: Class SDLTranslatorResponder is implemented in both .../USDX-master/UltraStarDeluxe.app/Contents/MacOS/libSDL-1.2.0.dylib (0x101db4d40) and .../USDX-master/UltraStarDeluxe.app/Contents/MacOS/libSDL2-2.0.0.dylib (0x1006d1d98). One of the two will be used. Which one is undefined.

An unhandled exception occurred at $0000000100026E79:
EInOutError: Invalid file handle
  $0000000100026E79
  $000000010006683C

Expected behaviour

The App should build and run normally

Steps to reproduce

I tried all issues relating macos but none worked.

Details

Provide some additional information:

s09bQ5 commented 4 years ago

The application should not be linked to libSDL-1.2.0.dylib. See https://travis-ci.org/UltraStar-Deluxe/USDX/jobs/628159617 line 2488 to 2740 for the libraries currently used on macOS and their dependencies (except those provided by macOS).

DeveloperTK commented 4 years ago

Is there any way I can fix it myself?

s09bQ5 commented 4 years ago

When you build the application bundle, similar output to the one in the linked log line 2488 to 2740 will be output to your console. There will be at least one line "change the install name for ... /libSDL-1.2.0.dylib". Look at the preceding "work on ..." line and rebuild that library to no longer require libSDL-1.2.0.dylib.

s09bQ5 commented 4 years ago

@DeveloperTK, any update on this? Did you find out which library pulls in libSDL-1.2.0?