Node-gyp/C++ import shared library (.so)
问题 Importing a shared library (.so) doesn't seem to be an easy task. I tried to follow the instructions in this post, but I really can't get it to work. Building without the library RF24 is working. Followed their build instructions which produced the following filesets in the /usr/local/lib folder librf24-bcm.so librf24.so librf24.so.1 librf24.so.1.3 librf24.so.1.3.1 node_modules python2.7 python3.5 In my .cpp file I include the library like this #include <RF24.h> // also tested "" instead of <