-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error when trying to build #1282
Comments
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. |
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:
after which I entered ninja and got the following errors:
|
On Windows I often run CMake for MinGW with |
Unintended C++17 fixed, an error about is_enum_v should have gone so you can try again |
when I try to build the library I get a lot of errors:
Severity Code Description Project File Line Suppression State
Error C2143 syntax error: missing ';' before '{' (compiling source file C:\Users\MyProf\Downloads\cegui-master\cegui\src\ShaderParameterBindings.cpp) CEGUIBase-9999 C:\msys64\mingw64\include\stdio.h 1261
here is the log i get when i type cmake -G "Visual Studio 17 2022" .. :
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.19045.
-- The C compiler identification is MSVC 19.35.32216.1
-- The CXX compiler identification is MSVC 19.35.32216.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools
/MSVC/14.35.32215/bin/Hostx64/x64/cl.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:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Too
ls/MSVC/14.35.32215/bin/Hostx64/x64/cl.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_GLIBCONFIG_INCLUDE_DIR GTK2_GL
IB_LIBRARY)
-- Found PCRE: C:/msys64/mingw64/include
-- Found Freetype: C:/msys64/mingw64/include/freetype2
-- Found Minizip: C:/msys64/mingw64/include
-- Found Fribidi: C:/msys64/mingw64/include/fribidi
-- Found Raqm: C:/msys64/mingw64/include
-- Found OpenGL: opengl32
-- Found GLEW: C:/msys64/mingw64/include
-- Found GLM: C:/msys64/mingw64/include
-- Could NOT find GLFW (missing: GLFW_H_PATH)
-- Found GLFW3: C:/msys64/mingw64/include
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Found Threads: TRUE
-- Found SDL2: C:/msys64/mingw64/include/SDL2
-- Found SDL2_image: C:/msys64/mingw64/include/SDL2
-- Could NOT find SFML (missing: SFML_SYSTEM_LIBRARY SFML_WINDOW_LIBRARY SFML_GRAPHICS_LIBRARY SFML
MAIN_LIBRARY)
-- Found DirectXSDK: C:/Program Files (x86)/Windows Kits/10/Lib/10.0.22621.0/um/x64
-- Could NOT find Irrlicht (missing: IRRLICHT_LIB)
-- FoundOGRE
-- static : OFF
-- components : Bites;Bullet;MeshLodGenerator;Overlay;Paging;Property;RTShaderSystem;Terrain;Volum
e
-- plugins : Plugin_BSPSceneManager;Plugin_OctreeSceneManager;Plugin_PCZSceneManager;Plugin_Par
tickleFX;RenderSystem_GL;RenderSystem_GLES2;RenderSystem_GL3Plus;RenderSystem_Direct3D9;RenderSystem
Direct3D11;Codec_STBI;Codec_FreeImage
-- media : C:/msys64/mingw64/share/OGRE/Media
-- 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)
-- Found PugiXML: C:/msys64/mingw64/include
-- Found EXPAT: C:/msys64/mingw64/include
-- Could NOT find XercesC (missing: XERCESC_H_PATH)
-- Could NOT find LibXml2 (missing: LIBXML2_LIBRARIES) (found version "2.10.3")
-- Found TinyXML2: C:/msys64/mingw64/include
-- Found DevIL: C:/msys64/mingw64/include
-- Found FreeImage: C:/msys64/mingw64/include
-- 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)
-- Found Lua51: C:/msys64/mingw64/include/lua5.1
-- Could NOT find TOLUAPP (missing: TOLUAPP_H_PATH)
-- Found PythonLibs: C:/Users/MyProf/AppData/Local/Programs/Python/Python311/libs/python311.lib (fou
nd 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 (fou
nd version "3.11.1")
-- Found Boost: C:/msys64/mingw64/lib/cmake/Boost-1.81.0/BoostConfig.cmake (found suitable version "
1.81.0", minimum required is "1.36.0") found components: python unit_test_framework system timer
-- Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR) (Required is at least version "3.0.8")
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python
3.12. Use setuptools or check PEP 632 for potential alternatives
:1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
-- Configuring done (23.2s)
-- Generating done (0.6s)
-- Build files have been written to: C:/Users/MyProf/Downloads/cegui-master/build
The text was updated successfully, but these errors were encountered: