Compiling wiht DCP support

*nix specific usage questions
sup
Blank Cone
Blank Cone
Posts: 11
Joined: 29 Oct 2013 15:59

Compiling wiht DCP support

Postby sup » 12 Feb 2017 01:36

AI try to build VLC so that it supports playing DCP. I gather I need to run ./configure --enable-asdcp

However, I am getting

Code: Select all

checking for ASDCP... no configure: error: Package requirements (asdcplib) were not met: No package 'asdcplib' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables ASDCP_CFLAGS and ASDCP_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.
I installed asdcplib 2.2.7.19 form here: http://www.cinecert.com/asdcplib/download/

The developement files installed on 1:27 in /usr/local/include seem to be there:

Code: Select all

-rw-r--r-- 1 root root 75650 Feb 12 01:27 AS_DCP.h -rw-r--r-- 1 root root 5236 Feb 12 01:27 AtmosSyncChannel_Generator.h -rw-r--r-- 1 root root 3271 Feb 12 01:27 AtmosSyncChannel_Mixer.h lrwxrwxrwx 1 root root 28 Sep 18 17:10 CL -> /opt/intel/opencl/include/CL -rw-r--r-- 1 root root 7222 Feb 12 01:27 JP2K.h -rw-r--r-- 1 root root 7069 Feb 12 01:27 KLV.h -rw-r--r-- 1 root root 7748 Feb 12 01:27 KM_error.h -rw-r--r-- 1 root root 14348 Feb 12 01:27 KM_fileio.h -rw-r--r-- 1 root root 9849 Feb 12 01:27 KM_log.h -rw-r--r-- 1 root root 6477 Feb 12 01:27 KM_memio.h -rw-r--r-- 1 root root 2888 Feb 12 01:27 KM_mutex.h -rw-r--r-- 1 root root 6751 Feb 12 01:27 KM_platform.h -rw-r--r-- 1 root root 2086 Feb 12 01:27 KM_prng.h -rw-r--r-- 1 root root 2745 Feb 12 01:27 KM_tai.h -rw-r--r-- 1 root root 19250 Feb 12 01:27 KM_util.h -rw-r--r-- 1 root root 6969 Feb 12 01:27 KM_xml.h drwxr-xr-x 2 root root 4096 Feb 12 00:24 libavcodec drwxr-xr-x 2 root root 4096 Feb 12 00:24 libavdevice drwxr-xr-x 2 root root 4096 Feb 12 00:24 libavfilter drwxr-xr-x 2 root root 4096 Feb 12 00:24 libavformat drwxr-xr-x 2 root root 4096 Feb 12 00:24 libavutil drwxr-xr-x 2 root root 4096 Sep 18 17:10 libdrm drwxr-xr-x 2 root root 4096 Sep 18 17:10 libkms drwxr-xr-x 2 root root 4096 Feb 12 00:24 libswresample drwxr-xr-x 2 root root 4096 Feb 12 00:24 libswscale -rw-r--r-- 1 root root 25974 Feb 12 01:27 MDD.h -rw-r--r-- 1 root root 41772 Feb 12 01:27 Metadata.h drwxr-xr-x 2 root root 4096 Sep 18 17:05 mfx -rw-r--r-- 1 root root 18930 Feb 12 01:27 MXF.h -rw-r--r-- 1 root root 20139 Feb 12 01:27 MXFTypes.h -rw-r--r-- 1 root root 4676 Feb 12 01:27 PCMDataProviders.h -rw-r--r-- 1 root root 2939 Feb 12 01:27 PCMParserList.h -rw-r--r-- 1 root root 4639 Feb 12 01:27 S12MTimecode.h -rw-r--r-- 1 root root 3672 Feb 12 01:27 ST2095_PinkNoise.h -rw-r--r-- 1 root root 2360 Feb 12 01:27 SyncCommon.h -rw-r--r-- 1 root root 3265 Feb 12 01:27 SyncEncoder.h -rw-r--r-- 1 root root 2029 Feb 12 01:27 UUIDInformation.h drwxr-xr-x 2 root root 4096 Sep 18 17:10 va -rw-r--r-- 1 root root 5308 Feb 12 01:27 Wav.h -rw-r--r-- 1 root root 28558 Sep 18 17:10 xf86drm.h -rw-r--r-- 1 root root 14224 Sep 18 17:10 xf86drmMode.h
Any ideas how to tell VLC where it can find the asdcplib?

sup
Blank Cone
Blank Cone
Posts: 11
Joined: 29 Oct 2013 15:59

Re: Compiling wiht DCP support

Postby sup » 15 Feb 2017 13:35

Turns out I just needed to put file asdcplib.pc to /usr/share/pkgconfig on my Ubuntu 16.04
with following content and then it compiled fine with --enable-asdcp:

Code: Select all

prefix=/usr/local exec_prefix=${prefix} includedir=${prefix}/include libdir=${exec_prefix}/lib Name: asdcplib Description: The asdcp library Version: 2.7.19 Cflags: -I${includedir} Libs: -L${libdir} -lasdcp -lkumu -lnettle -lgmp


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 31 guests