orbit icon indicating copy to clipboard operation
orbit copied to clipboard

OrbitVulkanLayerTests.dir build.make error

Open hpsaturn opened this issue 3 years ago • 3 comments

Hi,

I have the next error on my Debian buster:

[ 84%] Building CXX object src/OrbitGl/CMakeFiles/OrbitGlTests.dir/TimerInfosIteratorTest.cpp.o
make[2]: *** [src/OrbitVulkanLayer/CMakeFiles/OrbitVulkanLayerTests.dir/build.make:128: src/OrbitVulkanLayer/CMakeFiles/OrbitVulkanLayerTests.dir/VulkanLayerControllerTest.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 84%] Building CXX object src/OrbitGl/CMakeFiles/OrbitGlTests.dir/ClientFlags.cpp.o
[ 85%] Linking CXX executable ../../bin/OrbitGlTests
make[1]: *** [CMakeFiles/Makefile2:1871: src/OrbitVulkanLayer/CMakeFiles/OrbitVulkanLayerTests.dir/all] Error 2
[ 85%] Built target OrbitGlTests
make: *** [Makefile:95: all] Error 2
ERROR: conanfile.py (OrbitProfiler/None): Error in build() method, line 162
	cmake.build(target=str(self.options.build_target) if self.options.build_target else None)
	ConanException: Error 2 while executing cmake --build '/home/avp/src/orbit/build_default_relwithdebinfo' '--' '-j8'

Thanks!

hpsaturn avatar Mar 23 '21 22:03 hpsaturn

Could you show a bit more from the log. From this, it is very hard to judge what goes wrong here.

florian-kuebler avatar Apr 06 '21 13:04 florian-kuebler

I will try, my laptop only has 16Gb of RAM, and this build is very very weight, for other side I think that maybe the issue is because the QT library version is a little bit less than requirement version:

ii  libqt5core5a:amd64                   5.11.3+dfsg1-1+deb10u4               amd64        Qt 5 core module

hpsaturn avatar Apr 08 '21 21:04 hpsaturn

I can confirm that you'll need at least Qt 5.12.4 (because of this bug).

However, the error looks a bit different. So there might be something else going wrong.

AFAIK, 16gb should be fine though.

florian-kuebler avatar Apr 09 '21 06:04 florian-kuebler