-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem installing on Mac Sierra #10
Comments
Hi Dan!
Sorry about the difficulties; there are some moving parts on OS X that I’m still working out. Please try installing the SDL 2.0.0 libraries from https://www.libsdl.org/release/SDL2-2.0.0.dmg and give it a go again. I’m hoping to work the kinks out of this soon.
Thanks,
Josh
From: Daningalls [mailto:notifications@github.com]
Sent: Wednesday, November 1, 2017 3:53 PM
To: livingcomputermuseum/ContrAlto <ContrAlto@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Subject: [livingcomputermuseum/ContrAlto] Problem installing on Mac Sierra (#10)
Hi - Sorry to bother you. I'm not facile with the underpinnings, but [on my Mac Air] I installed Mono and then contralto, and then started it, and after "You are at the Contralto console", I get an error:
System.DllNotFoundException: libSDL2-2.0.0.dylib
A google search suggested to reinstall MonoGame 3.6 which I did, but I still have the same problem
Can you help, oh please?
I am DanHHIngalls@gmail.com<mailto:DanHHIngalls@gmail.com>
Thanks!
* Dan Ingalls
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#10>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ATnJh-NDV2_siKIugR6lJV33OQ87S6qMks5syPZHgaJpZM4QO77e>.
|
Hi Again - |
Sorry to hear. Let me take a look at the problem and get back to you, many apologies.
One last thing to try in the interim -- try adding "--arch 32" to the mono commandline.
…________________________________
From: Daningalls <notifications@github.com>
Sent: Friday, November 3, 2017 2:54:04 PM
To: livingcomputermuseum/ContrAlto
Cc: Josh Dersch; Comment
Subject: Re: [livingcomputermuseum/ContrAlto] Problem installing on Mac Sierra (#10)
Hi Again -
I tried what you suggested, and it does not solve the problem. FWIW I'm running OSX 10.12.6
-
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#10 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ATnJh6SpZqdppyiYIuuAep_4ndw3cEmLks5sy4t8gaJpZM4QO77e>.
|
@Daningalls and I figured it out. Apparently, mono does not find SDL2 in the Framework version. It wants the "unixy"
Might be worth adding to the README? |
Thanks! I’ll add that to the README and I’ll see if I can make this less painful in general in the next release.
From: Bert Freudenberg [mailto:notifications@github.com]
Sent: Monday, November 6, 2017 10:06 AM
To: livingcomputermuseum/ContrAlto <ContrAlto@noreply.github.com>
Cc: Josh Dersch <JoshD@livingcomputers.org>; Comment <comment@noreply.github.com>
Subject: Re: [livingcomputermuseum/ContrAlto] Problem installing on Mac Sierra (#10)
@Daningalls<https://github.com/daningalls> and I figured it out. Apparently, mono does not find SDL2 in the Framework version. It wants the "unixy" libSDL2-2.0.0.dylib, which we installed via homebrew (https://brew.sh/). So this worked:
brew install sdl2
Might be worth adding to the README?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#10 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ATnJhwPDqQ95NL-7tUXfveEbAnj80xqSks5sz0pugaJpZM4QO77e>.
|
for me it helped to edit SDL2-CS.dll.config to point to the absolute path where the lib is, for me in /opt/local/library (as it was installed by macports):
` |
Having a devil of a time getting this to run on Ventura, but then again, I don't really know what I'm doing. I have SDL2 installed through Homebrew, and am referencing the absolute paths for the dylib files as @kgarrels has done, but am getting an Here's my
And here's my
And this is what I get when I try to
|
i had the same error, but luckily i know a little bit what i'm doing, so that helps. after digging into this problem, it seems to be that this version, being from 2018 and all, was only built for x86-architecture, so it runs only on intel macs. as i have an M1 mac (and i assume your (@benhoh) mac is also an apple silicon machine of sorts), i'm probably out of luck until a friendly dev of this project creates an arm64-version. then again, thinking that i know a little bit what i'm doing could lead to false confidence about my competencies, so maybe this is complete bullcrap. in that case, sorry! |
@peterpur @benhoh I encountered the same issue. It is not related to the project itself but rather to how Mono searches for dynamic libraries in the system. I tried several options from the Mono documentation, but they didn't help (I don't know c# or Mono). However, simply specifying the path to the library explicitly in the configuration file helped. Use brew info to see where your SDL2 libraries are located, and explicitly specify the path in the SDL2-CS.dll.config file using the target parameter. In my case, the line looks like this: |
Hi - Sorry to bother you. I'm not facile with the underpinnings, but [on my Mac Air] I installed Mono and then contralto, and then started it, and after "You are at the Contralto console", I get an error:
System.DllNotFoundException: libSDL2-2.0.0.dylib
A google search suggested to reinstall MonoGame 3.6 which I did, but I still have the same problem
Can you help, oh please?
I am DanHHIngalls@gmail.com
Thanks!
The text was updated successfully, but these errors were encountered: