Closed Mailaender closed 6 years ago
It looks like dependencies between bc7 and nvmath are not setup correctly. Usually you don't need to resolve dependencies when creating static libraries, only when linking, so I'm not sure what that is failing.
Can you try updating the CMakeList file as follows?
ADD_LIBRARY(bc7 STATIC ${BC7_SRCS} nvmath ncore)
Correction, try adding the following line after ADD_LIBRARY: TARGET_LINK_LIBRARIES(bc7 nvcore nvmath)
Which CMakeList
file exactly? None of them contains the line ADD_LIBRARY: TARGET_LINK_LIBRARIES(bc7 nvcore nvmath)
according to a source code search.
Fixed by the second patch from #274
@Mailaender: see https://build.opensuse.org/package/show/home:StefanBruens:branches:graphics/nvidia-texture-tools
Version 2.1.0 on @openSUSE Tumbleweed:
Looks like a linker problem, but I don't know how to solve this on my own. https://github.com/castano/nvidia-texture-tools/commit/f9a4787c062f0a2dcb9bab289e125569d1438875 did not help.