cth103 / libdcp

Library for reading and writing Digital Cinema Packages (DCPs).
GNU General Public License v2.0
22 stars 11 forks source link

Error installing libdcp when i add --static. #14

Open priyankoivan opened 2 months ago

priyankoivan commented 2 months ago

hello ,

i build libdcp using ' ./waf configure build ' this commend but when I put '--static' in at last it show me error .

[169/182] Compiling examples/make_dcp.cc
In file included from ../src/types.h:45,
                 from ../src/asset_list.h:39,
                 from ../src/asset_map.h:35,
                 from ../src/dcp.h:44,
                 from ../examples/make_dcp.cc:34:
/usr/local/include/libcxml/cxml.h:24:10: fatal error: glibmm/ustring.h: No such file or directory
   24 | #include <glibmm/ustring.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.

Waf: Leaving directory `/home/ivan/Downloads/f/libdcp-main/build'
Build failed
 -> task in 'make_dcp' failed with exit status 1 (run with -v to display more information)

I already install glibmm and libcxml . but it show me error

cth103 commented 2 months ago

The --static flags are probably a bit fragile. If you want a quick fix you could try configuring with --disable-examples