jesterKing / import_3dm

Blender importer script for Rhinoceros 3D files
MIT License
301 stars 38 forks source link

cannot compile for linux with gcc-4, 6, llvm-9 #65

Closed maxnbk closed 4 years ago

maxnbk commented 4 years ago
  Scanning dependencies of target _rhino3dm
  [  0%] Building CXX object CMakeFiles/_rhino3dm.dir/bindings/base64.cpp.o
  [  0%] Building CXX object CMakeFiles/_rhino3dm.dir/bindings/bindings.cpp.o
  In file included from /tmp/pip-wheel-61me0eo0/rhino3dm/src/bindings/../lib/opennurbs/opennurbs.h:53:0,
                   from /tmp/pip-wheel-61me0eo0/rhino3dm/src/bindings/bindings.h:19,
                   from /tmp/pip-wheel-61me0eo0/rhino3dm/src/bindings/bindings.cpp:1:
  /tmp/pip-wheel-61me0eo0/rhino3dm/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;
                                              ^
  In file included from /tmp/pip-wheel-61me0eo0/rhino3dm/src/bindings/../lib/opennurbs/opennurbs_system.h:595:0,
                   from /tmp/pip-wheel-61me0eo0/rhino3dm/src/bindings/../lib/opennurbs/opennurbs.h:29,
                   from /tmp/pip-wheel-61me0eo0/rhino3dm/src/bindings/bindings.h:19,
                   from /tmp/pip-wheel-61me0eo0/rhino3dm/src/bindings/bindings.cpp:1:
  /usr/include/c++/4.8.2/atomic:601:7: error: declared here
         atomic(const atomic&) = delete;
         ^
  make[2]: *** [CMakeFiles/_rhino3dm.dir/bindings/bindings.cpp.o] Error 1
  make[1]: *** [CMakeFiles/_rhino3dm.dir/all] Error 2
  make: *** [all] Error 2

from what I understand, atomic is non-copyable

maxnbk commented 4 years ago

rofl... wrong project...