Skip to content

#error "DLIB_NO_GUI_SUPPORT is defined so you can't use the GUI code. Turn DLIB_NO_GUI_SUPPORT off if you want to use it." #348

@charul09

Description

@charul09

How do I turn DLIB_NO_GUI_SUPPORT off ?
I am trying to run imglab to put bounding boxes in my sample images.
I wrote the command: cmake --build . --config Release
I got an error: home/charul/dlib/dlib/../dlib/gui_widgets/../gui_core/gui_core_kernel_2.h:11:2: error: #error "DLIB_NO_GUI_SUPPORT is defined so you can't use the GUI code. Turn DLIB_NO_GUI_SUPPORT off if you want to use it."
#error "DLIB_NO_GUI_SUPPORT is defined so you can't use the GUI code. Turn DLI
^
/home/charul/dlib/dlib/../dlib/gui_widgets/../gui_core/gui_core_kernel_2.h:12:2: error: #error "Also make sure you have libx11-dev installed on your system"
#error "Also make sure you have libx11-dev installed on your system"

While I understand the error, I dont understand how to turn off DLIB_NO_GUI_SUPPORT and from which module?

Thanks

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