Comments (4)
You are using MSVC compiler but the libraries are from MinGW. Either switch to a GCC / Clang compiler or use vcpkg to install libraries for your MSVC.
from cegui.
now I tried to compile the library using cmake -G Ninja -DCEGUI_BUILD_IMAGECODEC_SILLY=ON .. in MSYS2 MINGW64 here is the log that I got in response to the command:
MyProf@DESKTOP-P7S0TJP MINGW64 /c/Users/MyProf/Downloads/cegui-master/build
$ cmake -G Ninja -DCEGUI_BUILD_IMAGECODEC_SILLY=ON ..
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/msys64/mingw64/bin/cc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/msys64/mingw64/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Some or all of the gtk libraries were not found. (missing: GTK2_GTK_LIBRARY GTK2_GTK_INCLUDE_DIR GTK2_GDK_INCLUDE_DIR GTK2_GDKCONFIG_INCLUDE_DIR GTK2_GDK_LIBRARY GTK2_GLIB_INCLUDE_DIR GTK2_GLIBCONFIG_INCLUDE_DIR GTK2_GLIB_LIBRARY)
-- Could NOT find PCRE (missing: PCRE_H_PATH)
-- Could NOT find Freetype (missing: FREETYPE_H_PATH_ft2build FREETYPE_H_PATH_ftconfig)
-- Could NOT find Minizip (missing: MINIZIP_H_PATH)
-- Could NOT find Fribidi (missing: FRIBIDI_H_PATH)
-- Could NOT find Raqm (missing: RAQM_H_PATH)
-- Found OpenGL: opengl32
-- Could NOT find GLEW (missing: GLEW_H_PATH)
-- Found GLM: C:/msys64/mingw64/include
-- Could NOT find GLFW (missing: GLFW_H_PATH)
-- Could NOT find GLFW3 (missing: GLFW3_H_PATH)
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Could NOT find SDL2 (missing: SDL2_H_PATH)
-- Could NOT find SDL2_image (missing: SDL2IMAGE_H_PATH)
-- Could NOT find SFML (missing: SFML_SYSTEM_LIBRARY SFML_WINDOW_LIBRARY SFML_GRAPHICS_LIBRARY SFML_MAIN_LIBRARY)
-- Could NOT find Irrlicht (missing: IRRLICHT_LIB IRRLICHT_H_PATH)
-- Could NOT find OGRE (missing: OGRE_DIR)
-- Looking for OGRE...
-- OGRE_PREFIX_WATCH changed.
-- Found PkgConfig: C:/msys64/mingw64/bin/pkg-config.exe (found version "1.8.0")
-- Checking for module 'OGRE'
-- Package 'OGRE', required by 'virtual:world', not found
-- Could not locate OGRE
-- Could NOT find DirectFB (missing: DIRECTFB_H_PATH)
-- Could NOT find OpenGLES (missing: OPENGLES_LIB OPENGLES_H_PATH)
-- Could NOT find OpenGLES2 (missing: OPENGLES2_LIB OPENGLES2_H_PATH)
-- Could NOT find OpenGLES3 (missing: OPENGLES3_LIB OPENGLES3_H_PATH)
-- Could NOT find Epoxy (missing: EPOXY_LIB EPOXY_H_PATH)
-- Could NOT find PugiXML (missing: PUGIXML_H_PATH)
-- Found EXPAT: C:/msys64/mingw64/include
-- Could NOT find XercesC (missing: XERCESC_H_PATH)
-- Could NOT find LibXml2 (missing: LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR)
-- Could NOT find TinyXML2 (missing: TINYXML2_H_PATH)
-- Could NOT find DevIL (missing: IL_H_PATH)
-- Could NOT find FreeImage (missing: FREEIMAGE_H_PATH)
-- Could NOT find SILLY (missing: SILLY_H_PATH)
-- Could NOT find Corona (missing: CORONA_H_PATH)
-- Could NOT find PVRTools (missing: PVRTOOLS_LIB PVRTOOLS_H_PATH)
-- Could NOT find Lua51 (missing: LUA_H_PATH)
-- Could NOT find TOLUAPP (missing: TOLUAPP_H_PATH)
-- Found PythonLibs: C:/Users/MyProf/AppData/Local/Programs/Python/Python311/libs/python311.lib (found suitable version "3.11.1", minimum required is "3.5")
-- Found PythonInterp: C:/msys64/mingw64/bin/python.exe (found version "3.10.10")
-- Found PythonLibs: C:/Users/MyProf/AppData/Local/Programs/Python/Python311/libs/python311.lib (found version "3.11.1")
-- Could NOT find Boost (missing: Boost_INCLUDE_DIR python unit_test_framework system timer) (Required is at least version "1.36.0")
-- Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR) (Required is at least version "3.0.8")
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Configuring done (23.4s)
-- Generating done (0.1s)
-- Build files have been written to: C:/Users/MyProf/Downloads/cegui-master/build
after which I entered ninja and got the following errors:
$ ninja
[9/249] Building CXX object cegui/src/CMakeFiles/CEGUIBase-9999.dir/AnimationInstance.cpp.obj
FAILED: cegui/src/CMakeFiles/CEGUIBase-9999.dir/AnimationInstance.cpp.obj
C:\msys64\mingw64\bin\c++.exe -DCEGUIBASE_EXPORTS -DNOMINMAX -D_CRT_SECURE_NO_WARNINGS -IC:/Users/MyProf/Downloads/cegui-master/build/cegui/include -IC:/Users/MyProf/Downloads/cegui-master/cegui/include -Wno-attributes -fsigned-char -Wall -Wextra -Wundef -O3 -DNDEBUG -std=c++14 -MD -MT cegui/src/CMakeFiles/CEGUIBase-9999.dir/AnimationInstance.cpp.obj -MF cegui
\src\CMakeFiles\CEGUIBase-9999.dir\AnimationInstance.cpp.obj.d -o cegui/src/CMakeFiles/CEGUIBase-9999.dir/AnimationInstance.cpp.obj -c C:/Users/MyProf/Downloads/cegui-master/cegui/src/AnimationInstance.cpp
In file included from C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/Window.h:33,
from C:/Users/MyProf/Downloads/cegui-master/cegui/src/AnimationInstance.cpp:32:
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:47:130: error: 'is_enum_v' is not a member of 'std'; did you mean 'is_enum'?
47 | template<typename T, bool needShift = false, typename mask_t = std::underlying_type_t, class = typename std::enable_if_t<std::is_enum_v>>
| ^~~~~~~~~
| is_enum
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:47:130: error: 'is_enum_v' is not a member of 'std'; did you mean 'is_enum'?
47 | template<typename T, bool needShift = false, typename mask_t = std::underlying_type_t, class = typename std::enable_if_t<std::is_enum_v>>
| ^~~~~~~~~
| is_enum
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:47:140: error: template argument 1 is invalid
47 | template<typename T, bool needShift = false, typename mask_t = std::underlying_type_t, class = typename std::enable_if_t<std::is_enum_v>>
| ^
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:47:141: error: expected identifier before '>' token
47 | template<typename T, bool needShift = false, typename mask_t = std::underlying_type_t, class = typename std::enable_if_t<std::is_enum_v>>
| ^~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:47:143: error: expected unqualified-id before '>' token
47 | template<typename T, bool needShift = false, typename mask_t = std::underlying_type_t, class = typename std::enable_if_t<std::is_enum_v>>
| ^
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:279:22: error: 'Flags' does not name a type
279 | using MouseButtons = Flags<MouseButton, true>;
| ^~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:294:47: error: expected template-name before '<' token
294 | struct CEGUIEXPORT ModifierKeys : public Flags
| ^
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:294:47: error: expected '{' before '<' token
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:294:47: error: expected unqualified-id before '<' token
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:372:18: error: field 'd_map' has incomplete type 'CEGUI::ModifierKeys'
372 | ModifierKeys d_map = 0; // ModifierKey bits that need to be checked
| ^~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:294:20: note: forward declaration of 'struct CEGUI::ModifierKeys'
294 | struct CEGUIEXPORT ModifierKeys : public Flags
| ^~~~~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:373:18: error: field 'd_set' has incomplete type 'CEGUI::ModifierKeys'
373 | ModifierKeys d_set = 0; // Whether the corresponding key should be pressed or not
| ^~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:294:20: note: forward declaration of 'struct CEGUI::ModifierKeys'
294 | struct CEGUIEXPORT ModifierKeys : public Flags
| ^~~~~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:342:29: error: 'keys' has incomplete type
342 | bool match(ModifierKeys keys) const
| ~~~~~~~~~~~~~^~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:294:20: note: forward declaration of 'struct CEGUI::ModifierKeys'
294 | struct CEGUIEXPORT ModifierKeys : public Flags
| ^~~~~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h: In member function 'bool CEGUI::ModifierKeyRule::match(CEGUI::ModifierKeys) const':
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:345:32: error: variable 'CEGUI::ModifierKeys violations' has initializer but incomplete type
345 | ModifierKeys violations((keys.getMask() ^ d_set.getMask()) & d_map.getMask());
| ^
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:350:44: error: incomplete type 'CEGUI::ModifierKeys' used in nested name specifier
350 | if (d_set.hasAll(ModifierKeys::Shift()) && !violations.hasAll(ModifierKeys::Shift()))
| ^~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:350:89: error: incomplete type 'CEGUI::ModifierKeys' used in nested name specifier
350 | if (d_set.hasAll(ModifierKeys::Shift()) && !violations.hasAll(ModifierKeys::Shift()))
| ^~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:351:45: error: incomplete type 'CEGUI::ModifierKeys' used in nested name specifier
351 | violations -= ModifierKeys::Shift();
| ^~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:352:44: error: incomplete type 'CEGUI::ModifierKeys' used in nested name specifier
352 | if (d_set.hasAll(ModifierKeys::Ctrl()) && !violations.hasAll(ModifierKeys::Ctrl()))
| ^~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:352:88: error: incomplete type 'CEGUI::ModifierKeys' used in nested name specifier
352 | if (d_set.hasAll(ModifierKeys::Ctrl()) && !violations.hasAll(ModifierKeys::Ctrl()))
| ^~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:353:45: error: incomplete type 'CEGUI::ModifierKeys' used in nested name specifier
353 | violations -= ModifierKeys::Ctrl();
| ^~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:354:44: error: incomplete type 'CEGUI::ModifierKeys' used in nested name specifier
354 | if (d_set.hasAll(ModifierKeys::Alt()) && !violations.hasAll(ModifierKeys::Alt()))
| ^~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:354:87: error: incomplete type 'CEGUI::ModifierKeys' used in nested name specifier
354 | if (d_set.hasAll(ModifierKeys::Alt()) && !violations.hasAll(ModifierKeys::Alt()))
| ^~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:355:45: error: incomplete type 'CEGUI::ModifierKeys' used in nested name specifier
355 | violations -= ModifierKeys::Alt();
| ^~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h: At global scope:
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:426:67: error: 'MouseButtons' has not been declared
426 | CursorInputEventArgs(Window* wnd, const glm::vec2& globalPos, MouseButtons buttons = {}, ModifierKeys modifiers = {});
| ^~~~~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:435:5: error: 'MouseButtons' does not name a type; did you mean 'MouseButton'?
435 | MouseButtons d_buttons;
| ^~~~~~~~~~~~
| MouseButton
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:437:18: error: field 'd_modifiers' has incomplete type 'CEGUI::ModifierKeys'
437 | ModifierKeys d_modifiers;
| ^~~~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:294:20: note: forward declaration of 'struct CEGUI::ModifierKeys'
294 | struct CEGUIEXPORT ModifierKeys : public Flags
| ^~~~~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:426:120: error: invalid use of incomplete type 'struct CEGUI::ModifierKeys'
426 | CursorInputEventArgs(Window* wnd, const glm::vec2& globalPos, MouseButtons buttons = {}, ModifierKeys modifiers = {});
| ^
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:294:20: note: forward declaration of 'struct CEGUI::ModifierKeys'
294 | struct CEGUIEXPORT ModifierKeys : public Flags
| ^~~~~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:452:66: error: 'MouseButtons' has not been declared
452 | CursorMoveEventArgs(Window* wnd, const glm::vec2& globalPos, MouseButtons buttons, ModifierKeys modifiers, const glm::vec2& moveDelta)
| ^~~~~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:452:101: error: 'modifiers' has incomplete type
452 | CursorMoveEventArgs(Window* wnd, const glm::vec2& globalPos, MouseButtons buttons, ModifierKeys modifiers, const glm::vec2& moveDelta)
| ~~~~~~~~~~~~~^~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:294:20: note: forward declaration of 'struct CEGUI::ModifierKeys'
294 | struct CEGUIEXPORT ModifierKeys : public Flags
| ^~~~~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:468:67: error: 'MouseButtons' has not been declared
468 | MouseButtonEventArgs(Window* wnd, const glm::vec2& globalPos, MouseButtons buttons, ModifierKeys modifiers, MouseButton button, int clickEventOrder = 0)
| ^~~~~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:468:102: error: 'modifiers' has incomplete type
468 | MouseButtonEventArgs(Window* wnd, const glm::vec2& globalPos, MouseButtons buttons, ModifierKeys modifiers, MouseButton button, int clickEventOrder = 0)
| ~~~~~~~~~~~~~^~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:294:20: note: forward declaration of 'struct CEGUI::ModifierKeys'
294 | struct CEGUIEXPORT ModifierKeys : public Flags
| ^~~~~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:486:62: error: 'MouseButtons' has not been declared
486 | ScrollEventArgs(Window* wnd, const glm::vec2& globalPos, MouseButtons buttons, ModifierKeys modifiers, float delta)
| ^~~~~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:486:97: error: 'modifiers' has incomplete type
486 | ScrollEventArgs(Window* wnd, const glm::vec2& globalPos, MouseButtons buttons, ModifierKeys modifiers, float delta)
| ~~~~~~~~~~~~~^~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:294:20: note: forward declaration of 'struct CEGUI::ModifierKeys'
294 | struct CEGUIEXPORT ModifierKeys : public Flags
| ^~~~~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:518:18: error: field 'd_modifiers' has incomplete type 'CEGUI::ModifierKeys'
518 | ModifierKeys d_modifiers;
| ^~~~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:294:20: note: forward declaration of 'struct CEGUI::ModifierKeys'
294 | struct CEGUIEXPORT ModifierKeys : public Flags
| ^~~~~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:513:72: error: invalid use of incomplete type 'struct CEGUI::ModifierKeys'
513 | KeyEventArgs(Window* wnd, Key::Scan key, ModifierKeys modifiers = {}) : WindowEventArgs(wnd), d_key(key), d_modifiers(modifiers) {}
| ^
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:294:20: note: forward declaration of 'struct CEGUI::ModifierKeys'
294 | struct CEGUIEXPORT ModifierKeys : public Flags
| ^~~~~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:513:59: error: 'modifiers' has incomplete type
513 | KeyEventArgs(Window* wnd, Key::Scan key, ModifierKeys modifiers = {}) : WindowEventArgs(wnd), d_key(key), d_modifiers(modifiers) {}
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:294:20: note: forward declaration of 'struct CEGUI::ModifierKeys'
294 | struct CEGUIEXPORT ModifierKeys : public Flags
| ^~~~~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:610:5: error: 'MouseButtons' does not name a type; did you mean 'MouseButton'?
610 | MouseButtons buttons;
| ^~~~~~~~~~~~
| MouseButton
[11/249] Building CXX object cegui/src/CMakeFiles/CEGUIBase-9999.dir/Config_xmlHandler.cpp.obj
FAILED: cegui/src/CMakeFiles/CEGUIBase-9999.dir/Config_xmlHandler.cpp.obj
C:\msys64\mingw64\bin\c++.exe -DCEGUIBASE_EXPORTS -DNOMINMAX -D_CRT_SECURE_NO_WARNINGS -IC:/Users/MyProf/Downloads/cegui-master/build/cegui/include -IC:/Users/MyProf/Downloads/cegui-master/cegui/include -Wno-attributes -fsigned-char -Wall -Wextra -Wundef -O3 -DNDEBUG -std=c++14 -MD -MT cegui/src/CMakeFiles/CEGUIBase-9999.dir/Config_xmlHandler.cpp.obj -MF cegui
\src\CMakeFiles\CEGUIBase-9999.dir\Config_xmlHandler.cpp.obj.d -o cegui/src/CMakeFiles/CEGUIBase-9999.dir/Config_xmlHandler.cpp.obj -c C:/Users/MyProf/Downloads/cegui-master/cegui/src/Config_xmlHandler.cpp
In file included from C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/Window.h:33,
from C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/falagard/SectionSpecification.h:30,
from C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/falagard/LayerSpecification.h:30,
from C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/falagard/StateImagery.h:30,
from C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/falagard/WidgetLookFeel.h:31,
from C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/falagard/WidgetLookManager.h:32,
from C:/Users/MyProf/Downloads/cegui-master/cegui/src/Config_xmlHandler.cpp:40:
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:47:130: error: 'is_enum_v' is not a member of 'std'; did you mean 'is_enum'?
47 | template<typename T, bool needShift = false, typename mask_t = std::underlying_type_t, class = typename std::enable_if_t<std::is_enum_v>>
| ^~~~~~~~~
| is_enum
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:47:130: error: 'is_enum_v' is not a member of 'std'; did you mean 'is_enum'?
47 | template<typename T, bool needShift = false, typename mask_t = std::underlying_type_t, class = typename std::enable_if_t<std::is_enum_v>>
| ^~~~~~~~~
| is_enum
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:47:140: error: template argument 1 is invalid
47 | template<typename T, bool needShift = false, typename mask_t = std::underlying_type_t, class = typename std::enable_if_t<std::is_enum_v>>
| ^
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:47:141: error: expected identifier before '>' token
47 | template<typename T, bool needShift = false, typename mask_t = std::underlying_type_t, class = typename std::enable_if_t<std::is_enum_v>>
| ^~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:47:143: error: expected unqualified-id before '>' token
47 | template<typename T, bool needShift = false, typename mask_t = std::underlying_type_t, class = typename std::enable_if_t<std::is_enum_v>>
| ^
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:279:22: error: 'Flags' does not name a type
279 | using MouseButtons = Flags<MouseButton, true>;
| ^~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:294:47: error: expected template-name before '<' token
294 | struct CEGUIEXPORT ModifierKeys : public Flags
| ^
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:294:47: error: expected '{' before '<' token
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:294:47: error: expected unqualified-id before '<' token
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:372:18: error: field 'd_map' has incomplete type 'CEGUI::ModifierKeys'
372 | ModifierKeys d_map = 0; // ModifierKey bits that need to be checked
| ^~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:294:20: note: forward declaration of 'struct CEGUI::ModifierKeys'
294 | struct CEGUIEXPORT ModifierKeys : public Flags
| ^~~~~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:373:18: error: field 'd_set' has incomplete type 'CEGUI::ModifierKeys'
373 | ModifierKeys d_set = 0; // Whether the corresponding key should be pressed or not
| ^~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:294:20: note: forward declaration of 'struct CEGUI::ModifierKeys'
294 | struct CEGUIEXPORT ModifierKeys : public Flags
| ^~~~~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:342:29: error: 'keys' has incomplete type
342 | bool match(ModifierKeys keys) const
| ~~~~~~~~~~~~~^~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:294:20: note: forward declaration of 'struct CEGUI::ModifierKeys'
294 | struct CEGUIEXPORT ModifierKeys : public Flags
| ^~~~~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h: In member function 'bool CEGUI::ModifierKeyRule::match(CEGUI::ModifierKeys) const':
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:345:32: error: variable 'CEGUI::ModifierKeys violations' has initializer but incomplete type
345 | ModifierKeys violations((keys.getMask() ^ d_set.getMask()) & d_map.getMask());
| ^
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:350:44: error: incomplete type 'CEGUI::ModifierKeys' used in nested name specifier
350 | if (d_set.hasAll(ModifierKeys::Shift()) && !violations.hasAll(ModifierKeys::Shift()))
| ^~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:350:89: error: incomplete type 'CEGUI::ModifierKeys' used in nested name specifier
350 | if (d_set.hasAll(ModifierKeys::Shift()) && !violations.hasAll(ModifierKeys::Shift()))
| ^~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:351:45: error: incomplete type 'CEGUI::ModifierKeys' used in nested name specifier
351 | violations -= ModifierKeys::Shift();
| ^~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:352:44: error: incomplete type 'CEGUI::ModifierKeys' used in nested name specifier
352 | if (d_set.hasAll(ModifierKeys::Ctrl()) && !violations.hasAll(ModifierKeys::Ctrl()))
| ^~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:352:88: error: incomplete type 'CEGUI::ModifierKeys' used in nested name specifier
352 | if (d_set.hasAll(ModifierKeys::Ctrl()) && !violations.hasAll(ModifierKeys::Ctrl()))
| ^~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:353:45: error: incomplete type 'CEGUI::ModifierKeys' used in nested name specifier
353 | violations -= ModifierKeys::Ctrl();
| ^~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:354:44: error: incomplete type 'CEGUI::ModifierKeys' used in nested name specifier
354 | if (d_set.hasAll(ModifierKeys::Alt()) && !violations.hasAll(ModifierKeys::Alt()))
| ^~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:354:87: error: incomplete type 'CEGUI::ModifierKeys' used in nested name specifier
354 | if (d_set.hasAll(ModifierKeys::Alt()) && !violations.hasAll(ModifierKeys::Alt()))
| ^~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:355:45: error: incomplete type 'CEGUI::ModifierKeys' used in nested name specifier
355 | violations -= ModifierKeys::Alt();
| ^~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h: At global scope:
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:426:67: error: 'MouseButtons' has not been declared
426 | CursorInputEventArgs(Window* wnd, const glm::vec2& globalPos, MouseButtons buttons = {}, ModifierKeys modifiers = {});
| ^~~~~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:435:5: error: 'MouseButtons' does not name a type; did you mean 'MouseButton'?
435 | MouseButtons d_buttons;
| ^~~~~~~~~~~~
| MouseButton
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:437:18: error: field 'd_modifiers' has incomplete type 'CEGUI::ModifierKeys'
437 | ModifierKeys d_modifiers;
| ^~~~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:294:20: note: forward declaration of 'struct CEGUI::ModifierKeys'
294 | struct CEGUIEXPORT ModifierKeys : public Flags
| ^~~~~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:426:120: error: invalid use of incomplete type 'struct CEGUI::ModifierKeys'
426 | CursorInputEventArgs(Window* wnd, const glm::vec2& globalPos, MouseButtons buttons = {}, ModifierKeys modifiers = {});
| ^
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:294:20: note: forward declaration of 'struct CEGUI::ModifierKeys'
294 | struct CEGUIEXPORT ModifierKeys : public Flags
| ^~~~~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:452:66: error: 'MouseButtons' has not been declared
452 | CursorMoveEventArgs(Window* wnd, const glm::vec2& globalPos, MouseButtons buttons, ModifierKeys modifiers, const glm::vec2& moveDelta)
| ^~~~~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:452:101: error: 'modifiers' has incomplete type
452 | CursorMoveEventArgs(Window* wnd, const glm::vec2& globalPos, MouseButtons buttons, ModifierKeys modifiers, const glm::vec2& moveDelta)
| ~~~~~~~~~~~~~^~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:294:20: note: forward declaration of 'struct CEGUI::ModifierKeys'
294 | struct CEGUIEXPORT ModifierKeys : public Flags
| ^~~~~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:468:67: error: 'MouseButtons' has not been declared
468 | MouseButtonEventArgs(Window* wnd, const glm::vec2& globalPos, MouseButtons buttons, ModifierKeys modifiers, MouseButton button, int clickEventOrder = 0)
| ^~~~~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:468:102: error: 'modifiers' has incomplete type
468 | MouseButtonEventArgs(Window* wnd, const glm::vec2& globalPos, MouseButtons buttons, ModifierKeys modifiers, MouseButton button, int clickEventOrder = 0)
| ~~~~~~~~~~~~~^~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:294:20: note: forward declaration of 'struct CEGUI::ModifierKeys'
294 | struct CEGUIEXPORT ModifierKeys : public Flags
| ^~~~~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:486:62: error: 'MouseButtons' has not been declared
486 | ScrollEventArgs(Window* wnd, const glm::vec2& globalPos, MouseButtons buttons, ModifierKeys modifiers, float delta)
| ^~~~~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:486:97: error: 'modifiers' has incomplete type
486 | ScrollEventArgs(Window* wnd, const glm::vec2& globalPos, MouseButtons buttons, ModifierKeys modifiers, float delta)
| ~~~~~~~~~~~~~^~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:294:20: note: forward declaration of 'struct CEGUI::ModifierKeys'
294 | struct CEGUIEXPORT ModifierKeys : public Flags
| ^~~~~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:518:18: error: field 'd_modifiers' has incomplete type 'CEGUI::ModifierKeys'
518 | ModifierKeys d_modifiers;
| ^~~~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:294:20: note: forward declaration of 'struct CEGUI::ModifierKeys'
294 | struct CEGUIEXPORT ModifierKeys : public Flags
| ^~~~~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:513:72: error: invalid use of incomplete type 'struct CEGUI::ModifierKeys'
513 | KeyEventArgs(Window* wnd, Key::Scan key, ModifierKeys modifiers = {}) : WindowEventArgs(wnd), d_key(key), d_modifiers(modifiers) {}
| ^
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:294:20: note: forward declaration of 'struct CEGUI::ModifierKeys'
294 | struct CEGUIEXPORT ModifierKeys : public Flags
| ^~~~~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:513:59: error: 'modifiers' has incomplete type
513 | KeyEventArgs(Window* wnd, Key::Scan key, ModifierKeys modifiers = {}) : WindowEventArgs(wnd), d_key(key), d_modifiers(modifiers) {}
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:294:20: note: forward declaration of 'struct CEGUI::ModifierKeys'
294 | struct CEGUIEXPORT ModifierKeys : public Flags
| ^~~~~~~~~~~~
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/InputEvent.h:610:5: error: 'MouseButtons' does not name a type; did you mean 'MouseButton'?
610 | MouseButtons buttons;
| ^~~~~~~~~~~~
| MouseButton
In file included from C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/falagard/Dimensions.h:30,
from C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/falagard/ComponentBase.h:30,
from C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/falagard/ImageryComponent.h:30,
from C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/falagard/ImagerySection.h:30,
from C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/falagard/WidgetLookFeel.h:32:
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/falagard/Enums.h: In function 'CEGUI::HorizontalTextFormatting CEGUI::decomposeHorizontalFormatting(HorizontalTextFormatting, bool*)':
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/falagard/Enums.h:115:16: warning: enumeration value 'LeftAligned' not handled in switch [-Wswitch]
115 | switch (fmt)
| ^
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/falagard/Enums.h:115:16: warning: enumeration value 'RightAligned' not handled in switch [-Wswitch]
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/falagard/Enums.h:115:16: warning: enumeration value 'CentreAligned' not handled in switch [-Wswitch]
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/falagard/Enums.h:115:16: warning: enumeration value 'Justified' not handled in switch [-Wswitch]
C:/Users/MyProf/Downloads/cegui-master/cegui/include/CEGUI/falagard/Enums.h:115:16: warning: enumeration value 'Bidi' not handled in switch [-Wswitch]
[22/249] Building CXX object cegui/src/CMakeFiles/CEGUIBase-9999.dir/Element.cpp.obj
ninja: build stopped: subcommand failed.
from cegui.
On Windows I often run CMake for MinGW with -G MinGW Makefiles
. I'm not sure that Ninja generator would work since I rarely use it (which is supposed for Visual Studio I think)
from cegui.
Unintended C++17 fixed, an error about is_enum_v should have gone so you can try again
from cegui.
Related Issues (20)
- Combobox: if has set ReadOnly=true then click to editbox should show drop list HOT 1
- Please open Github Discussions HOT 2
- Failed to build on MSYS2 MINGW64 HOT 2
- Please consider switching to PCRE2 HOT 1
- Please upgrade the connection on cegui.org.uk to https HOT 1
- How to build without Direct3D renderer? HOT 1
- CEGUI string to std string in the dev build, how? HOT 2
- Editbox, backspace and enter key HOT 1
- CEGUI 0.8.7 with Ogre 1.10.11 renderer HOT 1
- Crash in Combo-box if it is expanded and you hide/remove screen by ESC (GUI context is null) HOT 2
- Executables not being built for CEGUI sample code HOT 9
- Cannot Find Lua HeaderFile HOT 1
- CEGUI - CEGUIOgreRenderer-0.dll not found HOT 2
- Can't build with Ogre 14
- Staic build cegui has link error
- ListboxTextItem::setTextColours doesn't work with MultiColumnList
- cegui build failed again libxml2 HOT 1
- CEGUI failed compiling, missing external symbol HOT 1
- Text padding changed. Is there a different way to handle that now?
- Compilation fails using std03 and std14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cegui.