Giter Site home page Giter Site logo

Comments (5)

piereligio avatar piereligio commented on July 30, 2024

I'm getting the same exact error on FreeBSD, whilst in Windows WSL it worked fine. I wonder if there is some additional step I'm not aware of

from motionphotomuxer.

mihir-io avatar mihir-io commented on July 30, 2024

Thanks for reporting this, I'll look into it.

from motionphotomuxer.

romanovj avatar romanovj commented on July 30, 2024

pkg install exiv2
pkg install boost-headers
CFLAGS=-D_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR pip install py3exiv2==0.9.3

(I used clang)

from motionphotomuxer.

mihir-io avatar mihir-io commented on July 30, 2024

@piereligio Your original issue seems to be that the exiv2 package isn't installed.

After installing that package with pkg install exiv2, I ran into a new issue:

      /data/data/com.termux/files/usr/include/exiv2/tags.hpp:143:17: error: no template named 'auto_ptr' in namespace 'std'; did you mean simply 'auto_ptr'?
        143 |         typedef std::auto_ptr<ExifKey> AutoPtr;
            |                 ^~~~~
      /data/data/com.termux/files/usr/include/exiv2/config.h:105:3: note: 'auto_ptr' declared here
        105 |   using auto_ptr = std::unique_ptr<T>;
            |   ^
      fatal error: too many errors emitted, stopping now [-ferror-limit=]

Which was solved using @romanovj 's suggestion to add the -D_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR CFLAG to the pip install.

Following his instructions, I was able to get this to work on Android 11 (LineageOS) on the Pixel XL.

from motionphotomuxer.

Serendo avatar Serendo commented on July 30, 2024

pyexiv2 is hard to install on termux under android 13. You can use exiv2 cmd tool directly to add gcamera tags.

exiv2 -M "reg GCamera http://ns.google.com/photos/1.0/camera/" -M "add Xmp.GCamera.MicroVideo 1" photo.jpg

works fine for me.

from motionphotomuxer.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.