Giter Club home page Giter Club logo

Comments (5)

hydratim avatar hydratim commented on August 16, 2024

Since Python3K was released all PyString commands have been renamed to PyBytes
To fix this edit the file /home/bartus/src/OpenImageIO-svn/src/python/py_imagespec.cpp replacing the (now depreciated) PyString_FromString with the correct python3k PyBytes_FromString.

Then edit /home/bartus/src/OpenImageIO-svn/src/python/py_oiio.cpp and do the same to any instances of PyString that you find with PyBytes.

This will correct the errors and allow you to build the library correctly.

from oiio.

lgritz avatar lgritz commented on August 16, 2024

This is an embarrassingly old issue, and I suspect it's long been fixed. Does #997 fix this?

from oiio.

treestle avatar treestle commented on August 16, 2024

Wow! I hope so... I don't have time to set this up right now as I don't work in graphics any more. Perhaps someone else can fix it.

from oiio.

hydratim avatar hydratim commented on August 16, 2024

Sorry wrong account. Treestle message was from me.

from oiio.

lgritz avatar lgritz commented on August 16, 2024

No prob. I'm going to close this issue on the assumption that Python3 works fine (other Python3 PR's have been merged, so presumably if it didn't build, we'd know it). If it's still a problem for somebody, they'll open a new issue.

from oiio.

Related Issues (20)

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.