Re: [Tuxpaint-devel] 5/15 updates to MacOS Sierra compile (SDL2)
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
From: Pere P. i C. <per...@gm...> - 2017-05-16 21:04:42
|
El dl 15 de 05 de 2017 a les 11:50 -0500, en/na B.J. va escriure: > Maybe more interesting… > > ~ after changing calls from "libiconv" to "iconv" (as it looks like a typdef created them derivatively anyway), those issues go away, but then I get > a compiler error claiming there are 3 different main () functions. Maybe that has to do with the deprecation of the SDL_main function in SDL2? Not > sure, but if I then change the other 2 "main" functions in macosx/fcinstaller.m and src/tuxpaint.c (since the Cocoa NS caller in macosx/SDL_main.m is > probably the one I want?) it compiles finally, and when run the executable reports the following stdout when run ~ > > $ ./tuxpaint > dyld: Library not loaded: /usr/local/lib/libSDL2-2.0.0.dylib > Referenced from: /usr/local/lib/libSDL2_image-2.0.0.dylib > Reason: Incompatible library version: libSDL2_image-2.0.0.dylib requires version 5.0.0 or later, but libSDL2-2.0.0.dylib provides version 1.0.0 I really don't understand nothing about MacOs, but looks like you are trying with libSDL2 2.0.0 What would happen with libSDL2 2.0.5 ? HTH Pere > Abort trap: 6 > > $ otool -L tuxpaint > /System/Library/Frameworks/Security.framework/Versions/A/Security (compatibility version 1.0.0, current version 57740.51.3) > /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1349.65.0) > /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices (compatibility version 1.0.0, current version 48.0.0) > /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 22.0.0) > /usr/local/lib/libSDL2-2.0.0.dylib (compatibility version 1.0.0, current version 1.0.0) > /usr/local/lib/libSDL2_image-2.0.0.dylib (compatibility version 1.0.0, current version 1.1.0) > /usr/local/lib/libSDL2_ttf-2.0.0.dylib (compatibility version 15.0.0, current version 15.0.0) > /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.8) > /usr/local/lib/libpng16.16.dylib (compatibility version 46.0.0, current version 46.0.0) > /usr/local/lib/libSDL2_mixer-2.0.0.dylib (compatibility version 1.0.0, current version 1.1.0) > /usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0) > /usr/local/lib/libpaper.1.dylib (compatibility version 3.0.0, current version 3.2.0) > /usr/local/lib/libfontconfig.1.dylib (compatibility version 11.0.0, current version 11.2.0) > /usr/local/lib/libcairo.2.dylib (compatibility version 11403.0.0, current version 11403.8.0) > /usr/local/lib/libfribidi.0.dylib (compatibility version 4.0.0, current version 4.6.0) > /usr/local/lib/libintl.9.dylib (compatibility version 11.0.0, current version 11.4.0) > /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.51.1) > /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 1504.82.104) > /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 1349.64.0) > /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0) > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Tuxpaint-devel mailing list > Tux...@li... > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel |