Open RCJacH opened 4 years ago
Windows 10.0.19041 Visual Studio Community 2019
1>------ Build started: Project: audiofile64, Configuration: Debug x64 ------ 2>------ Skipped Build: Project: build_package_32, Configuration: Debug x64 ------ 2>Project not selected to build for this solution configuration 1>ModuleState.cpp 1>PacketTable.cpp 1>C:\Tools\Coding\Microsoft Visual Studio\2019\VC\Tools\MSVC\14.25.28610\include\vector(748,1): error C2220: the following warning is treated as an error (compiling source file C:\Users\RCJacH\Documents\Coding\audio\MrsWatson\vendor\audiofile\libaudiofile\PacketTable.cpp) 1>C:\Tools\Coding\Microsoft Visual Studio\2019\VC\Tools\MSVC\14.25.28610\include\vector(708): message : see reference to function template instantiation 'unsigned __int64 *std::vector<size_t,std::allocator<size_t>>::_Emplace_reallocate<const _Ty&>(unsigned __int64 *const ,const _Ty &)' being compiled 1> with 1> [ 1> _Ty=size_t 1> ] (compiling source file C:\Users\RCJacH\Documents\Coding\audio\MrsWatson\vendor\audiofile\libaudiofile\PacketTable.cpp) 1>C:\Tools\Coding\Microsoft Visual Studio\2019\VC\Tools\MSVC\14.25.28610\include\vector(708): message : see reference to function template instantiation 'unsigned __int64 *std::vector<size_t,std::allocator<size_t>>::_Emplace_reallocate<const _Ty&>(unsigned __int64 *const ,const _Ty &)' being compiled 1> with 1> [ 1> _Ty=size_t 1> ] (compiling source file C:\Users\RCJacH\Documents\Coding\audio\MrsWatson\vendor\audiofile\libaudiofile\PacketTable.cpp) 1>C:\Tools\Coding\Microsoft Visual Studio\2019\VC\Tools\MSVC\14.25.28610\include\vector(717): message : see reference to function template instantiation 'void std::vector<size_t,std::allocator<size_t>>::emplace_back<const _Ty&>(const _Ty &)' being compiled 1> with 1> [ 1> _Ty=size_t 1> ] (compiling source file C:\Users\RCJacH\Documents\Coding\audio\MrsWatson\vendor\audiofile\libaudiofile\PacketTable.cpp) 1>C:\Tools\Coding\Microsoft Visual Studio\2019\VC\Tools\MSVC\14.25.28610\include\vector(716): message : while compiling class template member function 'void std::vector<size_t,std::allocator<size_t>>::push_back(const _Ty &)' 1> with 1> [ 1> _Ty=size_t 1> ] (compiling source file C:\Users\RCJacH\Documents\Coding\audio\MrsWatson\vendor\audiofile\libaudiofile\PacketTable.cpp) 1>C:\Users\RCJacH\Documents\Coding\audio\MrsWatson\vendor\audiofile\libaudiofile\PacketTable.cpp(60): message : see reference to function template instantiation 'void std::vector<size_t,std::allocator<size_t>>::push_back(const _Ty &)' being compiled 1> with 1> [ 1> _Ty=size_t 1> ] 1>C:\Users\RCJacH\Documents\Coding\audio\MrsWatson\vendor\audiofile\libaudiofile\PacketTable.h(58): message : see reference to class template instantiation 'std::vector<size_t,std::allocator<size_t>>' being compiled (compiling source file C:\Users\RCJacH\Documents\Coding\audio\MrsWatson\vendor\audiofile\libaudiofile\PacketTable.cpp) 1>C:\Tools\Coding\Microsoft Visual Studio\2019\VC\Tools\MSVC\14.25.28610\include\vector(748,1): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc (compiling source file C:\Users\RCJacH\Documents\Coding\audio\MrsWatson\vendor\audiofile\libaudiofile\PacketTable.cpp) 1>C:\Tools\Coding\Microsoft Visual Studio\2019\VC\Tools\MSVC\14.25.28610\include\vector(748,1): error C2220: the following warning is treated as an error (compiling source file C:\Users\RCJacH\Documents\Coding\audio\MrsWatson\vendor\audiofile\libaudiofile\modules\ModuleState.cpp) 1>C:\Tools\Coding\Microsoft Visual Studio\2019\VC\Tools\MSVC\14.25.28610\include\vector(708): message : see reference to function template instantiation 'SharedPtr<Chunk> *std::vector<SharedPtr<Chunk>,std::allocator<SharedPtr<Chunk>>>::_Emplace_reallocate<_Ty>(SharedPtr<Chunk> *const ,_Ty &&)' being compiled 1> with 1> [ 1> _Ty=SharedPtr<Chunk> 1> ] (compiling source file C:\Users\RCJacH\Documents\Coding\audio\MrsWatson\vendor\audiofile\libaudiofile\modules\ModuleState.cpp) 1>C:\Tools\Coding\Microsoft Visual Studio\2019\VC\Tools\MSVC\14.25.28610\include\vector(708): message : see reference to function template instantiation 'SharedPtr<Chunk> *std::vector<SharedPtr<Chunk>,std::allocator<SharedPtr<Chunk>>>::_Emplace_reallocate<_Ty>(SharedPtr<Chunk> *const ,_Ty &&)' being compiled 1> with 1> [ 1> _Ty=SharedPtr<Chunk> 1> ] (compiling source file C:\Users\RCJacH\Documents\Coding\audio\MrsWatson\vendor\audiofile\libaudiofile\modules\ModuleState.cpp) 1>C:\Tools\Coding\Microsoft Visual Studio\2019\VC\Tools\MSVC\14.25.28610\include\vector(721): message : see reference to function template instantiation 'void std::vector<SharedPtr<Chunk>,std::allocator<SharedPtr<Chunk>>>::emplace_back<SharedPtr<Chunk>>(SharedPtr<Chunk> &&)' being compiled (compiling source file C:\Users\RCJacH\Documents\Coding\audio\MrsWatson\vendor\audiofile\libaudiofile\modules\ModuleState.cpp) 1>C:\Tools\Coding\Microsoft Visual Studio\2019\VC\Tools\MSVC\14.25.28610\include\vector(720): message : while compiling class template member function 'void std::vector<SharedPtr<Chunk>,std::allocator<SharedPtr<Chunk>>>::push_back(_Ty &&)' 1> with 1> [ 1> _Ty=SharedPtr<Chunk> 1> ] (compiling source file C:\Users\RCJacH\Documents\Coding\audio\MrsWatson\vendor\audiofile\libaudiofile\modules\ModuleState.cpp) 1>C:\Users\RCJacH\Documents\Coding\audio\MrsWatson\vendor\audiofile\libaudiofile\modules\ModuleState.cpp(314): message : see reference to function template instantiation 'void std::vector<SharedPtr<Chunk>,std::allocator<SharedPtr<Chunk>>>::push_back(_Ty &&)' being compiled 1> with 1> [ 1> _Ty=SharedPtr<Chunk> 1> ] 1>C:\Users\RCJacH\Documents\Coding\audio\MrsWatson\vendor\audiofile\libaudiofile\modules\ModuleState.h(58): message : see reference to class template instantiation 'std::vector<SharedPtr<Chunk>,std::allocator<SharedPtr<Chunk>>>' being compiled (compiling source file C:\Users\RCJacH\Documents\Coding\audio\MrsWatson\vendor\audiofile\libaudiofile\modules\ModuleState.cpp) 1>C:\Tools\Coding\Microsoft Visual Studio\2019\VC\Tools\MSVC\14.25.28610\include\vector(748,1): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc (compiling source file C:\Users\RCJacH\Documents\Coding\audio\MrsWatson\vendor\audiofile\libaudiofile\modules\ModuleState.cpp) 1>Done building project "audiofile64.vcxproj" -- FAILED. 3>------ Build started: Project: mrswatson64, Configuration: Debug x64 ------ 3>LINK : fatal error LNK1104: cannot open file '..\vendor\Debug\audiofile64.lib' 3>Done building project "mrswatson64.vcxproj" -- FAILED. 4>------ Build started: Project: mrswatsontest64, Configuration: Debug x64 ------ 5>------ Skipped Build: Project: build_package_64, Configuration: Debug x64 ------ 5>Project not selected to build for this solution configuration 4>LINK : fatal error LNK1104: cannot open file '..\vendor\Debug\audiofile64.lib' 4>Done building project "mrswatsontest64.vcxproj" -- FAILED. 6>------ Skipped Build: Project: ALL_BUILD, Configuration: Debug x64 ------ 6>Project not selected to build for this solution configuration ========== Build: 0 succeeded, 3 failed, 2 up-to-date, 3 skipped ==========
Is there something I should have done prior to building in VSC?
Visual Studio 2019 has not been tested yet and probably won't work. I've adapted your issue title to reflect this.
System Info
Windows 10.0.19041 Visual Studio Community 2019
What I Did
Error message
Is there something I should have done prior to building in VSC?