From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.200.51.97 with SMTP id u30mr1296806qta.16.1476208660459; Tue, 11 Oct 2016 10:57:40 -0700 (PDT) X-Received: by 10.157.31.92 with SMTP id x28mr323978otx.3.1476208660375; Tue, 11 Oct 2016 10:57:40 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!g45no1828166qte.1!news-out.google.com!203ni6871itk.0!nntp.google.com!l13no2765202itl.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 11 Oct 2016 10:57:40 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=85.229.251.36; posting-account=HFCrOQoAAABZD_f-UUbYHm3lJDIrh-UX NNTP-Posting-Host: 85.229.251.36 References: <9ce98b4d-0924-4ce3-b911-059414403da9@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <8f1c9f6f-7f2e-49d3-8ffc-c80106b89661@googlegroups.com> Subject: Re: Vulkan Ada binding and linking error on Windows 10 From: joakimds@kth.se Injection-Date: Tue, 11 Oct 2016 17:57:40 +0000 Content-Type: text/plain; charset=UTF-8 Xref: news.eternal-september.org comp.lang.ada:32069 Date: 2016-10-11T10:57:40-07:00 List-Id: > 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...