These are chat archives for highfidelity/hifi

1st
Jun 2017
Midnight
@MidnightRift
Jun 01 2017 07:26
Hey do we know what would cause things to not compile in linux (CentOS 7)with the latest build all three of my boxes came up with this error
[ 32%] Building CXX object libraries/gpu/CMakeFiles/gpu.dir/src/gpu/Batch.cpp.o [ 32%] Building CXX object libraries/gpu/CMakeFiles/gpu.dir/src/gpu/Buffer.cpp.o In file included from /opt/hifi/source/libraries/gpu/src/gpu/Buffer.h:24:0, from /opt/hifi/source/libraries/gpu/src/gpu/Buffer.cpp:9: /opt/hifi/source/libraries/gpu/src/gpu/Metric.h: In constructor 'constexpr gpu::Metric<unsigned int>::Metric()': /opt/hifi/source/libraries/gpu/src/gpu/Metric.h:19:7: error: use of deleted function 'std::atomic<unsigned int>::atomic(const std::atomic<unsigned int>&)' class Metric { ^ In file included from /opt/hifi/source/libraries/gpu/src/gpu/Buffer.h:12:0, from /opt/hifi/source/libraries/gpu/src/gpu/Buffer.cpp:9: /usr/include/c++/4.8.2/atomic:620:7: error: declared here atomic(const atomic&) = delete; ^ In file included from /opt/hifi/source/libraries/gpu/src/gpu/Buffer.h:24:0, from /opt/hifi/source/libraries/gpu/src/gpu/Buffer.cpp:9: /opt/hifi/source/libraries/gpu/src/gpu/Metric.h:19:7: error: use of deleted function 'std::atomic<unsigned int>::atomic(const std::atomic<unsigned int>&)' class Metric { ^ In file included from /opt/hifi/source/libraries/gpu/src/gpu/Buffer.h:12:0, from /opt/hifi/source/libraries/gpu/src/gpu/Buffer.cpp:9: /usr/include/c++/4.8.2/atomic:620:7: error: declared here atomic(const atomic&) = delete; ^ /opt/hifi/source/libraries/gpu/src/gpu/Buffer.cpp: At global scope: /opt/hifi/source/libraries/gpu/src/gpu/Buffer.cpp:14:28: note: synthesized method 'constexpr gpu::Metric<unsigned int>::Metric()' first required here ContextMetricCount Buffer::_bufferCPUCount; ^ In file included from /opt/hifi/source/libraries/gpu/src/gpu/Buffer.h:24:0, from /opt/hifi/source/libraries/gpu/src/gpu/Buffer.cpp:9: /opt/hifi/source/libraries/gpu/src/gpu/Metric.h: In constructor 'constexpr gpu::Metric<long unsigned int>::Metric()': /opt/hifi/source/libraries/gpu/src/gpu/Metric.h:19:7: error: use of deleted function 'std::atomic<long unsigned int>::atomic(const std::atomic<long unsigned int>&)' class Metric { ^ In file included from /opt/hifi/source/libraries/gpu/src/gpu/Buffer.h:12:0, from /opt/hifi/source/libraries/gpu/src/gpu/Buffer.cpp:9: /usr/include/c++/4.8.2/atomic:658:7: error: declared here atomic(const atomic&) = delete; ^ In file included from /opt/hifi/source/libraries/gpu/src/gpu/Buffer.h:24:0, from /opt/hifi/source/libraries/gpu/src/gpu/Buffer.cpp:9: /opt/hifi/source/libraries/gpu/src/gpu/Metric.h:19:7: error: use of deleted function 'std::atomic<long unsigned int>::atomic(const std::atomic<long unsigned int>&)' class Metric { ^ In file included from /opt/hifi/source/libraries/gpu/src/gpu/Buffer.h:12:0, from /opt/hifi/source/libraries/gpu/src/gpu/Buffer.cpp:9: /usr/include/c++/4.8.2/atomic:658:7: error: declared here atomic(const atomic&) = delete; ^ /opt/hifi/source/libraries/gpu/src/gpu/Buffer.cpp: At global scope: /opt/hifi/source/libraries/gpu/src/gpu/Buffer.cpp:15:27: note: synthesized method 'constexpr gpu::Metric<long unsigned int>::Metric()' first required here ContextMetricSize Buffer::_bufferCPUMemSize; ^ make[3]: *** [libraries/gpu/CMakeFiles/gpu.dir/src/gpu/Buffer.cpp.o] Error 1 make[2]: *** [libraries/gpu/CMakeFiles/gpu.dir/all] Error 2 make[1]: *** [assignment-client/CMakeFiles/assignment-client.dir/rule] Error 2 make: *** [assignment-client] Error 2
Seth Alves
@sethalves
Jun 01 2017 23:29
@amvmoody if you remove your build directory, pull from master and rebuild, does it still happen?
Midnight
@MidnightRift
Jun 01 2017 23:38
ill do a pull from master. and the build dir gets deleted every time the script i use is ran