Skip to content

libvips C++ API Linkage Failures (LNK2001 Unresolved External Symbols) #4608

@yunxingluoyun

Description

@yunxingluoyun

Environment Configuration:

OS: Windows 10/11

IDE: Visual Studio 2019 (MSVC v142)

libvips version: [Specify version, e.g., 8.17.1]

Installation method: ☑️ Pre-built binaries ☐ Self-compiled

Third-party dependencies: [List versions of glib-2.0, libpng, etc.]

Issue Description:
Multiple LNK2001 errors occur during linking phase, primarily involving unresolved symbols from vips::VOption and vips::VImage classes. The errors manifest when using C++ API for image operations (zoom/subsample/cast/etc.), indicating improper linkage of vips-cpp components.
1>vipsdisp.obj : error LNK2001: unresolved external symbol "public: class vips::VOption * __cdecl vips::VOption::set(char const *,int)" (?set@VOption@vips@@QEAAPEAV12@PEBDH@Z) 1>vipsdisp.obj : error LNK2001: unresolved external symbol "public: virtual __cdecl vips::VOption::~VOption(void)" (??1VOption@vips@@UEAA@XZ) [...additional errors of same format...]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy