GithubHelp home page GithubHelp logo

unable to build on linux about rhino3dm HOT 5 CLOSED

mcneel avatar mcneel commented on September 28, 2024
unable to build on linux

from rhino3dm.

Comments (5)

mcneel-build avatar mcneel-build commented on September 28, 2024

Linked with RH3DM-77

from rhino3dm.

pearswj avatar pearswj commented on September 28, 2024

Try updating GCC to version 7 or 8. Our Python 2 CI builds currently run on Ubuntu with GCC 7.4 and our Python 3 builds run on Debian with GCC 8.3.

from rhino3dm.

bareya avatar bareya commented on September 28, 2024

Change of compiler has little to do with error that is happening here:

    /tmp/pip-req-build-BYVT7S/src/bindings/../lib/opennurbs/opennurbs_lock.h:118:44: error: use of deleted function ‘std::atomic<int>::atomic(const std::atomic<int>&)’
       std::atomic<int> m_lock_value = ON_Lock::UnlockedValue;

Solution is to change assignment to direct initialization, then all those preprocessor ifs with clang can go out. I have been playing with it here:
mcneel/opennurbs@6e40704

from rhino3dm.

pearswj avatar pearswj commented on September 28, 2024

Thanks for the suggestion @bareya – I'll pass it along to my colleagues who look after opennurbs.

In the meantime, I managed to install the rhino3dm package via pip (Python 3) on Centos 7 using gcc 7.3.1.

yum install centos-release-scl
yum install devtoolset-7-gcc*
scl enable devtoolset-7 bash
pip3 install -vv rhino3dm
exit

from rhino3dm.

mcneel-build avatar mcneel-build commented on September 28, 2024

Closed via RH3DM-77

from rhino3dm.

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.