OSXvnc icon indicating copy to clipboard operation
OSXvnc copied to clipboard

Minimal supported version of macOS

Open pinhead84 opened this issue 7 years ago • 6 comments

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. ;)

pinhead84 avatar Sep 27 '18 17:09 pinhead84

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.

stweil avatar Sep 27 '18 17:09 stweil

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?

pinhead84 avatar Sep 27 '18 18:09 pinhead84

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

stweil avatar Sep 27 '18 19:09 stweil

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 avatar Sep 27 '18 20:09 pinhead84

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. ;)

pinhead84 avatar Sep 27 '18 23:09 pinhead84

pinhead84, Any news about 10.8 and 10.9 compatibility?

Peter2121 avatar Feb 19 '20 10:02 Peter2121