Skip to content

How to create a library correctly? #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Jamaika1 opened this issue Feb 22, 2025 · 3 comments
Open

How to create a library correctly? #24

Jamaika1 opened this issue Feb 22, 2025 · 3 comments

Comments

@Jamaika1
Copy link

Hello
How do I install such library under GCC? I couldn't generate it correctly.
What ipp plugins are recommended?
https://www.sendspace.com/file/ymdoxj

@cabirdme
Copy link
Contributor

@Jamaika1 The files you share through this URL appear to be Windows-only (EXEs).
Building this filter for GCC/Linux is definitely possible. If you are having problems, please share your build complaints.

I would suggest downloading IPP from Intel's url: https://www.intel.com/content/www/us/en/developer/tools/oneapi/ipp.html
Once IPP is installed you can add its libraries to your environment:
source ~/intel/oneapi/ipp/latest/env/vars.sh
After that you can try building Raisr and ideally it will find the Ipp libraries from your path:
./build.sh

I can also note that if build issues are problematic, there is a build-docker.sh script which builds a docker image with ffmpeg.
Please follow up with any further issue.

@cabirdme
Copy link
Contributor

I can also point you to How to build if it helps. I think it largely covers the steps I shared above.
The OpenCL steps are needed only if you plan to run on GPU. If you want to run on CPU you can skip these steps.

@Jamaika1
Copy link
Author

I use IPP https://sourceforge.net/projects/opencvlibrary/files/3rdparty/ippicv/. This creation is compiled for windows but also for virtual studio. It needs __GSHandlerCheck. There is no ipp in C/C++ that you can compile yourself for GCC.
I don't use CUDA drivers. I used the latest opencl drivers as for the opencv library. I assume there is no problem with that.
https://github.com/KhronosGroup/OpenCL-ICD-Loader
https://github.com/KhronosGroup/OpenCL-Headers
At my level of knowledge I couldn't cope.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants