Skip to content

Some olders versions of g++ do not implicitely link with libstdc++ #197

Description

@bubbleguuum

80ea0a5 removed implicit linking with libstdc++.

Some older g++ versions do not implicitly link with libstdc++, causing it to not be listed in vpl.pc, resulting in
having a bunch of undefined C++ symbols for a C program linking to libvpl using pkg-config.

The work-around is to pass -DCXX_LIB="-lstdc++" to cmake.

I found this issue upgrading from 2.14.0 to 2.17.0, compiling it with g++ 7.5.0 on openSUSE Leap 15.4.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions