This repository was archived by the owner on Oct 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 78
Error compiling: opencv.pc file not found. #1294
Copy link
Copy link
Open
Description
I tried to compile the v6 branch inside a container using Debian stable and I got the following error:
root@localhost:/opt/meguca# make
go build -v
# github.com/mattn/go-sqlite3
sqlite3-binding.c: In function ‘sqlite3SelectNew’:
sqlite3-binding.c:129019:10: warning: function may return address of local variable [-Wreturn-local-addr]
129019 | return pNew;
| ^~~~
sqlite3-binding.c:128979:10: note: declared here
128979 | Select standin;
| ^~~~~~~
github.com/bakape/captchouli/v2
# pkg-config --cflags -- opencv
Package opencv was not found in the pkg-config search path.
Perhaps you should add the directory containing `opencv.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opencv' found
pkg-config: exit status 1
make: *** [Makefile:30: server] Error 2
I searched for this file "opencv.pc" in Debian repositories:
This file is not found in the stable version of this package, but is found in oldstable:
This should be fixed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels