Skip to content

Compile error on Fedora Core 30 #13

@cwheat19

Description

@cwheat19

g++ -DHAVE_CONFIG_H -I. -I/usr/include/opencv -DPIXMAPS_DIR=""/usr/local/share/pixmaps"" -I/usr/lib64/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -g -O2 -MT camview.o -MD -MP -MF .deps/camview.Tpo -c -o camview.o camview.cpp
camview.cpp: In member function ‘void CCamView::DrawCam(IplImage*)’:
camview.cpp:157:84: error: ‘CV_RGB’ was not declared in this scope
157 | , cvPoint(nCamWidth/2, 0), cvPoint(nCamWidth/2, nCamHeight), CV_RGB( 0,255,0 ));
| ^~~~~~

make[1]: *** [Makefile:477: camview.o] Error 1
make[1]: Leaving directory '/usr/local/src/makerscanner'
make: *** [Makefile:354: all] Error 2
ms-error.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions