From fe474571eda2ef0eed219d32a9e517512faec52a Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 12 Dec 2022 17:33:39 +0100 Subject: Add missing initialisation calls to example. --- examples/read_dcp.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'examples') diff --git a/examples/read_dcp.cc b/examples/read_dcp.cc index 1601ffce..b8dd7dd9 100644 --- a/examples/read_dcp.cc +++ b/examples/read_dcp.cc @@ -51,6 +51,10 @@ LIBDCP_ENABLE_WARNINGS int main () { + /* Unless libdcp has been installed, you need to pass a path containing the "tags" folder here */ + dcp::init(boost::filesystem::path(".")); + Magick::InitializeMagick(nullptr); + /* Create a DCP, specifying where our existing data is */ dcp::DCP dcp ("/home/carl/Test_DCP"); /* Read the DCP to find out about it */ -- cgit v1.2.3