Skip to content

fatal error C1083: Cannot open include file: 'winapifamily.h': No such file or directory for VCPKG package #1327

@MasonAngelio

Description

@MasonAngelio

When compiling the library with the v141_xp toolset, I get the following error
1>d:\vsprojects\c++\test2\test2\vcpkg_installed\x86-windows-static\include\cryptopp\config_os.h(129): fatal error C1083: Cannot open include file: 'winapifamily.h': No such file or directory

When commenting it out, I get

1>cryptopp.lib(integer.cpp.obj) : error LNK2019: unresolved external symbol ___std_reverse_copy_trivially_copyable_1 referenced in function "void __cdecl std::_Reverse_copy_vectorized<1>(void const *,void const *,void *)" (??$_Reverse_copy_vectorized@$00@std@@YAXPBX0PAX@Z)
1>cryptopp.lib(dll.cpp.obj) : error LNK2019: unresolved external symbol ___std_mismatch_4@12 referenced in function "unsigned int __cdecl std::_Mismatch_vectorized<4>(void const * const,void const * const,unsigned int)" (??$_Mismatch_vectorized@$03@std@@YAIQBX0I@Z)
1>D:\VSProjects\C++\test2\Debug\test2.exe : fatal error LNK1120: 2 unresolved externals

Both cryptopp and the project are set to use MT(d)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions