Comments (9)
Yup, it looks like neither beignet
nor beignet-devel
provides a libcl.pc
file. I'm not sure where to get it. @windyuan can you help with this?
from libxcam.
I believe the package is beignet
. Try dnf provides */libcl.so
.
from libxcam.
ok yes you are right but
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
echo $PKG_CONFIG_PATH
/usr/local/lib/pkgconfig:/usr/lib/pkgconfig
./configure --enable-libcl --enable-opencv
checking for LIBCL... no
checking for LIBCL... no
locate libcl.so
/usr/lib64/beignet/libcl.so
dnf list installed | grep beignet
beignet.x86_64 1.2.0-1.fc24 @updates
beignet-devel.x86_64 1.2.0-1.fc24 @updates
any idea how i can solve this?
from libxcam.
as workaround
set HAVE_LIBCL=1 in configure.ac after the libcl check
and add -lOpenCL to the tests/Makefile
from libxcam.
@uartie, sorry for late reply, just came back from Chinese New Year vacation.
yes, you are right, it's the beignet dependency. currently libxcam code depends on <CL/cl_intel.h> which can be get from beignet-devel
. libcl.pc
had ever been used in some other projects. Your code should go to here
if test "$enable_libcl" = "yes" && test "$HAVE_LIBCL" -eq 0; then
PKG_CHECK_MODULES(LIBCL, [OpenCL], [HAVE_LIBCL=1], [HAVE_LIBCL=0])
fi
which means you have to install OpenCL.pc first.
@arpu , thanks for your workaround, force to set HAVE_LIBCL=1
in configure.ac is not necessary if OpenCL.pc
was installed. could you submit your patch with OpenCL for tests/Makefile?
Thanks,
Wind Yuan
from libxcam.
dnf provides OpenCL.pc
Last metadata expiration check: 22:08:54 ago on Mon Feb 6 19:44:30 2017.
Error: No Matches found
about the patch i will look at this!
from libxcam.
@arpu, thanks.
sorry, I don't have a Fedora OS. In Ubuntu, OpenCL.pc
is from ocl-icd-opencl-dev
. you can check ocl-icl related package.
from libxcam.
works now for me i think the problem was not installed ocl dev package
from libxcam.
thank you.
from libxcam.
Related Issues (20)
- Car Surround view with fisheye cameras HOT 23
- If surround view is working with libxcam, can anyone please post output image ? HOT 2
- The documents are not generate HOT 1
- How do I process live camera inputs to generate surround view? HOT 5
- How do I specify OpenCV calibration parameters? HOT 1
- Build failure with GCC 12, narrowing conversion from 'long unsigned int' to 'int' [-Wnarrowing]
- How to get better Car Surround view with fisheye cameras?
- Is there any way to correct the fisheye of a single image? HOT 7
- How to add 2 inputs to gstreamer's xcamfilter plugin for stitch HOT 4
- configure giving error for wrong opencv version while running autogen.sh HOT 2
- not makefile found HOT 1
- build 'dump_dma_video_buf' was not declared in this scope HOT 3
- Surround View with 2 cameras using DewarpSphere Mode HOT 4
- test-surround-view: command not found HOT 5
- how to check which makefile is running when we execute the build given in wiki? HOT 2
- Bowl View using Fisheye Cameras from a Car HOT 1
- FisheyeInfo doesn't match to OpenCL program.
- About 360 Surround View
- minor wiki/testing typo?
- Missing Parameters K,D,R,t,c in json file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libxcam.