Skip to content

Linking error: LNK1181: cannot open input file 'DirectXTex.lib #1

Description

@tincivilfx

1>------ Rebuild All started: Project: DirectXTex, Configuration: Release x64 ------
1>DirectXTexUtil.cpp
1>BC.cpp
1>BC4BC5.cpp
1>BC6HBC7.cpp
1>BCDirectCompute.cpp
1>DirectXTexCompress.cpp
1>DirectXTexCompressGPU.cpp
1>DirectXTexConvert.cpp
1>DirectXTexD3D11.cpp
1>DirectXTexD3D12.cpp
1>DirectXTexDDS.cpp
1>DirectXTexFlipRotate.cpp
1>DirectXTexHDR.cpp
1>DirectXTexImage.cpp
1>DirectXTexMipMaps.cpp
1>DirectXTexMisc.cpp
1>DirectXTexNormalMaps.cpp
1>DirectXTexPMAlpha.cpp
1>DirectXTexResize.cpp
1>DirectXTexTGA.cpp
1>DirectXTexWIC.cpp
1>Generating Code...
1>DirectXTex_Desktop_2019_Win10.vcxproj -> ...\VideoRecorder\DirectXTex\DirectXTex\Bin\Desktop_2019_Win10\x64\Release\DirectXTex.lib
2>------ Rebuild All started: Project: VideoRecorder, Configuration: Release x64 ------
2>VideoRecorder.cpp
2>...\VideoRecorder\VideoRecorder.cpp(79,4): warning C4996: 'av_register_all': was declared deprecated
2>...\VideoRecorder\VideoRecorder.cpp(80,4): warning C4996: 'avcodec_register_all': was declared deprecated
2>...\VideoRecorder\VideoRecorder.cpp(468,44): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
2>...\VideoRecorder\VideoRecorder.cpp(468,44): warning C4267: 'initializing': conversion from 'size_t' to 'const int', possible loss of data
2>...\VideoRecorder\VideoRecorder.cpp(595,67): warning C4996: 'std::codecvt_utf8<wchar_t,1114111,(std::codecvt_mode)0>': warning STL4017: std::wbuffer_convert, std::wstring_convert, and the header (containing std::codecvt_mode, std::codecvt_utf8, std::codecvt_utf16, and std::codecvt_utf8_utf16) are deprecated in C++17. (The std::codecvt class template is NOT deprecated.) The C++ Standard doesn't provide equivalent non-deprecated functionality; consider using MultiByteToWideChar() and WideCharToMultiByte() from <Windows.h> instead. You can define _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning.
2>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\codecvt(35,92): message : see declaration of 'std::codecvt_utf8'
2>...\VideoRecorder\VideoRecorder.cpp(595,46): warning C4996: 'std::wstring_convert<std::codecvt_utf8<wchar_t,1114111,(std::codecvt_mode)0>,wchar_t,std::allocator<wchar_t>,std::allocator>': warning STL4017: std::wbuffer_convert, std::wstring_convert, and the header (containing std::codecvt_mode, std::codecvt_utf8, std::codecvt_utf16, and std::codecvt_utf8_utf16) are deprecated in C++17. (The std::codecvt class template is NOT deprecated.) The C++ Standard doesn't provide equivalent non-deprecated functionality; consider using MultiByteToWideChar() and WideCharToMultiByte() from <Windows.h> instead. You can define _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning.
2>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\xlocbuf(296,55): message : see declaration of 'std::wstring_convert'
2>...\VideoRecorder\VideoRecorder.cpp(595,91): warning C4996: 'std::wstring_convert<std::codecvt_utf8<wchar_t,1114111,(std::codecvt_mode)0>,wchar_t,std::allocator<wchar_t>,std::allocator>::to_bytes': warning STL4017: std::wbuffer_convert, std::wstring_convert, and the header (containing std::codecvt_mode, std::codecvt_utf8, std::codecvt_utf16, and std::codecvt_utf8_utf16) are deprecated in C++17. (The std::codecvt class template is NOT deprecated.) The C++ Standard doesn't provide equivalent non-deprecated functionality; consider using MultiByteToWideChar() and WideCharToMultiByte() from <Windows.h> instead. You can define _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning.
2>LINK : fatal error LNK1181: cannot open input file 'DirectXTex.lib'
2>Done building project "VideoRecorder.vcxproj" -- FAILED.
========== Rebuild All: 1 succeeded, 1 failed, 0 skipped ==========

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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