developer0hye / Yolo_Label

GUI for marking bounded boxes of objects in images for training neural network YOLO
MIT License
509 stars 114 forks source link

Installing Error in Veture 13.2.1 #63

Open zkshbz opened 1 year ago

zkshbz commented 1 year ago

while trying to run make command in MacOs Venture 13.2.1 I got the error

Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++1z  -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk -mmacosx-version-min=10.10 -Wall -W -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../opt/anaconda3/include/qt -I../../opt/anaconda3/include/qt/QtWidgets -I../../opt/anaconda3/include/qt/QtGui -I../../opt/anaconda3/include/qt/QtCore -I. -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk/System/Library/Frameworks/AGL.framework/Headers -I. -I../../opt/anaconda3/mkspecs/macx-clang -o label_img.o label_img.cpp
In file included from label_img.cpp:1:
In file included from ./label_img.h:7:
In file included from ../../opt/anaconda3/include/qt/QtGui/QMouseEvent:1:
In file included from ../../opt/anaconda3/include/qt/QtGui/qevent.h:50:
../../opt/anaconda3/include/qt/QtCore/qvariant.h:380:16: warning: definition of implicit copy assignment operator for 'Private' is deprecated because it has a user-provided copy constructor [-Wdeprecated-copy-with-user-provided-copy]
        inline Private(const Private &other) Q_DECL_NOTHROW
               ^
../../opt/anaconda3/include/qt/QtCore/qvariant.h:265:15: note: in implicit copy assignment operator for 'QVariant::Private' first required here
    { other.d = Private(); }
              ^
label_img.cpp:74:48: warning: unused parameter 'ev' [-Wunused-parameter]
void label_img::mouseReleaseEvent(QMouseEvent *ev)
                                               ^
label_img.cpp:312:31: error: use of undeclared identifier 'QColorConstants'
            blackPen.setColor(QColorConstants::Black);
                              ^
label_img.cpp:314:31: error: use of undeclared identifier 'QColorConstants'
            blackPen.setColor(QColorConstants::White);
                              ^
2 warnings and 2 errors generated.
make: *** [label_img.o] Error 1

Do you have any recommendation to solve it