Skip to content
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

Minimal supported version of macOS #27

Open
pinhead84 opened this issue Sep 27, 2018 · 6 comments
Open

Minimal supported version of macOS #27

pinhead84 opened this issue Sep 27, 2018 · 6 comments
Labels

Comments

@pinhead84
Copy link
Contributor

Thank you a lot for this great application. I'm bundling it in this single click support tool.

I'd like to know, which version of macOS is required in order to use your current release of OSXvnc (5.2.1)? - Unfortunately I can't find any information about the minimal requirements on this project page.

The program works fine with my High Sierra system (10.13). But maybe some of my clients use older versions. Therefore I'd like to use OSXvnc with as old systems as possible - 10.7 would be optimal for my use case.

Thanks a lot in advance for any clarification. ;)

@stweil
Copy link
Owner

stweil commented Sep 27, 2018

I think the answer is here. If you need support for older versions of macOS, it might be possible to build a new binary – you just have to try it.

@pinhead84
Copy link
Contributor Author

Thanks for that hint. I will try to build the application by myself.

Do you have any reason, why you do not use an older target version than 10.11?

@stweil
Copy link
Owner

stweil commented Sep 27, 2018

I don't remember a reason. As you can see in the commit history (commit eb501f8), I already switched from 10.12 back to 10.11 a year ago.

@pinhead84
Copy link
Contributor Author

I was able to compile the program successfully for 10.9. I only had to change two include directives in vncauth.c. I'm not sure, if this is a mistake on your side. But otherwise I was not able to compile the application.

Builds for earlier target versions than 10.9 throw an error regarding the libstdc++ library. I'm not an expert in development for macOS or Objective C in general. But I assume, the problem is somehow related to the fact, that libc++ became the new default C++ runtime library since 10.9.

If I set libc++ as standard library in the project settings, the application also compiles for 10.7. But I'll still have to test, if the binary works correctly on 10.7.

I've forked your repository and pushed my changes into a separate branch. You can find the changes in this commit.

If the binary works for 10.7 and if you like, I would provide a pull request with the changes to migrate them into your repository.

@pinhead84
Copy link
Contributor Author

I've tested the binary on macOS 10.8. I was able to start OSXvnc-server and show the command line help. But if I try to establish a reverse connection to my linux system (with tightvnc viewer), the program fails with a segmentation fault (without any further information). On 10.13 the same binary works fine.

I'm not sure about the reasons for this. Maybe libc++ does not work on 10.8 as expected? Or there are some other library conflicts?

Before diving deeper into debugging, I'm going to try a default build (without changing the default C++ runtime) on 10.9. If this works, I would already be happy and wouldn't go deeper into this issue. 10.9 as a minimal version would also be acceptable for me at the moment. A lot of other macOS software currently uses 10.9 as minimal version (e.g. Firefox, Filezilla). I assume, there has to be a reason for it. ;)

@Peter2121
Copy link

pinhead84,
Any news about 10.8 and 10.9 compatibility?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants