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

MacOSX support #23

Open
WolfgangFahl opened this issue Aug 13, 2016 · 6 comments
Open

MacOSX support #23

WolfgangFahl opened this issue Aug 13, 2016 · 6 comments
Assignees
Milestone

Comments

@WolfgangFahl
Copy link
Collaborator

WolfgangFahl commented Aug 13, 2016

Today I experimented a bit with the https://github.com/WolfgangFahl/edsdk4j fork with intention to get MacOSX support running. Unfortunately it looks the latest 3.4 ESDK is not compatible with the current Java code. Regenerating the wrapper-classes also didn't quite work.

The User32.peekMessage approach probably would have to be totally reworked for OSX. What else would have to be done?

@kritzikratzi
Copy link
Owner

hi.

maybe you could try to start with an old version and without regenerating the wrapper classes.

message handling is almost automatic on osx. to get the main ui loop going all you need to do is create a jframe (you can destroy it again immediately).

i'm not sure how much jna can do in this regard, but i think you need to switch the calling conventions also.

@WolfgangFahl
Copy link
Collaborator Author

Thanks for the comment. So far things have been pretty frustrating. On Mac OSX a 64 bit library is mandatory but I couldn't get this working with JNA yet. So I am using a Windows Virtual machine to test the latest SDK and JNA and that also doesn't work yet. I am now intending to do another fork and do a more test first and step by step approach.

@kritzikratzi
Copy link
Owner

i tried your fork with no success yesterday.
just curious: did you go through the (sparse) notes in readme.txt?

@WolfgangFahl
Copy link
Collaborator Author

Thanx for looking into this Hansi. No - I didn't read the readme.txt and wiki notes when I started. Currently the 64 bit library crashes on Mac OSX at _ZTV13CMacIOManager+0x10.

I started a new fork and I am now developing in parallel on a Windows 7 virtual machine and my Mac OS 10.9.5 main machine. See https://github.com/BITPlan/edsdk4j/wiki/NewHome for my comments on what I am currently doing. If you give me access to the main repository I could merge the results carefully.

@kritzikratzi
Copy link
Owner

hey!

cool to see you're progressing.
sorry i don't have time to help out at the moment.
i'm going to give you write access to this repo. can you push to a "mac" or "dev" branch (or whatever you like to call it)?

@kritzikratzi
Copy link
Owner

ps. sorry, one more thing: i started the project, not yeroc (for a project i did for benetton back then). not sure why the first commit says "unknown".

WolfgangFahl added a commit that referenced this issue Aug 23, 2016
@WolfgangFahl WolfgangFahl added this to the 0.0.3 milestone Aug 23, 2016
@WolfgangFahl WolfgangFahl self-assigned this Aug 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants