Skip to content

Can not find fficonfig.h in arm64 computer #285

@YJCCreateAHistory

Description

@YJCCreateAHistory

make: “/home/loongson/Desktop/electron-easi-camera/app/node_modules/ffi-napi/build”
CC(target) Release/obj.target/nothing/../node-addon-api/nothing.o
rm -f Release/obj.target/../node-addon-api/nothing.a Release/obj.target/../node-addon-api/nothing.a.ar-file-list; mkdir -p dirname Release/obj.target/../node-addon-api/nothing.a
ar crs Release/obj.target/../node-addon-api/nothing.a @Release/obj.target/../node-addon-api/nothing.a.ar-file-list
COPY Release/nothing.a
CC(target) Release/obj.target/ffi/deps/libffi/src/prep_cif.o
In file included from ../deps/libffi/src/prep_cif.c:27:
../deps/libffi/include/ffi_common.h:17:10: fatal error: fficonfig.h:
#include <fficonfig.h>
^~~~~~~~~~~~~
compilation terminated.
make: *** [deps/libffi/ffi.target.mk:124:Release/obj.target/ffi/deps/libffi/src/prep_cif.o] error 1
make: “/home/loongson/Desktop/electron-easi-camera/app/node_modules/ffi-napi/build”
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess. (/usr/lib/node_modules/node-gyp/lib/build.js:209:23)
gyp ERR! System Linux 4.19.0-loongson-3-desktop
gyp ERR! command "/home/loongson/.nvm/versions/node/v16.17.1/bin/node" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /home/loongson/Desktop/electron-easi-camera/app/node_modules/ffi-napi
gyp ERR! node -v v16.17.1
gyp ERR! node-gyp -v v10.1.0
gyp ERR! not ok

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions