Compile with zmp under mac

1.npm install -g node-gyp

2.node-gyp configure

3. Enter the module directory, node-gyp rebuild

4. You may need to install pkg-config pkg-config --version to see if it is installed

5. Curl http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz -o pkg-config-0.28.tar.gz You can also directly download and decompress it.

./configure --with-internal-glib This step is unsuccessful first sudo make install

sudo make install

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326300442&siteId=291194637