virinext / hevcesbrowser

HEVCESBrowser is a tool for analyzing hevc(h265) bitstreams
GNU General Public License v2.0
338 stars 98 forks source link

Compile failed on MacOS 11.5.1 #18

Open fsjack opened 3 years ago

fsjack commented 3 years ago

Final step make executed at utils/hevc_es_browser_gui

/Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++1z -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=11 -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I../../hevcparser/include -I../common -I../../external/QHexView/include/ -I/usr/local/Cellar/qt/6.1.3/lib/QtWidgets.framework/Headers -I/usr/local/Cellar/qt/6.1.3/lib/QtGui.framework/Headers -I/usr/local/Cellar/qt/6.1.3/lib/QtCore.framework/Headers -I../../build/qt -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/usr/local/Cellar/qt/6.1.3/share/qt/mkspecs/macx-clang -F/usr/local/Cellar/qt/6.1.3/lib -o ../../build/qt/CommonInfoViewer.o CommonInfoViewer.cpp In file included from CommonInfoViewer.cpp:1: In file included from ./CommonInfoViewer.h:4: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/vector:276: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/bit_reference:14: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/bit:58: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/limits:105: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:417: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstddef:37: ./version:1:1: error: expected unqualified-id 1 ^ In file included from CommonInfoViewer.cpp:1: In file included from ./CommonInfoViewer.h:4: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/vector:276: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/bit_reference:14: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/bit:58: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/limits:105: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:418: ./version:1:1: error: expected unqualified-id 1 ^ In file included from CommonInfoViewer.cpp:1: In file included from ./CommonInfoViewer.h:4: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/vector:276: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/bit_reference:14: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/bit:58: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/limits:121: ./version:1:1: error: expected unqualified-id 1 ^ In file included from CommonInfoViewer.cpp:1: In file included from ./CommonInfoViewer.h:4: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/vector:276: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__bit_reference:14: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/bit:60: ./version:1:1: error: expected unqualified-id 1 ^ In file included from CommonInfoViewer.cpp:1: In file included from ./CommonInfoViewer.h:4: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/vector:276: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/bit_reference:15: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:642: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:205: ./version:1:1: error: expected unqualified-id 1 ^ In file included from CommonInfoViewer.cpp:1: In file included from ./CommonInfoViewer.h:4: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/vector:276: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/bit_reference:15: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:643: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:668: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/typeinfo:60: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/exception:83: ./version:1:1: error: expected unqualified-id 1 ^ In file included from CommonInfoViewer.cpp:1: In file included from ./CommonInfoViewer.h:4: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/vector:276: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__bit_reference:15: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:643: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:671: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/new:93: ./version:1:1: error: expected unqualified-id 1 ^ In file included from CommonInfoViewer.cpp:1: In file included from ./CommonInfoViewer.h:4: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/vector:276: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/bit_reference:15: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:643: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:674: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/iterator:423: ./version:1:1: error: expected unqualified-id 1 ^ In file included from CommonInfoViewer.cpp:1: In file included from ./CommonInfoViewer.h:4: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/vector:276: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/bit_reference:15: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:643: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:677: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/tuple:154: ./version:1:1: error: expected unqualified-id 1 ^ In file included from CommonInfoViewer.cpp:1: In file included from ./CommonInfoViewer.h:4: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/vector:276: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__bit_reference:15: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:643: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:681: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/atomic:576: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/threading_support:14: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/chrono:831: ./version:1:1: error: expected unqualified-id 1 ^ In file included from CommonInfoViewer.cpp:1: In file included from ./CommonInfoViewer.h:4: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/vector:276: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/bit_reference:15: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:643: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:681: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/atomic:581: ./version:1:1: error: expected unqualified-id 1 ^ In file included from CommonInfoViewer.cpp:1: In file included from ./CommonInfoViewer.h:4: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/vector:276: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__bit_reference:15: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:643: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:683: ./version:1:1: error: expected unqualified-id 1 ^ In file included from CommonInfoViewer.cpp:1: In file included from ./CommonInfoViewer.h:4: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/vector:276: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/bit_reference:15: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:644: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:507: ./version:1:1: error: expected unqualified-id 1 ^ In file included from CommonInfoViewer.cpp:1: In file included from ./CommonInfoViewer.h:4: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/vector:276: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__bit_reference:15: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:648: ./version:1:1: error: expected unqualified-id 1 ^ In file included from CommonInfoViewer.cpp:1: In file included from ./CommonInfoViewer.h:4: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/vector:285: ./version:1:1: error: expected unqualified-id 1 ^ In file included from CommonInfoViewer.cpp:1: In file included from ./CommonInfoViewer.h:5: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/map:482: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__node_handle:15: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/optional:158: ./version:1:1: error: expected unqualified-id 1 ^ In file included from CommonInfoViewer.cpp:1: In file included from ./CommonInfoViewer.h:5: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/map:489: ./version:1:1: error: expected unqualified-id 1 ^ In file included from CommonInfoViewer.cpp:1: In file included from ./CommonInfoViewer.h:7: In file included from /usr/local/Cellar/qt/6.1.3/lib/QtWidgets.framework/Headers/QTableWidget:1: In file included from /usr/local/Cellar/qt/6.1.3/lib/QtWidgets.framework/Headers/qtablewidget.h:43: In file included from /usr/local/Cellar/qt/6.1.3/lib/QtWidgets.framework/Headers/qtableview.h:43: In file included from /usr/local/Cellar/qt/6.1.3/lib/QtWidgets.framework/Headers/qtwidgetsglobal.h:43: In file included from /usr/local/Cellar/qt/6.1.3/lib/QtGui.framework/Headers/qtguiglobal.h:43: In file included from /usr/local/Cellar/qt/6.1.3/lib/QtCore.framework/Headers/qglobal.h:1336: In file included from /usr/local/Cellar/qt/6.1.3/lib/QtCore.framework/Headers/qtypeinfo.h:42: In file included from /usr/local/Cellar/qt/6.1.3/lib/QtCore.framework/Headers/qcontainerfwd.h:47: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/variant:201: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/array:119: ./version:1:1: error: expected unqualified-id 1 ^ In file included from CommonInfoViewer.cpp:1: In file included from ./CommonInfoViewer.h:7: In file included from /usr/local/Cellar/qt/6.1.3/lib/QtWidgets.framework/Headers/QTableWidget:1: In file included from /usr/local/Cellar/qt/6.1.3/lib/QtWidgets.framework/Headers/qtablewidget.h:43: In file included from /usr/local/Cellar/qt/6.1.3/lib/QtWidgets.framework/Headers/qtableview.h:43: In file included from /usr/local/Cellar/qt/6.1.3/lib/QtWidgets.framework/Headers/qtwidgetsglobal.h:43: In file included from /usr/local/Cellar/qt/6.1.3/lib/QtGui.framework/Headers/qtguiglobal.h:43: In file included from /usr/local/Cellar/qt/6.1.3/lib/QtCore.framework/Headers/qglobal.h:1336: In file included from /usr/local/Cellar/qt/6.1.3/lib/QtCore.framework/Headers/qtypeinfo.h:42: In file included from /usr/local/Cellar/qt/6.1.3/lib/QtCore.framework/Headers/qcontainerfwd.h:47: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/variant:210: ./version:1:1: error: expected unqualified-id 1 ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [../../build/qt/CommonInfoViewer.o] Error 1

ryanlmcmurray commented 2 years ago

Also failed on macOS Big Sur 11.3.1

JLehman17 commented 2 years ago

Same error on macOS 12.2.1

JLehman17 commented 2 years ago

I got it to build by deleting the file utils/hevc_es_browser_gui/version after running make gitinfo then running make