dolphin icon indicating copy to clipboard operation
dolphin copied to clipboard

Build for linux armv7

Open jonian opened this issue 2 years ago • 3 comments

Hi, I'm getting the error below when trying to build for linux armv7 on docker with debian bullseye.

-DLIBRETRO=ON
-DENABLE_GENERIC=ON
-DENABLE_X11=OFF
-DENABLE_NOGUI=OFF
-DENABLE_QT=OFF
-DENABLE_TESTS=OFF
-DUSE_DISCORD_PRESENCE=OFF
-DBUILD_SHARED_LIBS=OFF
-DCMAKE_BUILD_TYPE=Release
#17 3446.8 [ 63%] Building CXX object Source/Core/VideoBackends/Vulkan/CMakeFiles/videovulkan.dir/ObjectCache.cpp.o
#17 3469.3 In file included from /root/LibRetro/dolphin/Source/Core/VideoBackends/Vulkan/ObjectCache.cpp:21:
#17 3469.3 /root/LibRetro/dolphin/Source/Core/VideoBackends/Vulkan/VKTexture.h: In member function ‘bool Vulkan::VKTexture::IsAdopted() const’:
#17 3469.3 /root/LibRetro/dolphin/Source/Core/VideoBackends/Vulkan/VKTexture.h:57:51: error: invalid operands of types ‘const VkDeviceMemory’ {aka ‘const long long unsigned int’} and ‘std::nullptr_t’ to binary ‘operator!=’
#17 3469.3    57 |   bool IsAdopted() const { return m_device_memory != nullptr; }
#17 3469.3       |                                   ~~~~~~~~~~~~~~~~^~~~~~~~~~
#17 3469.3 gmake[3]: *** [Source/Core/VideoBackends/Vulkan/CMakeFiles/videovulkan.dir/build.make:121: Source/Core/VideoBackends/Vulkan/CMakeFiles/videovulkan.dir/ObjectCache.cpp.o] Error 1
#17 3469.3 gmake[3]: *** Waiting for unfinished jobs....
#17 3474.9 gmake[2]: *** [CMakeFiles/Makefile2:1862: Source/Core/VideoBackends/Vulkan/CMakeFiles/videovulkan.dir/all] Error 2
#17 3474.9 gmake[1]: *** [CMakeFiles/Makefile2:1924: Source/Core/DolphinLibretro/CMakeFiles/dolphin_libretro.dir/rule] Error 2
#17 3474.9 gmake: *** [Makefile:673: dolphin_libretro] Error 2

Full log: dolphin.log

jonian avatar Jan 26 '24 11:01 jonian