You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi, I use @u4/opencv4nodejs in the electron. The Mac package runs normally, but when I package Ubuntu, I cannot run the prompt opencv4nodejs node: invalid ELF header.
I guess it's because of the packaging environment, but because of the network problem, I can't get through Ubuntu
@U4/opencv build for automatic compilation,
I try to compile opencv manually and configure it with the following command
export OPENCV4NODEJS_ DISABLE_ AUTOBUILD=1
export OPENCV_ INCLUDE_ DIR="/usr/local/opencv_4.1.2/include"export OPENCV_ LIB_ DIR="/usr/local/opencv_4.1.2/lib"export OPENCV_ BIN_ DIR="/usr/local/opencv_4.1.2/bin"
After configuration, I can successfully install opencv4nodejs
However, it cannot be used in the electricity process because it is required in the normal electricity process
build-opencv --electron --version 4.5.4 build
Therefore, I need to know that if you use the local opencv to do -- electric build
Thanks for any guidance.
Because of the project problem, we can't provide an example. I'm sorry.
The text was updated successfully, but these errors were encountered:
hi, I use
@u4/opencv4nodejs
in the electron. The Mac package runs normally, but when I package Ubuntu, I cannot run the promptopencv4nodejs node: invalid ELF header.
I guess it's because of the packaging environment, but because of the network problem, I can't get through Ubuntu
@U4/opencv build
for automatic compilation,I try to compile opencv manually and configure it with the following command
However, it cannot be used in the electricity process because it is required in the normal electricity process
build-opencv --electron --version 4.5.4 build
Therefore, I need to know that if you use the local opencv to do -- electric build
Thanks for any guidance.
Because of the project problem, we can't provide an example. I'm sorry.
The text was updated successfully, but these errors were encountered: