Blquinn / ohhey

Facial authentication for Linux
0 stars 0 forks source link

meson build failed #1

Open changchichung opened 1 year ago

changchichung commented 1 year ago

any suggestions ??

2023-02-21 13:54:17 [cgc@cdc03 ohhey  master ]$ meson build
The Meson build system
Version: 0.61.2
Source dir: /home/cgc/git/ohhey
Build dir: /home/cgc/git/ohhey/build
Build type: native build
Project name: ohhey
Project version: undefined
C++ compiler for the host machine: c++ (gcc 11.3.0 "c++ (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0")
C++ linker for the host machine: c++ ld.bfd 2.38
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Run-time dependency tclap found: YES 1.2.5
Run-time dependency dlib-1 found: YES 19.21.0

meson.build:27:0: ERROR: File src/lib/webcam-v4l2/webcam.cpp does not exist.

A full log can be found at /home/cgc/git/ohhey/build/meson-logs/meson-log.txt
2023-02-21 13:54:43 [cgc@cdc03 ohhey  master ]$ 
Blquinn commented 1 year ago

You need to clone the submodules.

git submodule update --init --recursive

changchichung commented 1 year ago

clone submodules failed

2023-03-03 09:06:27 [chc@c034 git ]$ git clone https://github.com/Blquinn/ohhey
Cloning into 'ohhey'...
remote: Enumerating objects: 118, done.
remote: Counting objects: 100% (118/118), done.
remote: Compressing objects: 100% (65/65), done.
remote: Total 118 (delta 48), reused 117 (delta 47), pack-reused 0
Receiving objects: 100% (118/118), 26.96 MiB | 10.07 MiB/s, done.
Resolving deltas: 100% (48/48), done.
2023-03-03 09:06:39 [chc@c034 git ]$ cd ohhey/
2023-03-03 09:06:46 [chc@c034 ohhey  master ]$ git submodule update --init --recursive
fatal: No url found for submodule path 'src/lib/webcam-v4l2' in .gitmodules
2023-03-03 09:06:47 [chc@c034 ohhey  master ]$