comp.lang.ada
 help / color / mirror / Atom feed
From: joakimds@kth.se
Subject: Re: Vulkan Ada binding and linking error on Windows 10
Date: Tue, 11 Oct 2016 10:57:40 -0700 (PDT)
Date: 2016-10-11T10:57:40-07:00	[thread overview]
Message-ID: <8f1c9f6f-7f2e-49d3-8ffc-c80106b89661@googlegroups.com> (raw)
In-Reply-To: <ntifo0$glp$1@dont-email.me>

> A shot from the hip: -lvulkan-1 does not match libvulkan_ada.a,
> That's assuming that your gcc can link using .a files.
> I guess you did notice that.

Thanks for the suggestion. However, the reference to `vkCreateInstance' still remains unresolved:

gcc main.o -LC:/VulkanSDK/1.0.21.1/Bin32/ -lvulkan-1 -lvulkan_ada -o main.exe
main.o:main.adb:(.text+0x104): undefined reference to `vkCreateInstance'
collect2.exe: error: ld returned 1 exit status
gprbuild: link of main.adb failed

Not sure why the C++ version of the application links with the C-library but the Ada version does not... to be continued...

  reply	other threads:[~2016-10-11 17:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-10 21:29 Vulkan Ada binding and linking error on Windows 10 joakimds
2016-10-11 10:43 ` G.B.
2016-10-11 17:57   ` joakimds [this message]
2016-10-11 19:03     ` joakimds
2016-10-14 14:20 ` Olivier Henley
2016-10-14 21:02   ` Luke A. Guest
2016-10-20 20:27   ` joakimds
2016-10-14 23:40 ` mariloup.champagne
2016-10-14 23:42 ` Olivier Henley
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox