Comments (5)
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.
This is an embarrassingly old issue, and I suspect it's long been fixed. Does #997 fix this?
from oiio.
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.
Sorry wrong account. Treestle message was from me.
from oiio.
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)
- black lanes in batched texture lookup HOT 13
- [BUG] OIIO::ImageBuf::nsubimages returns zero for existing image HOT 10
- [BUILD] AOCC 4.2 build failure HOT 1
- [BUG] crash if no default fonts are found HOT 4
- [FEATURE REQUEST] OIIO::ImageBufAlgo::make_texture doesn't take an nthreads argument HOT 2
- [FEATURE REQUEST] ImageBuf "wrap" numpy array in python HOT 2
- [FEATURE REQUEST] Proxy support for EXR multipart output HOT 3
- [BUG] SIMD support does not work correctly when building with MSVC
- [FEATURE REQUEST] Add additional approximate diff methods to oiiotool HOT 4
- [BUG] TIFFs saved with CMYK ColorSpace always get converted to 8-bit
- [FEATURE REQUEST] oiiotool channel default HOT 2
- [BUG] 16 and 32 bit PSD files fail to load correctly HOT 4
- PNG alpha premultiplied in texture color space or linear color space? HOT 1
- [BUG] TypeDesc SEGFAULT from Copy Constructor HOT 2
- [BUILD] Can't build with latest OpenColorIO using vcpkg HOT 5
- [BUG] oiiotool with format specifier for exr frames on Windows doesn't work HOT 1
- [BUG] inconsistent results of ImageBuf colorconvert in built without OCIO and with OCIO.
- [BUG] fstream_mingw.h crashed at runtime
- [HELP] "Damaged" JPGs in Photoshop HOT 10
- [BUG] build failed with libheif-1.17.6 on gentoo
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oiio.