Skip to content
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

Failed to build on MSYS2 MINGW64 #2310

Open
ghost opened this issue Jun 25, 2023 · 0 comments
Open

Failed to build on MSYS2 MINGW64 #2310

ghost opened this issue Jun 25, 2023 · 0 comments

Comments

@ghost
Copy link

ghost commented Jun 25, 2023

$ ninja
[1/272] Building CXX object CMakeFiles/cinder.dir/src/cinder/BandedMatrix.cpp.obj
[2/272] Building CXX object CMakeFiles/cinder.dir/src/cinder/Base64.cpp.obj
[3/272] Building CXX object CMakeFiles/cinder.dir/src/cinder/Buffer.cpp.obj
[4/272] Building CXX object CMakeFiles/cinder.dir/src/cinder/Area.cpp.obj
[5/272] Building CXX object CMakeFiles/cinder.dir/src/cinder/BSplineFit.cpp.obj
[6/272] Building CXX object CMakeFiles/cinder.dir/src/cinder/BSpline.cpp.obj
[7/272] Building CXX object CMakeFiles/cinder.dir/src/cinder/Camera.cpp.obj
[8/272] Building CXX object CMakeFiles/cinder.dir/src/cinder/CameraUi.cpp.obj
FAILED: CMakeFiles/cinder.dir/src/cinder/CameraUi.cpp.obj
C:\msys64\mingw64\bin\c++.exe -DFT2_BUILD_LIBRARY -DFT_DEBUG_LEVEL_TRACE -DNOMINMAX -DUNICODE -D_CRT_SECURE_NO_WARNINGS -D_LIB -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D_WIN32_WINNT=0x0601 -IC:/msys64/home/Administrator/Cinder/include/jsoncpp -IC:/msys64/home/Administrator/Cinder/include/tinyexr -IC:/msys64/home/Administrator/Cinder/include/imgui -IC:/msys64/home/Administrator/Cinder/src/linebreak -IC:/msys64/home/Administrator/Cinder/src/oggvorbis/vorbis -IC:/msys64/home/Administrator/Cinder/src/r8brain -isystem C:/msys64/home/Administrator/Cinder/include -isystem C:/msys64/home/Administrator/Cinder/include/oggvorbis -isystem C:/msys64/home/Administrator/Cinder/src/AntTweakBar -isystem C:/msys64/home/Administrator/Cinder/include/freetype -isystem C:/msys64/home/Administrator/Cinder/include/msw/zlib -isystem C:/msys64/home/Administrator/Cinder/include/msw -std=c++17  -g -MD -MT CMakeFiles/cinder.dir/src/cinder/CameraUi.cpp.obj -MF CMakeFiles\cinder.dir\src\cinder\CameraUi.cpp.obj.d -o CMakeFiles/cinder.dir/src/cinder/CameraUi.cpp.obj -c C:/msys64/home/Administrator/Cinder/src/cinder/CameraUi.cpp
In file included from C:/msys64/home/Administrator/Cinder/include/cinder/Display.h:30,
                 from C:/msys64/home/Administrator/Cinder/include/cinder/app/Window.h:28,
                 from C:/msys64/home/Administrator/Cinder/include/cinder/CameraUi.h:28,
                 from C:/msys64/home/Administrator/Cinder/src/cinder/CameraUi.cpp:26:
C:/msys64/home/Administrator/Cinder/include/cinder/msw/CinderWindowsFwd.h:64:9: error: '_Null_terminated_' does not name a type
   64 | typedef _Null_terminated_ CHAR *NPSTR, *LPSTR, *PSTR;
      |         ^~~~~~~~~~~~~~~~~
[9/272] Building CXX object CMakeFiles/cinder.dir/src/cinder/CinderAssert.cpp.obj
[10/272] Building CXX object CMakeFiles/cinder.dir/src/cinder/CinderMath.cpp.obj
[11/272] Building CXX object CMakeFiles/cinder.dir/src/cinder/Channel.cpp.obj
[12/272] Building CXX object CMakeFiles/cinder.dir/src/cinder/Color.cpp.obj
[13/272] Building CXX object CMakeFiles/cinder.dir/src/cinder/Clipboard.cpp.obj
C:/msys64/home/Administrator/Cinder/src/cinder/Clipboard.cpp:283:31: warning: multi-character character constant [-Wmultichar]
  283 |         bi.bV5CSType        = LCS_sRGB;
      |                               ^~~~~~~~
ninja: build stopped: subcommand failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants