Hi,
In trying to prepare the vkd3d library for cross-compiling I ran into a gcc/linker
error.
Reproducer:
char main(void)
{
char vkGetInstanceProcAddr ();
return vkGetInstanceProcAddr ();
}
$ i686-w64-mingw32-gcc -o test test.c -lvulkan-1
/usr/lib/gcc/i686-w64-mingw32/11.2.1/../../../../i686-w64-mingw32/bin/ld:
/tmp/ccvsAL1c.o:test.c:(.text+0xc): undefined reference to `vkGetInstanceProcAddr'
collect2: error: ld returned 1 exit status
The x86_64 compile works. This is on Rawhide.
mingw32-gcc-11.2.1-7.fc37.x86_64
mingw32-vulkan-loader-1.3.204.0-1.fc37.noarch
mingw64-gcc-11.2.1-7.fc37.x86_64
mingw64-vulkan-loader-1.3.204.0-1.fc37.noarch
Has anyone seen this type of issue?
Thanks,
Michael
_______________________________________________
mingw mailing list -- mingw@lists.fedoraproject.org
To unsubscribe send an email to mingw-le...@lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/mingw@lists.fedoraproject.org
Do not reply to spam on the list, report it:
https://pagure.io/fedora-infrastructure