Giter Club home page Giter Club logo

Comments (4)

cary-ilm avatar cary-ilm commented on July 25, 2024

Are you attempting to build the python bindings for OpenEXR or for Imath? The OpenEXR bindings don't use boost, so that shouldn't be a problem.

Can you include the log file of the build?

from openexr.

CGStirk avatar CGStirk commented on July 25, 2024

I'm trying to build the python bindings for openexr, not for Imath. Here is the CMakeConfigureLog.yaml file (converted to txt for uploading) CMakeConfigureLog.txt. This is the only log I see besides the terminal output I provided, but please let me know if you need something else.

from openexr.

cary-ilm avatar cary-ilm commented on July 25, 2024

I'm not sure how to interpret the CMakeConfigureLog.txt, except that a step is failing to find pthread.h.

The msys2_terminal.txt log you included above is for the cmake configuration but not the build itself. If you're new to cmake, you generally run it twice: once to generating the configuration files, and second time to actually do the compilation, something like cmake --build .

I think the complaints about boost are a red herring you can ignore, although I have no experience with Windows so I'm not entirely sure what's going on.

from openexr.

CGStirk avatar CGStirk commented on July 25, 2024

Apologies. I did not realize there was an additional step to build, but that now makes sense given that I could build the exe’s in Visual Studio after the initial cmake command and I was confused as to why I had to use VS to generate them.

I also now realize I have been using the wrong flag -DPYTHON, which is for Imath, not for openexr. I believe I should be using
-DOPENEXR_BUILD_PYTHON which is listed in the root CMakeCache.txt file. This did not solve the problem though.

Running cmake --build . by using a standard install of Windows CMake fails due to an issue with libdeflate.h. Here is the terminal log: cmake_log_failed.txt

I then switched to msys2’s cmake with ninja, which did not report any failures as far as I can tell. This generated exe’s in the bin folder but no python files. I don’t know whether to expect a whl file or py files. Here are the terminal logs for that: msys2_cmake_log.txt

from openexr.

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.