SSVOpenHexagon
SSVOpenHexagon copied to clipboard
Build error
[ 79%] Building CXX object _deps/imgui-sfml-build/CMakeFiles/ImGui-SFML.dir/Unity/unity_0_cxx.cxx.o
In file included from /var/cache/private/yay/open-hexagon-git/src/SSVOpenHexagon/buildlx/_deps/imgui-src/imgui.h:47,
from /var/cache/private/yay/open-hexagon-git/src/SSVOpenHexagon/buildlx/_deps/imgui-sfml-src/imgui-SFML.cpp:2,
from /var/cache/private/yay/open-hexagon-git/src/SSVOpenHexagon/buildlx/_deps/imgui-sfml-build/CMakeFiles/ImGui-SFML.dir/Unity/unity_0_cxx.cxx:3:
/var/cache/private/yay/open-hexagon-git/src/SSVOpenHexagon/buildlx/_deps/imgui-src/imgui.h: 'ImVec4::operator sf::Color() const' üye işlevinde:
/var/cache/private/yay/open-hexagon-git/src/SSVOpenHexagon/buildlx/_deps/imgui-sfml-src/imconfig-SFML.h:23:42: hata: 'Uint8', 'sf' nin bir üyesi değil
23 | return sf::Color(static_cast<sf::Uint8>(x * 255.f), static_cast<sf::Uint8>(y * 255.f), \
| ^~~~~
/var/cache/private/yay/open-hexagon-git/src/SSVOpenHexagon/buildlx/_deps/imgui-src/imgui.h:268:5: bilgi: in expansion of macro 'IM_VEC4_CLASS_EXTRA'
268 | IM_VEC4_CLASS_EXTRA // Define additional constructors and implicit cast operators in imconfig.h to convert back and forth between your math types and ImVec4.
| ^~~~~~~~~~~~~~~~~~~
/var/cache/private/yay/open-hexagon-git/src/SSVOpenHexagon/buildlx/_deps/imgui-sfml-src/imconfig-SFML.h:23:77: hata: 'Uint8', 'sf' nin bir üyesi değil
23 | return sf::Color(static_cast<sf::Uint8>(x * 255.f), static_cast<sf::Uint8>(y * 255.f), \
| ^~~~~
/var/cache/private/yay/open-hexagon-git/src/SSVOpenHexagon/buildlx/_deps/imgui-src/imgui.h:268:5: bilgi: in expansion of macro 'IM_VEC4_CLASS_EXTRA'
268 | IM_VEC4_CLASS_EXTRA // Define additional constructors and implicit cast operators in imconfig.h to convert back and forth between your math types and ImVec4.
| ^~~~~~~~~~~~~~~~~~~
/var/cache/private/yay/open-hexagon-git/src/SSVOpenHexagon/buildlx/_deps/imgui-sfml-src/imconfig-SFML.h:24:42: hata: 'Uint8', 'sf' nin bir üyesi değil
24 | static_cast<sf::Uint8>(z * 255.f), static_cast<sf::Uint8>(w * 255.f)); \
| ^~~~~
/var/cache/private/yay/open-hexagon-git/src/SSVOpenHexagon/buildlx/_deps/imgui-src/imgui.h:268:5: bilgi: in expansion of macro 'IM_VEC4_CLASS_EXTRA'
268 | IM_VEC4_CLASS_EXTRA // Define additional constructors and implicit cast operators in imconfig.h to convert back and forth between your math types and ImVec4.
| ^~~~~~~~~~~~~~~~~~~
/var/cache/private/yay/open-hexagon-git/src/SSVOpenHexagon/buildlx/_deps/imgui-sfml-src/imconfig-SFML.h:24:77: hata: 'Uint8', 'sf' nin bir üyesi değil
24 | static_cast<sf::Uint8>(z * 255.f), static_cast<sf::Uint8>(w * 255.f)); \
| ^~~~~
/var/cache/private/yay/open-hexagon-git/src/SSVOpenHexagon/buildlx/_deps/imgui-src/imgui.h:268:5: bilgi: in expansion of macro 'IM_VEC4_CLASS_EXTRA'
268 | IM_VEC4_CLASS_EXTRA // Define additional constructors and implicit cast operators in imconfig.h to convert back and forth between your math types and ImVec4.
| ^~~~~~~~~~~~~~~~~~~
/var/cache/private/yay/open-hexagon-git/src/SSVOpenHexagon/buildlx/_deps/imgui-sfml-src/imconfig-SFML.h:23:25: hata: expected primary-expression before '(' token
23 | return sf::Color(static_cast<sf::Uint8>(x * 255.f), static_cast<sf::Uint8>(y * 255.f), \
| ^
/var/cache/private/yay/open-hexagon-git/src/SSVOpenHexagon/buildlx/_deps/imgui-src/imgui.h:268:5: bilgi: in expansion of macro 'IM_VEC4_CLASS_EXTRA'
268 | IM_VEC4_CLASS_EXTRA // Define additional constructors and implicit cast operators in imconfig.h to convert back and forth between your math types and ImVec4.
| ^~~~~~~~~~~~~~~~~~~
/var/cache/private/yay/open-hexagon-git/src/SSVOpenHexagon/buildlx/_deps/imgui-sfml-src/imconfig-SFML.h:23:42: hata: 'Uint8' 'sf' isim alanında bir türü isimlendirmiyor
23 | return sf::Color(static_cast<sf::Uint8>(x * 255.f), static_cast<sf::Uint8>(y * 255.f), \
| ^~~~~
/var/cache/private/yay/open-hexagon-git/src/SSVOpenHexagon/buildlx/_deps/imgui-src/imgui.h:268:5: bilgi: in expansion of macro 'IM_VEC4_CLASS_EXTRA'
268 | IM_VEC4_CLASS_EXTRA // Define additional constructors and implicit cast operators in imconfig.h to convert back and forth between your math types and ImVec4.
| ^~~~~~~~~~~~~~~~~~~
/var/cache/private/yay/open-hexagon-git/src/SSVOpenHexagon/buildlx/_deps/imgui-sfml-src/imconfig-SFML.h:23:77: hata: 'Uint8' 'sf' isim alanında bir türü isimlendirmiyor
23 | return sf::Color(static_cast<sf::Uint8>(x * 255.f), static_cast<sf::Uint8>(y * 255.f), \
| ^~~~~
/var/cache/private/yay/open-hexagon-git/src/SSVOpenHexagon/buildlx/_deps/imgui-src/imgui.h:268:5: bilgi: in expansion of macro 'IM_VEC4_CLASS_EXTRA'
268 | IM_VEC4_CLASS_EXTRA // Define additional constructors and implicit cast operators in imconfig.h to convert back and forth between your math types and ImVec4.
| ^~~~~~~~~~~~~~~~~~~
/var/cache/private/yay/open-hexagon-git/src/SSVOpenHexagon/buildlx/_deps/imgui-sfml-src/imconfig-SFML.h:24:42: hata: 'Uint8' 'sf' isim alanında bir türü isimlendirmiyor
24 | static_cast<sf::Uint8>(z * 255.f), static_cast<sf::Uint8>(w * 255.f)); \
| ^~~~~
/var/cache/private/yay/open-hexagon-git/src/SSVOpenHexagon/buildlx/_deps/imgui-src/imgui.h:268:5: bilgi: in expansion of macro 'IM_VEC4_CLASS_EXTRA'
268 | IM_VEC4_CLASS_EXTRA // Define additional constructors and implicit cast operators in imconfig.h to convert back and forth between your math types and ImVec4.
| ^~~~~~~~~~~~~~~~~~~
/var/cache/private/yay/open-hexagon-git/src/SSVOpenHexagon/buildlx/_deps/imgui-sfml-src/imconfig-SFML.h:24:77: hata: 'Uint8' 'sf' isim alanında bir türü isimlendirmiyor
24 | static_cast<sf::Uint8>(z * 255.f), static_cast<sf::Uint8>(w * 255.f)); \
| ^~~~~
/var/cache/private/yay/open-hexagon-git/src/SSVOpenHexagon/buildlx/_deps/imgui-src/imgui.h:268:5: bilgi: in expansion of macro 'IM_VEC4_CLASS_EXTRA'
268 | IM_VEC4_CLASS_EXTRA // Define additional constructors and implicit cast operators in imconfig.h to convert back and forth between your math types and ImVec4.
| ^~~~~~~~~~~~~~~~~~~
/var/cache/private/yay/open-hexagon-git/src/SSVOpenHexagon/buildlx/_deps/imgui-sfml-src/imgui-SFML.cpp: 'const char* {anonymous}::getClipboardText(void*)' işlevinde:
/var/cache/private/yay/open-hexagon-git/src/SSVOpenHexagon/buildlx/_deps/imgui-sfml-src/imgui-SFML.cpp:1379:27: hata: 'Uint8', 'sf' nin bir üyesi değil
1379 | std::basic_string<sf::Uint8> tmp = sf::Clipboard::getString().toUtf8();
| ^~~~~
/var/cache/private/yay/open-hexagon-git/src/SSVOpenHexagon/buildlx/_deps/imgui-sfml-src/imgui-SFML.cpp:1379:32: hata: 1. şablon argümanı geçersiz
1379 | std::basic_string<sf::Uint8> tmp = sf::Clipboard::getString().toUtf8();
| ^
/var/cache/private/yay/open-hexagon-git/src/SSVOpenHexagon/buildlx/_deps/imgui-sfml-src/imgui-SFML.cpp:1379:32: hata: 2. şablon argümanı geçersiz
/var/cache/private/yay/open-hexagon-git/src/SSVOpenHexagon/buildlx/_deps/imgui-sfml-src/imgui-SFML.cpp:1379:32: hata: 3. şablon argümanı geçersiz
/var/cache/private/yay/open-hexagon-git/src/SSVOpenHexagon/buildlx/_deps/imgui-sfml-src/imgui-SFML.cpp:1379:73: hata: cannot convert 'std::__cxx11::basic_string<unsigned char>' to 'int' in initialization
1379 | std::basic_string<sf::Uint8> tmp = sf::Clipboard::getString().toUtf8();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
| |
| std::__cxx11::basic_string<unsigned char>
/var/cache/private/yay/open-hexagon-git/src/SSVOpenHexagon/buildlx/_deps/imgui-sfml-src/imgui-SFML.cpp:1380:39: hata: request for member 'begin' in 'tmp', which is of non-class type 'int'
1380 | s_clipboardText = std::string(tmp.begin(), tmp.end());
| ^~~~~
/var/cache/private/yay/open-hexagon-git/src/SSVOpenHexagon/buildlx/_deps/imgui-sfml-src/imgui-SFML.cpp:1380:52: hata: request for member 'end' in 'tmp', which is of non-class type 'int'
1380 | s_clipboardText = std::string(tmp.begin(), tmp.end());
| ^~~
make[2]: *** [_deps/imgui-sfml-build/CMakeFiles/ImGui-SFML.dir/build.make:76: _deps/imgui-sfml-build/CMakeFiles/ImGui-SFML.dir/Unity/unity_0_cxx.cxx.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1078: _deps/imgui-sfml-build/CMakeFiles/ImGui-SFML.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
==> HATA: build() içinde bir hata oluştu.
Çıkılıyor...
-> yapılırken hata: open-hexagon-git
Distribulion: archlinux
Command: yay -S open-hexagon-git
Build the develop branch instead for now.
Compiled now but not working
config.json file is empty I am using aur package
look at #384, and the config thing should probably fix itself once the game saves it again.
This is a build error, not a crash; #384 is irrelevant. The problem here is that the CMakeLists.txt for SSVOpenHexagon tries to pull in vittorioromeo's private branch of SFML as a submodule, and a series of changes in September to https://github.com/vittorioromeo/SFML/commits/master/include/SFML/Config.hpp removed the old sf::Uint8, sf::Int8, etc. type definitions. However, the dependent imgui submodule still expects them to be there. You should be able to build SSVOpenHexagon against the standard Arch SFML and/or imgui packages, but that requires some manual reconfiguration, and "yay open-hexagon-git" doesn't do that for you.
I think the root error here is SSVOpenHexagon pulling in submodules for things that should be standard system packages, but Vittorio obviously has a different philosophy. This is why it's called "dependency hell".
This is a build error, not a crash; https://github.com/vittorioromeo/SSVOpenHexagon/issues/384 is irrelevant.
I was replying to the above message which was a crash if it wasn't obvious. And yes there are some errors in the master where I think Vee broke some things, but the develop branch works fine.