vkvg: Linking failure
After following the installations instructions precisely I get the following errors on my Fedora 32 system:
-*- mode: compilation; default-directory: "/space/pub-repos/vkvg/build/" -*-
Compilation started at Wed Aug 12 23:18:59
make
[ 10%] Built target vkh_static
[ 23%] Built target vkvg_static
[ 25%] Built target tests_common
[ 26%] Linking CXX executable test_compositing
/usr/bin/ld: libtests_common.a(test.c.o):/space/pub-repos/vkvg/vkh/src/vkh_device.h:32: multiple definition of `CreateDebugReportCallback'; CMakeFiles/test_compositing.dir/tests/compositing.c.o:/space/pub-repos/vkvg/vkh/src/vkh_device.h:32: first defined here
/usr/bin/ld: libtests_common.a(test.c.o):/space/pub-repos/vkvg/vkh/src/vkh_device.h:33: multiple definition of `DestroyDebugReportCallback'; CMakeFiles/test_compositing.dir/tests/compositing.c.o:/space/pub-repos/vkvg/vkh/src/vkh_device.h:33: first defined here
/usr/bin/ld: libtests_common.a(test.c.o):/space/pub-repos/vkvg/vkh/src/vkh_device.h:34: multiple definition of `dbgBreakCallback'; CMakeFiles/test_compositing.dir/tests/compositing.c.o:/space/pub-repos/vkvg/vkh/src/vkh_device.h:34: first defined here
/usr/bin/ld: libtests_common.a(vkengine.c.o):/space/pub-repos/vkvg/vkh/src/vkh_device.h:32: multiple definition of `CreateDebugReportCallback'; CMakeFiles/test_compositing.dir/tests/compositing.c.o:/space/pub-repos/vkvg/vkh/src/vkh_device.h:32: first defined here
/usr/bin/ld: libtests_common.a(vkengine.c.o):/space/pub-repos/vkvg/vkh/src/vkh_device.h:33: multiple definition of `DestroyDebugReportCallback'; CMakeFiles/test_compositing.dir/tests/compositing.c.o:/space/pub-repos/vkvg/vkh/src/vkh_device.h:33: first defined here
:
About this issue
- Original URL
- State: open
- Created 4 years ago
- Comments: 21 (14 by maintainers)
Maybe I’ll create in the future special surfaces which output directly to screen as cairo does (xcbSurface, win32Surf, …)
It works!! Great! Now I have to figure out what to do with it. 😃 Perhaps rewrite my image and vector viewer giv… http://github.com/dov/giv .