Video-Super-Resolution-Library icon indicating copy to clipboard operation
Video-Super-Resolution-Library copied to clipboard

Pkg-config file

Open 1480c1 opened this issue 2 years ago • 2 comments

A pkg-confg (.pc) file would be nice for better integration within the open source ecosystem by way of providing an easier way to declare what CFLAGS and LDFLAGS are needed for proper compilation. This would help prevent needing the user to supply them manually, such as through --extra-cflags="-fopenmp -I../Video-Super-Resolution-Library/install/include/" and --extra-libs='-lraisr -lstdc++ -lippcore -lippvm -lipps -lippi'.

A basic pkg-config file can be observed at https://people.freedesktop.org/~dbn/pkg-config-guide.html and can be configured/generated by cmake as mentioned in https://www.scivision.dev/cmake-generate-pkg-config/

1480c1 avatar May 09 '23 04:05 1480c1

Thank you for such a good suggestion, we will improve in the feature.

xiaoxial avatar May 10 '23 01:05 xiaoxial

@1480c1 Step by step we are moving forward - some projects already utilize the pkg workflow, RAISR will too after upcoming major update. Thanks one more time and I encourage you to check the all in one stack:

Intel® Tiber™ Broadcast Suite package docker build script it includes RAISR too.

RAISR part: Intel® Library for Video Super Resolution (RAISR) for Intel® Tiber™ Broadcast Suite

image

Fiooodooor avatar Aug 31 '24 04:08 Fiooodooor