You're right, Ceylo - I neglected to copy CSFML into my /Library/Frameworks directory. I copied them in, and it had an effect: the "missing sfml-graphics" message is now replaced with a "missing sfml-window" message.
Can you tell me how does one control the order in which frameworks are loaded? I haven't done that before - I assumed frameworks were just called whenever a program's function needed it.
I decided to make a bare-bones SFML program to test if I can get anything on-screen. It just creates a renderwindow and waits for the user to press ESC to quit.
I managed to get an empty cyan SFML window up that accepts keystrokes - so my barebones program does seem to be finding the sfml window framework.
But when I try to load an image or font, it crashes out saying it's unable to load the asset. It seems the sfml graphics framework isn't loading for some reason.
Here's the output when I run the bare-bones program:
Mono-Message: gc took 0 usecs
Mono-INFO: Assembly Loader probing location: './mscorlib.dll'.
Mono-INFO: Image addref mscorlib 0xb107c0 -> /Users/bc/Desktop/airforte/MacOS/mscorlib.dll 0x200b800: 2
Mono-INFO: AOT failed to load AOT module /Users/bc/Desktop/airforte/MacOS/mscorlib.dll.dylib: dlopen(/Users/bc/Desktop/airforte/MacOS/mscorlib.dll.dylib, 9): image not found
Mono-INFO: Assembly Loader loaded assembly from location: './mscorlib.dll'.
Mono-INFO: Config attempting to parse: '/Users/bc/Desktop/airforte/MacOS/mscorlib.dll.config'.
Mono-INFO: Config attempting to parse: '/Library/Frameworks/Mono.framework/Versions/2.6.4/etc/mono/assemblies/mscorlib/mscorlib.config'.
Mono-INFO: Config attempting to parse: '/Users/bc/.mono/assemblies/mscorlib/mscorlib.config'.
Mono-INFO: Assembly mscorlib 0xb107c0 added to domain test.exe, ref_count=1
Mono-INFO: Config attempting to parse: '/Library/Frameworks/Mono.framework/Versions/2.6.4/etc/mono/config'.
Mono-INFO: Config attempting to parse: '/Users/bc/.mono/config'.
Mono-INFO: Assembly Loader probing location: 'test.exe'.
Mono-INFO: Image addref test 0xb17a30 -> /Users/bc/Desktop/airforte/MacOS/test.exe 0x200b400: 3
Mono-INFO: Assembly test 0xb17a30 added to domain test.exe, ref_count=1
Mono-INFO: AOT failed to load AOT module /Users/bc/Desktop/airforte/MacOS/test.exe.dylib: dlopen(/Users/bc/Desktop/airforte/MacOS/test.exe.dylib, 9): image not found
Mono-INFO: Assembly Loader loaded assembly from location: 'test.exe'.
Mono-INFO: Config attempting to parse: '/Users/bc/Desktop/airforte/MacOS/test.exe.config'.
Mono-INFO: Config attempting to parse: '/Library/Frameworks/Mono.framework/Versions/2.6.4/etc/mono/assemblies/test/test.config'.
Mono-INFO: Config attempting to parse: '/Users/bc/.mono/assemblies/test/test.config'.
Mono-INFO: Assembly Loader probing location: 'test.exe'.
Mono-INFO: AOT failed to load AOT module /Users/bc/Desktop/airforte/MacOS/test.exe.dylib: dlopen(/Users/bc/Desktop/airforte/MacOS/test.exe.dylib, 9): image not found
Mono-INFO: Assembly Ref addref test 0xb17a30 -> mscorlib 0xb107c0: 2
Mono-INFO: Assembly Loader probing location: '/Users/bc/Desktop/airforte/MacOS/sfmlnet-graphics.dll'.
Mono-INFO: Image addref sfmlnet-graphics 0xb1a4e0 -> /Users/bc/Desktop/airforte/MacOS/sfmlnet-graphics.dll 0x2022400: 2
Mono-INFO: Assembly sfmlnet-graphics 0xb1a4e0 added to domain test.exe, ref_count=1
Mono-INFO: AOT failed to load AOT module /Users/bc/Desktop/airforte/MacOS/sfmlnet-graphics.dll.dylib: dlopen(/Users/bc/Desktop/airforte/MacOS/sfmlnet-graphics.dll.dylib, 9): image not found
Mono-INFO: Assembly Loader loaded assembly from location: '/Users/bc/Desktop/airforte/MacOS/sfmlnet-graphics.dll'.
Mono-INFO: Config attempting to parse: '/Users/bc/Desktop/airforte/MacOS/sfmlnet-graphics.dll.config'.
Mono-INFO: Config attempting to parse: '/Library/Frameworks/Mono.framework/Versions/2.6.4/etc/mono/assemblies/sfmlnet-graphics/sfmlnet-graphics.config'.
Mono-INFO: Config attempting to parse: '/Users/bc/.mono/assemblies/sfmlnet-graphics/sfmlnet-graphics.config'.
Mono-INFO: Assembly Ref addref test 0xb17a30 -> sfmlnet-graphics 0xb1a4e0: 2
Mono-INFO: Assembly Loader probing location: '/Users/bc/Desktop/airforte/MacOS/sfmlnet-window.dll'.
Mono-INFO: Image addref sfmlnet-window 0xb0de10 -> /Users/bc/Desktop/airforte/MacOS/sfmlnet-window.dll 0x2022800: 2
Mono-INFO: Assembly sfmlnet-window 0xb0de10 added to domain test.exe, ref_count=1
Mono-INFO: AOT failed to load AOT module /Users/bc/Desktop/airforte/MacOS/sfmlnet-window.dll.dylib: dlopen(/Users/bc/Desktop/airforte/MacOS/sfmlnet-window.dll.dylib, 9): image not found
Mono-INFO: Assembly Loader loaded assembly from location: '/Users/bc/Desktop/airforte/MacOS/sfmlnet-window.dll'.
Mono-INFO: Config attempting to parse: '/Users/bc/Desktop/airforte/MacOS/sfmlnet-window.dll.config'.
Mono-INFO: Config attempting to parse: '/Library/Frameworks/Mono.framework/Versions/2.6.4/etc/mono/assemblies/sfmlnet-window/sfmlnet-window.config'.
Mono-INFO: Config attempting to parse: '/Users/bc/.mono/assemblies/sfmlnet-window/sfmlnet-window.config'.
Mono-INFO: Assembly Ref addref sfmlnet-graphics 0xb1a4e0 -> sfmlnet-window 0xb0de10: 2
Mono-INFO: Assembly Ref addref sfmlnet-window 0xb0de10 -> mscorlib 0xb107c0: 3
Mono-INFO: Assembly Ref addref sfmlnet-graphics 0xb1a4e0 -> mscorlib 0xb107c0: 4
Mono-INFO: Assembly Ref addref test 0xb17a30 -> sfmlnet-window 0xb0de10: 3
Mono-INFO: DllImport attempting to load: 'csfml-graphics'.
Mono-INFO: DllImport loading location: 'libcsfml-graphics.dylib'.
Mono-INFO: DllImport error loading library: 'dlopen(libcsfml-graphics.dylib, 9): image not found'.
Mono-INFO: DllImport loading location: 'libcsfml-graphics.so'.
Mono-INFO: DllImport error loading library: 'dlopen(libcsfml-graphics.so, 9): image not found'.
Mono-INFO: DllImport loading location: 'libcsfml-graphics.bundle'.
Mono-INFO: DllImport error loading library: 'dlopen(libcsfml-graphics.bundle, 9): image not found'.
Mono-INFO: DllImport loading library: './libcsfml-graphics.dylib'.
Mono-INFO: DllImport error loading library 'dlopen(./libcsfml-graphics.dylib, 9): image not found'.
Mono-INFO: DllImport loading library: './libcsfml-graphics.so'.
Mono-INFO: DllImport error loading library 'dlopen(./libcsfml-graphics.so, 9): image not found'.
Mono-INFO: DllImport loading library: './libcsfml-graphics.bundle'.
Mono-INFO: DllImport error loading library 'dlopen(./libcsfml-graphics.bundle, 9): image not found'.
Mono-INFO: DllImport loading: 'csfml-graphics'.
Mono-INFO: Searching for 'sfRenderWindow_Clear'.
Mono-INFO: Probing 'sfRenderWindow_Clear'.
Mono-INFO: Found as 'sfRenderWindow_Clear'.
Mono-INFO: DllImport attempting to load: 'csfml-graphics'.
Mono-INFO: DllImport loading location: 'libcsfml-graphics.dylib'.
Mono-INFO: DllImport error loading library: 'dlopen(libcsfml-graphics.dylib, 9): image not found'.
Mono-INFO: DllImport loading location: 'libcsfml-graphics.so'.
Mono-INFO: DllImport error loading library: 'dlopen(libcsfml-graphics.so, 9): image not found'.
Mono-INFO: DllImport loading location: 'libcsfml-graphics.bundle'.
Mono-INFO: DllImport error loading library: 'dlopen(libcsfml-graphics.bundle, 9): image not found'.
Mono-INFO: DllImport loading library: './libcsfml-graphics.dylib'.
Mono-INFO: DllImport error loading library 'dlopen(./libcsfml-graphics.dylib, 9): image not found'.
Mono-INFO: DllImport loading library: './libcsfml-graphics.so'.
Mono-INFO: DllImport error loading library 'dlopen(./libcsfml-graphics.so, 9): image not found'.
Mono-INFO: DllImport loading library: './libcsfml-graphics.bundle'.
Mono-INFO: DllImport error loading library 'dlopen(./libcsfml-graphics.bundle, 9): image not found'.
Mono-INFO: DllImport loading: 'csfml-graphics'.
Mono-INFO: Searching for 'sfRenderWindow_Create'.
Mono-INFO: Probing 'sfRenderWindow_Create'.
Mono-INFO: Found as 'sfRenderWindow_Create'.
Mono-INFO: DllImport attempting to load: 'csfml-graphics'.
Mono-INFO: DllImport loading location: 'libcsfml-graphics.dylib'.
Mono-INFO: DllImport error loading library: 'dlopen(libcsfml-graphics.dylib, 9): image not found'.
Mono-INFO: DllImport loading location: 'libcsfml-graphics.so'.
Mono-INFO: DllImport error loading library: 'dlopen(libcsfml-graphics.so, 9): image not found'.
Mono-INFO: DllImport loading location: 'libcsfml-graphics.bundle'.
Mono-INFO: DllImport error loading library: 'dlopen(libcsfml-graphics.bundle, 9): image not found'.
Mono-INFO: DllImport loading library: './libcsfml-graphics.dylib'.
Mono-INFO: DllImport error loading library 'dlopen(./libcsfml-graphics.dylib, 9): image not found'.
Mono-INFO: DllImport loading library: './libcsfml-graphics.so'.
Mono-INFO: DllImport error loading library 'dlopen(./libcsfml-graphics.so, 9): image not found'.
Mono-INFO: DllImport loading library: './libcsfml-graphics.bundle'.
Mono-INFO: DllImport error loading library 'dlopen(./libcsfml-graphics.bundle, 9): image not found'.
Mono-INFO: DllImport loading: 'csfml-graphics'.
Mono-INFO: Searching for 'sfRenderWindow_GetInput'.
Mono-INFO: Probing 'sfRenderWindow_GetInput'.
Mono-INFO: Found as 'sfRenderWindow_GetInput'.
Mono-INFO: DllImport attempting to load: 'csfml-graphics'.
Mono-INFO: DllImport loading location: 'libcsfml-graphics.dylib'.
Mono-INFO: DllImport error loading library: 'dlopen(libcsfml-graphics.dylib, 9): image not found'.
Mono-INFO: DllImport loading location: 'libcsfml-graphics.so'.
Mono-INFO: DllImport error loading library: 'dlopen(libcsfml-graphics.so, 9): image not found'.
Mono-INFO: DllImport loading location: 'libcsfml-graphics.bundle'.
Mono-INFO: DllImport error loading library: 'dlopen(libcsfml-graphics.bundle, 9): image not found'.
Mono-INFO: DllImport loading library: './libcsfml-graphics.dylib'.
Mono-INFO: DllImport error loading library 'dlopen(./libcsfml-graphics.dylib, 9): image not found'.
Mono-INFO: DllImport loading library: './libcsfml-graphics.so'.
Mono-INFO: DllImport error loading library 'dlopen(./libcsfml-graphics.so, 9): image not found'.
Mono-INFO: DllImport loading library: './libcsfml-graphics.bundle'.
Mono-INFO: DllImport error loading library 'dlopen(./libcsfml-graphics.bundle, 9): image not found'.
Mono-INFO: DllImport loading: 'csfml-graphics'.
Mono-INFO: Searching for 'sfRenderWindow_GetDefaultView'.
Mono-INFO: Probing 'sfRenderWindow_GetDefaultView'.
Mono-INFO: Found as 'sfRenderWindow_GetDefaultView'.
Mono-INFO: DllImport attempting to load: 'csfml-graphics'.
Mono-INFO: DllImport loading location: 'libcsfml-graphics.dylib'.
Mono-INFO: DllImport error loading library: 'dlopen(libcsfml-graphics.dylib, 9): image not found'.
Mono-INFO: DllImport loading location: 'libcsfml-graphics.so'.
Mono-INFO: DllImport error loading library: 'dlopen(libcsfml-graphics.so, 9): image not found'.
Mono-INFO: DllImport loading location: 'libcsfml-graphics.bundle'.
Mono-INFO: DllImport error loading library: 'dlopen(libcsfml-graphics.bundle, 9): image not found'.
Mono-INFO: DllImport loading library: './libcsfml-graphics.dylib'.
Mono-INFO: DllImport error loading library 'dlopen(./libcsfml-graphics.dylib, 9): image not found'.
Mono-INFO: DllImport loading library: './libcsfml-graphics.so'.
Mono-INFO: DllImport error loading library 'dlopen(./libcsfml-graphics.so, 9): image not found'.
Mono-INFO: DllImport loading library: './libcsfml-graphics.bundle'.
Mono-INFO: DllImport error loading library 'dlopen(./libcsfml-graphics.bundle, 9): image not found'.
Mono-INFO: DllImport loading: 'csfml-graphics'.
Mono-INFO: Searching for 'sfImage_CreateFromFile'.
Mono-INFO: Probing 'sfImage_CreateFromFile'.
Mono-INFO: Found as 'sfImage_CreateFromFile'.
Failed to load image "icon.png". Reason : Unable to open file
Unhandled Exception: SFML.LoadingFailedException: Failed to load image from file icon.png
at SFML.Graphics.Image..ctor (System.String filename) [0x00000] in <filename unknown>:0
at WindowTest.Game1.Main () [0x00000] in <filename unknown>:0