Thanks to visit codestin.com
Credit goes to github.com

Skip to content

vips__region_take_ownership() is not accessible with a dynamic library build #4024

@Julianiolo

Description

@Julianiolo

Bug report

Describe the bug
the function vips__region_take_ownership() is not accessible when using libvips as a dynamic library on msvc.
vips__region_no_ownership() however is declared as VIPS_API and thus usable in a dynamic lib.

To Reproduce
Steps to reproduce the behavior:

  1. Use vips__region_take_ownership() in a program
  2. Compile with msvc
  3. See error: fatal error LNK1120

Environment

  • OS: Windows 10
  • Compiler: msvc 193
  • Vips: 8.15.2

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