Open Sinc63 opened 1 year ago
Your machine is missing XTest headers
fatal error: X11/extensions/XTest.h: No such file or directory
Your machine is missing XTest headers
fatal error: X11/extensions/XTest.h: No such file or directory
Thanks. If this project depends on that header, shouldn't the library and/or package be declared as a dependency of this package, so that installing this code ensures installation of all its dependencies? and maybe have the make file set up so that if the dependency is missing it fails with a more definitive message?
Also, I'm running this in RedHat Linux, so if I understand the "X" reference correctly, nothing here is running in X (probably why I don't have the package), so should the code that needs this header have some conditional compilation around it so that it doesn't use the X headers if it isn't compiling in an X environment, or for an X target?
To be fair, it's listed as a dependency in the readme.
But IMHO, using the library shouldn't require you to compile anything. In my own framework everything comes pre-compiled.
On the other hand, this repo is inactive, so it is what it is.
Also, I'm running this in RedHat Linux, so if I understand the "X" reference correctly, nothing here is running in X (probably why I don't have the package), so should the code that needs this header have some conditional compilation around it so that it doesn't use the X headers if it isn't compiling in an X environment, or for an X target?
Well, if it did that most of its Linux part wouldn't work. I'm currently investigating a generic way to make input simulation work generically on both X11 and Wayland, but that's only in its planning phase at the moment.
Robotjs (https://github.com/octalmage/robotjs)is build use V8 API.So it must be rebuilt for different Node versions. This is a big trouble when installing on a platform that has no build environment.. So I rewrapped Robotjs with Node API and prebuilt it. Now you can install robotjs_addon with just one command npm install robotjs_addon And it is compatible with different Node versions. It's open source. You can check it out if you are interested.https://github.com/ftyszyx/robotjs Warm: some api is removed,because there is no need for me, you can help to improve.
Expected Behavior
Code should compile. :-)
Current Behavior
Possible Solution
Steps to Reproduce (for bugs)
Context
Trying to build a load of our system. Apparently we ignore this because it's an optional dependency, but that doesn't mean I shouldn't tell you about it. Might help someone else out.
Your Environment