Skip to content

Commit

Permalink
Fix mingw build
Browse files Browse the repository at this point in the history
  • Loading branch information
fspindle committed Jul 4, 2023
1 parent c6be1bf commit 8ec91fa
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
#include <iostream>

#include <visp3/core/vpConfig.h>
#if (VISP_CXX_STANDARD >= VISP_CXX_STANDARD_17) && defined(VISP_HAVE_NLOHMANN_JSON) && defined(VISP_HAVE_OPENCV) && defined(HAVE_OPENCV_VIDEOIO) && defined(HAVE_OPENCV_DNN)
#if (VISP_CXX_STANDARD >= VISP_CXX_STANDARD_17) && defined(VISP_HAVE_NLOHMANN_JSON) && defined(VISP_HAVE_OPENCV) && defined(HAVE_OPENCV_VIDEOIO) && defined(HAVE_OPENCV_DNN) && \
(defined(VISP_HAVE_X11) || defined(VISP_HAVE_GDI) || defined(HAVE_OPENCV_HIGHGUI))

#include <optional>

Expand Down Expand Up @@ -274,7 +275,7 @@ int main(int argc, const char *argv [])
vpDisplayX d;
#elif defined(VISP_HAVE_GDI)
vpDisplayGDI d;
#elif defined(HAVE_OPENCV_HUIGUI)
#elif defined(HAVE_OPENCV_HIGHGUI)
vpDisplayOpenCV d;
#endif
//d.setDownScalingFactor(vpDisplay::SCALE_AUTO);
Expand Down

0 comments on commit 8ec91fa

Please sign in to comment.