Skip to content

Linker error on ortools_full.lib: utf8_range::IsStructurallyValid missing #3888

@pauldegroot

Description

@pauldegroot

What version of OR-Tools and what language are you using?
Version: v9.7 binary
Language: C++

What operating system (Linux, Windows, ...) and version?
Windows 10, Visual Studio 2022

What did you do?
Steps to reproduce the behavior:

  1. Use ortools_full.lib to link the application
  2. Got linker error that utf8_range::IsStructurallyValid and utf8_range::SpanStructurallyValid are missing.
  3. Add protocolbuffers/utf8_range/utf8_validity_test.cc code to project ( see [https://github.com/protocolbuffers/utf8_range/blob/main/utf8_validity.cc] )
  4. Code now compiles, seems a .cc-files was forgotten in the build

What did you expect to see
Succesful compilation

What did you see instead?
A linker error

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions