[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian 12 linking issue with libvukan (undefined reference) with GNU C++ compiler/ld



On Thu, Jan 16, 2025 at 20:27:17 +0000, Johannes Krottmayer wrote:
> $ g++ -lvulkan -o test test.cpp

If I recall correctly, the library options need to be *after* the object
files that use them.  Thus:

    g++ -o test test.cpp -lvulkan


Reply to: