Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation failure, probably because of upstream changes #208

Open
skycommand opened this issue Jan 21, 2025 · 0 comments
Open

Compilation failure, probably because of upstream changes #208

skycommand opened this issue Jan 21, 2025 · 0 comments

Comments

@skycommand
Copy link

Hi.

Today, I decided to compile this project against .NET 8.0. I thought, "how hard could be?" As it turns out, very!

Firstly, vcpkg failed with this error message:

error: this vcpkg instance requires a manifest with a specified baseline in order to interact with ports. Please add 'builtin-baseline' to the manifest or add a 'vcpkg-configuration.json' that redefines the default registry.

So, as the error message says, I added a vcpkg-configuration.json file:

{
  "default-registry": {
    "kind": "git",
    "baseline": "2960d7d80e8d09c84ae8abf15c12196c2ca7d39a",
    "repository": "https://github.com/microsoft/vcpkg"
  },
  "registries": [
    {
      "kind": "artifact",
      "location": "https://github.com/microsoft/vcpkg-ce-catalog/archive/refs/heads/main.zip",
      "name": "microsoft"
    }
  ]
}

This time, the build process built a vcpkg_installed folder, the size of which is 3.56 GB. But ultimately, AntiDupl's build stopped with these errors:

1>adDataCollector.cpp
1>F:\Projects\AntiDupl (original)\src\AntiDupl\adDataCollector.cpp(101,10): error C2039: 'ResizeBilinear': is not a member of 'Simd'
1>    F:\Projects\AntiDupl (original)\src\AntiDupl\adSimd.h(32,11):
1>    see declaration of 'Simd'
1>F:\Projects\AntiDupl (original)\src\AntiDupl\adDataCollector.cpp(101,10): error C3861: 'ResizeBilinear': identifier not found

1>adImageUtils.cpp
1>F:\Projects\AntiDupl (original)\src\AntiDupl\adImageUtils.cpp(67,31): error C2039: 'ResizeBilinear': is not a member of 'Simd'
1>    F:\Projects\AntiDupl (original)\src\AntiDupl\adSimd.h(32,11):
1>    see declaration of 'Simd'
1>F:\Projects\AntiDupl (original)\src\AntiDupl\adImageUtils.cpp(67,31): error C3861: 'ResizeBilinear': identifier not found

1>F:\Projects\AntiDupl (original)\src\AntiDupl\adImageUtils.cpp(74,31): error C2039: 'ResizeBilinear': is not a member of 'Simd'
1>    F:\Projects\AntiDupl (original)\src\AntiDupl\adSimd.h(32,11):
1>    see declaration of 'Simd'
1>F:\Projects\AntiDupl (original)\src\AntiDupl\adImageUtils.cpp(74,31): error C3861: 'ResizeBilinear': identifier not found

1>F:\Projects\AntiDupl (original)\src\AntiDupl\adImageUtils.cpp(78,31): error C2039: 'ResizeBilinear': is not a member of 'Simd'
1>    F:\Projects\AntiDupl (original)\src\AntiDupl\adSimd.h(32,11):
1>    see declaration of 'Simd'
1>F:\Projects\AntiDupl (original)\src\AntiDupl\adImageUtils.cpp(78,31): error C3861: 'ResizeBilinear': identifier not found

1>adJxl.cpp
1>F:\Projects\AntiDupl (original)\src\AntiDupl\adJxl.cpp(136,7): error C2660: 'JxlDecoderGetICCProfileSize': function does not take 4 arguments

What am I doing wrong?

@skycommand skycommand changed the title Compilation failure, probabyl because of upstream changes Compilation failure, probably because of upstream changes Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant