Skip to content

Can´t compile: stuck at the same point repeatable #2

@Experiment4

Description

@Experiment4

I want to install the uvc according to https://www.raspberrypi.com/tutorials/plug-and-play-raspberry-pi-usb-webcam/.

With this part of the commands:

git clone https://gitlab.freedesktop.org/camera/uvc-gadget.git
Navigate to the downloaded folder:

$ cd uvc-gadget
We now need to make, build, and install the software with the following commands:

make uvc-gadget
cd build
sudo meson install
sudo ldconfig

the first compile run: has this output but gets stuck at step 13 of 18 compiling

Project version: 0.4.0
C compiler for the host machine: cc (gcc 12.2.0 "cc (Debian 12.2.0-14) 12.2.0")
C linker for the host machine: cc ld.bfd 2.40
C++ compiler for the host machine: c++ (gcc 12.2.0 "c++ (Debian 12.2.0-14) 12.2.0")
C++ linker for the host machine: c++ ld.bfd 2.40
Host machine cpu family: aarch64
Host machine cpu: aarch64
Found pkg-config: /usr/bin/pkg-config (1.8.1)
Run-time dependency libcamera found: YES 0.3.2
Run-time dependency libjpeg found: YES 2.1.5
Run-time dependency threads found: YES
Configuring config.h using configuration
Dependency uvcgadget found: YES 0.4.0 (overridden)
Build targets in project: 2

uvc-gadget 0.4.0

Versions
Sources: 0.4.0+5-dab22ba0

User defined options
prefix : /usr

Found ninja-1.11.1 at /usr/bin/ninja
Generating targets: 0%| | Generating targets: 50%|██████████████████████▌ | 1/2 [00: Writing build.ninja: 0%| | 0 WARNING: Running the setup command as meson [options] instead of meson setup [options] is ambiguous and deprecated.
ninja -C build/
ninja: Entering directory `build/'
[13/18] Compiling C object src/uvc-gadget.p/main.c.oThe Meson build system
Version: 1.0.1
Source dir: /home/tom/uvc-gadget
Build dir: /home/tom/uvc-gadget/build
Build type: native build
Project name: uvc-gadget
Project version: 0.4.0
C compiler for the host machine: cc (gcc 12.2.0 "cc (Debian 12.2.0-14) 12.2.0")
C linker for the host machine: cc ld.bfd 2.40
C++ compiler for the host machine: c++ (gcc 12.2.0 "c++ (Debian 12.2.0-14) 12.2.0")
C++ linker for the host machine: c++ ld.bfd 2.40
Host machine cpu family: aarch64
Host machine cpu: aarch64
Found pkg-config: /usr/bin/pkg-config (1.8.1)
Run-time dependency libcamera found: YES 0.3.2
Run-time dependency libjpeg found: YES 2.1.5
Run-time dependency threads found: YES
Configuring config.h using configuration
Dependency uvcgadget found: YES 0.4.0 (overridden)
Build targets in project: 2

uvc-gadget 0.4.0

Versions
Sources: 0.4.0+5-dab22ba0

User defined options
prefix : /usr

Found ninja-1.11.1 at /usr/bin/ninja
Generating targets: 0%| | Generating targets: 50%|██████████████████████▌ | 1/2 [00: Writing build.ninja: 0%| | 0 WARNING: Running the setup command as meson [options] instead of meson setup [options] is ambiguous and deprecated.
ninja -C build/
ninja: Entering directory `build/'
[13/18] Compiling C object src/uvc-gadget.p/main.c.o

stuck at 13

the second time i get:

tom@Microcam:~/uvc-gadget $ make uvc-gadget
ninja -C build/
ninja: Entering directory `build/'
[0/5] Compiling C++ object lib/libuvcgadget.so.0.4.0.p/mjpeg_encoder.cpp.o

and then the process is stuck.

any idea ?

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