Skip to content

can´t find libraries - node-camera opencv #10

@timo-plc

Description

@timo-plc

Hello,

i to install this Tool to geth a webcam Video Stream and do some things with the picture.
i have done the Steps how it is disscirpt on this page: https://apurv.me/accessing-and-streaming-webcam-in-nodejs-using-opencv-and-websockets/
No1 work correkt
No2 i dont need because i use a raspberry pi
No3 there ich must change the Links on "include"
an my problem now is that i geht this error:

`/home/pi/.node-gyp/10.14.2/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
SOLINK_MODULE(target) Release/obj.target/camera.node

/usr/bin/ld: cannot find -lopencv_core
/usr/bin/ld: cannot find -lopencv_highgui
/usr/bin/ld: cannot find -lopencv_imgproc
/usr/bin/ld: cannot find -lopencv_video
/usr/bin/ld: cannot find -lopencv_ml
collect2: error: ld returned 1 exit status
camera.target.mk:134: die Regel für Ziel „Release/obj.target/camera.node“ scheiterte
make: *** [Release/obj.target/camera.node] Fehler 1
make: Verzeichnis „/home/pi/node_programs/WebCamLive/build“ wird verlassen
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
`
i think i must change the path of this bib, but how its works ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions