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

"Undefined symbol" error when trying to compile TouchExtractor #2

Open
noah-nuebling opened this issue May 14, 2020 · 1 comment
Open

Comments

@noah-nuebling
Copy link

noah-nuebling commented May 14, 2020

It seems that the external CGEventRecordPointer function cannot be found.

Here's the error:

Undefined symbols for architecture x86_64:
  "_CGEventRecordPointer", referenced from:
      -[TouchExtractorAppDelegate decodeEvents:] in TouchExtractorAppDelegate.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I would love to learn how this code works. I'm already using as a basis for some very basic touch synthesis in my own little project Mac Mouse Fix. I think I might be able to use it for some really neat features if I understood this better. Thank you so much for your amazing work and for making it open source!

@noah-nuebling
Copy link
Author

Okay it seems like the error only prevents you from using the decodeEvents: function. If you simply comment it out, everything else will work fine.

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

No branches or pull requests

1 participant