Jomy10 / Jomy10/libcamera-swift

The compiler cannot find CameraManager

Open
#1 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dockerfile
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

When I try to run the example the compilation exit with:
```
paolo@raspberry ~/dev/libcamera-swift
% swift run
[1/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
/home/paolo/dev/libcamera-swift/Sources/examples/main.swift:3:31: error: type 'libcamera' has no member 'CameraManager'
1 | import libcamera
2 |
3 | let cameraManager = libcamera.CameraManager()
| `- error: type 'libcamera' has no member 'CameraManager'
4 | let cameras = cameraManager.cameras()
5 | let cameraSelected = 0
/home/paolo/dev/libcamera-swift/Sources/examples/main.swift:3:31: error: type 'libcamera' has no member 'CameraManager'
1 | import libcamera
2 |
3 | let cameraManager = libcamera.CameraManager()
| `- error: type 'libcamera' has no member 'CameraManager'
4 | let cameras = cameraManager.cameras()
5 | let cameraSelected = 0
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.