You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
^~~~~~~~~~~~~~~~~~~ In file included from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Master/Master.h:15:0, from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Master/Master.cpp:6: /home/user/gaze2/GazeTheWeb/Browse/Client/src/Singletons/FirebaseMailer.h:125:11: error: explicit specialization in non-namespace scope ‘class FirebaseMailer’ template<> ^ /home/user/gaze2/GazeTheWeb/Browse/Client/src/Singletons/FirebaseMailer.h:126:79: error: template-id ‘FirebaseAddress<FirebaseIntegerKey>’ in declaration of primary template static std::string FirebaseAddress<FirebaseIntegerKey>(FirebaseIntegerKey key) ^ /home/user/gaze2/GazeTheWeb/Browse/Client/src/Singletons/FirebaseMailer.h:211:11: error: explicit specialization in non-namespace scope ‘class FirebaseMailer’ template<> ^ /home/user/gaze2/GazeTheWeb/Browse/Client/src/Singletons/FirebaseMailer.h:212:77: error: template-id ‘FirebaseAddress<FirebaseStringKey>’ in declaration of primary template static std::string FirebaseAddress<FirebaseStringKey>(FirebaseStringKey key) ^ /home/user/gaze2/GazeTheWeb/Browse/Client/src/Singletons/FirebaseMailer.h:221:11: error: explicit specialization in non-namespace scope ‘class FirebaseMailer’ template<> ^ /home/user/gaze2/GazeTheWeb/Browse/Client/src/Singletons/FirebaseMailer.h:222:73: error: template-id ‘FirebaseAddress<FirebaseJSONKey>’ in declaration of primary template static std::string FirebaseAddress<FirebaseJSONKey>(FirebaseJSONKey key) ^ /home/user/gaze2/GazeTheWeb/Browse/Client/src/Singletons/FirebaseMailer.h:310:21: error: too many template-parameter-lists static std::string BuildFirebaseKey(T key, std::string uid) ^~~~~~~~~~~~~~~~ In file included from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Master/Master.h:15:0, from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Master/Master.cpp:6: /home/user/gaze2/GazeTheWeb/Browse/Client/src/Singletons/FirebaseMailer.h:357:8: error: too many template-parameter-lists class IdToken; ^~~~~~~ /home/user/gaze2/GazeTheWeb/Browse/Client/src/Singletons/FirebaseMailer.h:360:8: error: too many template-parameter-lists class FirebaseInterface ^~~~~~~~~~~~~~~~~ In file included from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Master/Master.h:15:0, from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Master/Master.cpp:6: /home/user/gaze2/GazeTheWeb/Browse/Client/src/Singletons/FirebaseMailer.h:426:35: error: ‘FirebaseInterface’ was not declared in this scope typedef const std::function<void(FirebaseInterface&)> Command; ^~~~~~~~~~~~~~~~~ /home/user/gaze2/GazeTheWeb/Browse/Client/src/Singletons/FirebaseMailer.h:426:54: error: template argument 1 is invalid typedef const std::function<void(FirebaseInterface&)> Command; ^ /home/user/gaze2/GazeTheWeb/Browse/Client/src/Singletons/FirebaseMailer.h:445:8: error: too many template-parameter-lists class IdToken ^~~~~~~ /home/user/gaze2/GazeTheWeb/Browse/Client/src/Singletons/FirebaseMailer.h:464:2: error: ‘IdToken’ does not name a type IdToken _idToken; // short living token for identification (indicator for being logged in!) ^~~~~~~ /home/user/gaze2/GazeTheWeb/Browse/Client/src/Singletons/FirebaseMailer.h:437:30: error: use of deleted function ‘std::atomic<bool>::atomic(const std::atomic<bool>&)’ std::atomic<bool> _paused = false; // atomic since could be accessed from multiple async threads ^~~~~ In file included from /usr/include/c++/6/future:43:0, from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Singletons/FirebaseMailer.h:19, from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Master/Master.h:15, from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Master/Master.cpp:6: /usr/include/c++/6/atomic:66:5: note: declared here atomic(const atomic&) = delete; ^~~~~~ /usr/include/c++/6/atomic:70:15: note: after user-defined conversion: constexpr std::atomic<bool>::atomic(bool) constexpr atomic(bool __i) noexcept : _M_base(__i) { } ^~~~~~ In file included from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Master/Master.h:15:0, from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Master/Master.cpp:6: /home/user/gaze2/GazeTheWeb/Browse/Client/src/Singletons/FirebaseMailer.h:440:34: error: use of deleted function ‘std::atomic<int>::atomic(const std::atomic<int>&)’ std::atomic<int> _startIndex = -1; ^ In file included from /usr/include/c++/6/future:43:0, from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Singletons/FirebaseMailer.h:19, from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Master/Master.h:15, from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Master/Master.cpp:6: /usr/include/c++/6/atomic:616:7: note: declared here atomic(const atomic&) = delete; ^~~~~~ /usr/include/c++/6/atomic:620:17: note: after user-defined conversion: constexpr std::atomic<int>::atomic(std::atomic<int>::__integral_type) constexpr atomic(__integral_type __i) noexcept : __base_type(__i) { } ^~~~~~ In file included from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Master/Master.h:15:0, from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Master/Master.cpp:6: /home/user/gaze2/GazeTheWeb/Browse/Client/src/Singletons/FirebaseMailer.h:463:34: error: use of deleted function ‘std::atomic<bool>::atomic(const std::atomic<bool>&)’ std::atomic<bool> _shouldStop = false; // written by this, read by thread ^~~~~ In file included from /usr/include/c++/6/future:43:0, from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Singletons/FirebaseMailer.h:19, from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Master/Master.h:15, from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Master/Master.cpp:6: /usr/include/c++/6/atomic:66:5: note: declared here atomic(const atomic&) = delete; ^~~~~~ /usr/include/c++/6/atomic:70:15: note: after user-defined conversion: constexpr std::atomic<bool>::atomic(bool) constexpr atomic(bool __i) noexcept : _M_base(__i) { } ^~~~~~ In file included from /home/user/gaze2/GazeTheWeb/Browse/Client/src/State/State.h:12:0, from /home/user/gaze2/GazeTheWeb/Browse/Client/src/State/Web/Web.h:10, from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Master/Master.h:17, from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Master/Master.cpp:6: /home/user/gaze2/GazeTheWeb/Browse/Client/src/Input/Input.h: In constructor ‘TabInput::TabInput(std::shared_ptr<const Input>, int, int, int, int, int, int)’: /home/user/gaze2/GazeTheWeb/Browse/Client/src/Input/Input.h:120:15: warning: ‘TabInput::fixationDuration’ will be initialized after [-Wreorder] const float& fixationDuration; ^~~~~~~~~~~~~~~~ /home/user/gaze2/GazeTheWeb/Browse/Client/src/Input/Input.h:96:8: warning: ‘float TabInput::webViewPixelGazeX’ [-Wreorder] float webViewPixelGazeX; ^~~~~~~~~~~~~~~~~ /home/user/gaze2/GazeTheWeb/Browse/Client/src/Input/Input.h:54:2: warning: when initialized here [-Wreorder] TabInput( ^~~~~~~~
I am using the specified CEF 3.3071.1636.g2718da5, and Ubuntu 17.04 with the required packages.
Any help will be great.
[Edit](* I am not sure why the code is formatted that badly *)
The issue is "error: use of deleted function ‘std::atomic::atomic(const std::atomic&)’". Stackoverflow suggests changing it, but this source should be building out of the box.
Further edit: My gcc version is 6.3.0 20170406 , if that is helpful.
The text was updated successfully, but these errors were encountered:
Later, I will try in my another machine with Windows 10 (64-bit).
I hope I can build 32-bit. Any specific cmake command line arguments that I need to pass?
You need Visual Studio 2015 with Update 3 and use cmake to create a solution (32bit, not 64bit). Otherwise should be straightforward, all core dependencies are provided.
I get the following error
^~~~~~~~~~~~~~~~~~~ In file included from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Master/Master.h:15:0, from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Master/Master.cpp:6: /home/user/gaze2/GazeTheWeb/Browse/Client/src/Singletons/FirebaseMailer.h:125:11: error: explicit specialization in non-namespace scope ‘class FirebaseMailer’ template<> ^ /home/user/gaze2/GazeTheWeb/Browse/Client/src/Singletons/FirebaseMailer.h:126:79: error: template-id ‘FirebaseAddress<FirebaseIntegerKey>’ in declaration of primary template static std::string FirebaseAddress<FirebaseIntegerKey>(FirebaseIntegerKey key) ^ /home/user/gaze2/GazeTheWeb/Browse/Client/src/Singletons/FirebaseMailer.h:211:11: error: explicit specialization in non-namespace scope ‘class FirebaseMailer’ template<> ^ /home/user/gaze2/GazeTheWeb/Browse/Client/src/Singletons/FirebaseMailer.h:212:77: error: template-id ‘FirebaseAddress<FirebaseStringKey>’ in declaration of primary template static std::string FirebaseAddress<FirebaseStringKey>(FirebaseStringKey key) ^ /home/user/gaze2/GazeTheWeb/Browse/Client/src/Singletons/FirebaseMailer.h:221:11: error: explicit specialization in non-namespace scope ‘class FirebaseMailer’ template<> ^ /home/user/gaze2/GazeTheWeb/Browse/Client/src/Singletons/FirebaseMailer.h:222:73: error: template-id ‘FirebaseAddress<FirebaseJSONKey>’ in declaration of primary template static std::string FirebaseAddress<FirebaseJSONKey>(FirebaseJSONKey key) ^ /home/user/gaze2/GazeTheWeb/Browse/Client/src/Singletons/FirebaseMailer.h:310:21: error: too many template-parameter-lists static std::string BuildFirebaseKey(T key, std::string uid) ^~~~~~~~~~~~~~~~ In file included from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Master/Master.h:15:0, from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Master/Master.cpp:6: /home/user/gaze2/GazeTheWeb/Browse/Client/src/Singletons/FirebaseMailer.h:357:8: error: too many template-parameter-lists class IdToken; ^~~~~~~ /home/user/gaze2/GazeTheWeb/Browse/Client/src/Singletons/FirebaseMailer.h:360:8: error: too many template-parameter-lists class FirebaseInterface ^~~~~~~~~~~~~~~~~ In file included from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Master/Master.h:15:0, from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Master/Master.cpp:6: /home/user/gaze2/GazeTheWeb/Browse/Client/src/Singletons/FirebaseMailer.h:426:35: error: ‘FirebaseInterface’ was not declared in this scope typedef const std::function<void(FirebaseInterface&)> Command; ^~~~~~~~~~~~~~~~~ /home/user/gaze2/GazeTheWeb/Browse/Client/src/Singletons/FirebaseMailer.h:426:54: error: template argument 1 is invalid typedef const std::function<void(FirebaseInterface&)> Command; ^ /home/user/gaze2/GazeTheWeb/Browse/Client/src/Singletons/FirebaseMailer.h:445:8: error: too many template-parameter-lists class IdToken ^~~~~~~ /home/user/gaze2/GazeTheWeb/Browse/Client/src/Singletons/FirebaseMailer.h:464:2: error: ‘IdToken’ does not name a type IdToken _idToken; // short living token for identification (indicator for being logged in!) ^~~~~~~ /home/user/gaze2/GazeTheWeb/Browse/Client/src/Singletons/FirebaseMailer.h:437:30: error: use of deleted function ‘std::atomic<bool>::atomic(const std::atomic<bool>&)’ std::atomic<bool> _paused = false; // atomic since could be accessed from multiple async threads ^~~~~ In file included from /usr/include/c++/6/future:43:0, from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Singletons/FirebaseMailer.h:19, from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Master/Master.h:15, from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Master/Master.cpp:6: /usr/include/c++/6/atomic:66:5: note: declared here atomic(const atomic&) = delete; ^~~~~~ /usr/include/c++/6/atomic:70:15: note: after user-defined conversion: constexpr std::atomic<bool>::atomic(bool) constexpr atomic(bool __i) noexcept : _M_base(__i) { } ^~~~~~ In file included from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Master/Master.h:15:0, from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Master/Master.cpp:6: /home/user/gaze2/GazeTheWeb/Browse/Client/src/Singletons/FirebaseMailer.h:440:34: error: use of deleted function ‘std::atomic<int>::atomic(const std::atomic<int>&)’ std::atomic<int> _startIndex = -1; ^ In file included from /usr/include/c++/6/future:43:0, from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Singletons/FirebaseMailer.h:19, from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Master/Master.h:15, from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Master/Master.cpp:6: /usr/include/c++/6/atomic:616:7: note: declared here atomic(const atomic&) = delete; ^~~~~~ /usr/include/c++/6/atomic:620:17: note: after user-defined conversion: constexpr std::atomic<int>::atomic(std::atomic<int>::__integral_type) constexpr atomic(__integral_type __i) noexcept : __base_type(__i) { } ^~~~~~ In file included from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Master/Master.h:15:0, from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Master/Master.cpp:6: /home/user/gaze2/GazeTheWeb/Browse/Client/src/Singletons/FirebaseMailer.h:463:34: error: use of deleted function ‘std::atomic<bool>::atomic(const std::atomic<bool>&)’ std::atomic<bool> _shouldStop = false; // written by this, read by thread ^~~~~ In file included from /usr/include/c++/6/future:43:0, from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Singletons/FirebaseMailer.h:19, from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Master/Master.h:15, from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Master/Master.cpp:6: /usr/include/c++/6/atomic:66:5: note: declared here atomic(const atomic&) = delete; ^~~~~~ /usr/include/c++/6/atomic:70:15: note: after user-defined conversion: constexpr std::atomic<bool>::atomic(bool) constexpr atomic(bool __i) noexcept : _M_base(__i) { } ^~~~~~ In file included from /home/user/gaze2/GazeTheWeb/Browse/Client/src/State/State.h:12:0, from /home/user/gaze2/GazeTheWeb/Browse/Client/src/State/Web/Web.h:10, from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Master/Master.h:17, from /home/user/gaze2/GazeTheWeb/Browse/Client/src/Master/Master.cpp:6: /home/user/gaze2/GazeTheWeb/Browse/Client/src/Input/Input.h: In constructor ‘TabInput::TabInput(std::shared_ptr<const Input>, int, int, int, int, int, int)’: /home/user/gaze2/GazeTheWeb/Browse/Client/src/Input/Input.h:120:15: warning: ‘TabInput::fixationDuration’ will be initialized after [-Wreorder] const float& fixationDuration; ^~~~~~~~~~~~~~~~ /home/user/gaze2/GazeTheWeb/Browse/Client/src/Input/Input.h:96:8: warning: ‘float TabInput::webViewPixelGazeX’ [-Wreorder] float webViewPixelGazeX; ^~~~~~~~~~~~~~~~~ /home/user/gaze2/GazeTheWeb/Browse/Client/src/Input/Input.h:54:2: warning: when initialized here [-Wreorder] TabInput( ^~~~~~~~
I am using the specified CEF 3.3071.1636.g2718da5, and Ubuntu 17.04 with the required packages.
Any help will be great.
[Edit](* I am not sure why the code is formatted that badly *)
The issue is "error: use of deleted function ‘std::atomic::atomic(const std::atomic&)’". Stackoverflow suggests changing it, but this source should be building out of the box.
Further edit: My gcc version is 6.3.0 20170406 , if that is helpful.
The text was updated successfully, but these errors were encountered: