I downloaded the latest OCIO code from GitHub (1.1.0) and I was able to compile OCIO using "Visual Studio 2015" as-well as pyOpenColorIO against Python27.
I checked online to see if I could figure out what's causing the issue but I couldn't figure it out. Anybody would know why this is happening ?Was anyone able to compile OCIO 1.1.0 | Win64 | Visual Studio 2015 | Python36 (official 64 bit build) ?
Thanks for your investigations around Python 3.
OCIO does not currently support Python 3. But it would be appreciated to have a pull request fixing the Python 3 support :-)
Thank you for your suggestions, I did look into your diff files but I couldn’t find anything that’s not already added to the current versions of the files.
I got it to compile with Windows 10 / Python 3.6 – Visual Studio 2015, by changing the following line in “pyUtil.h” (line 65):
#define MOD_INIT(name) PyMODINIT_FUNC EXPORT_SYMBOL PyInit_##name(void)
#define MOD_INIT(name) EXPORT_SYMBOL PyMODINIT_FUNC PyInit_##name(void)
I did get a warning message though but the compilation process went through and the “.pyd” file was generated.
I’m honestly no C++ expert so I’m not sure if this makes sense but it seems to work. I need to run further testing next week to confirm but so far so good.