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

npTuioClient does not function on Mac OSX 10.8.1 or 10.8.2 #8

Closed
hillct opened this Issue Nov 3, 2012 · 5 comments

Comments

Projects
None yet
3 participants
@hillct

hillct commented Nov 3, 2012

After upgrade to OS 10.8.1, I found that npTuioClient would no longer operate. I re-downloaded the existing mac binary and reinstalled with no success. I grabbed the source, and rebuilt it using XCode 4.5.2 which initially failed, but the only reported error was a conflicting type definition within the new MacOS SDK, so I commented out the definition in source, and it built suvvessfully. The Diff can be found below, though this did allow it to build, It still wouldn't load and run in any of Chrome, Firefox or Safari

Diff below (would have cloned and patched, but it isn't a fix, and it's one line):

diff --git a/npapi/protypes.h b/npapi/protypes.h
index 4405bfc..4814834 100644
--- a/npapi/protypes.h
+++ b/npapi/protypes.h
@@ -105,7 +105,7 @@ typedef PRUintn uint;
*/

#if !defined(XP_BEOS) && !defined(VMS)
-typedef PRUint64 uint64;
+// typedef PRUint64 uint64;
#endif

/*

@fajran

This comment has been minimized.

Show comment
Hide comment
@fajran

fajran Nov 14, 2012

Owner

Hi, I just made an update to the plugin. I tested it works on Chrome on Mac but unfortunately still does not work on Safari nor Firefox.

The code is under the "cleanup" branch https://github.com/fajran/npTuioClient/tree/cleanup
the binary is here https://github.com/downloads/fajran/npTuioClient/npTuioClient-1.5b1-osx.zip

could you test it?

Owner

fajran commented Nov 14, 2012

Hi, I just made an update to the plugin. I tested it works on Chrome on Mac but unfortunately still does not work on Safari nor Firefox.

The code is under the "cleanup" branch https://github.com/fajran/npTuioClient/tree/cleanup
the binary is here https://github.com/downloads/fajran/npTuioClient/npTuioClient-1.5b1-osx.zip

could you test it?

@borismus

This comment has been minimized.

Show comment
Hide comment
@borismus

borismus Nov 15, 2012

Just tested it on my Mac and everything works swimmingly! Thanks for this update, Fajran.

borismus commented Nov 15, 2012

Just tested it on my Mac and everything works swimmingly! Thanks for this update, Fajran.

@fajran

This comment has been minimized.

Show comment
Hide comment
@fajran

fajran Nov 15, 2012

Owner

great! now the issue is how to make it also works with Safari and Firefox. I tried to follow debugging steps from FireBreath but every time I attach the debugger, the plugin process just get closed.

Owner

fajran commented Nov 15, 2012

great! now the issue is how to make it also works with Safari and Firefox. I tried to follow debugging steps from FireBreath but every time I attach the debugger, the plugin process just get closed.

@hillct

This comment has been minimized.

Show comment
Hide comment
@hillct

hillct Nov 15, 2012

I concur. Thanks. Looking great in Chrome once again. While certainly this is minor, and of near no consequence in a test release, the build package name has the suffix .bundle rather than .plugin which I mention only so it doesn't go to a release with that name.

hillct commented Nov 15, 2012

I concur. Thanks. Looking great in Chrome once again. While certainly this is minor, and of near no consequence in a test release, the build package name has the suffix .bundle rather than .plugin which I mention only so it doesn't go to a release with that name.

@fajran

This comment has been minimized.

Show comment
Hide comment
@fajran

fajran Nov 15, 2012

Owner

A i386 only plugin apparently does not make Safari and Firefox crash

Owner

fajran commented Nov 15, 2012

A i386 only plugin apparently does not make Safari and Firefox crash

@fajran fajran closed this Nov 15, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment