Getting C1001 Internal compiler error when building pytorch on windows

OK, I noticed I was linking against the previous build of mine. I changed the libs forlder to the one created by the method you previously told and now I’m getting linker errors. anyway here is the whole config:
pytorch_build3

couple of linker errors I get now:

Severity	Code	Description	Project	File	Line	Suppression State
Error	LNK2001	unresolved external symbol "__declspec(dllimport) class at::Tensor __cdecl at::clamp(class at::Tensor const &,class c10::optional<class c10::Scalar>,class c10::optional<class c10::Scalar>)" (__imp_?clamp@at@@YA?AVTensor@1@AEBV21@V?$optional@VScalar@c10@@@c10@@1@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) class at::Context & __cdecl at::globalContext(void)" (__imp_?globalContext@at@@YAAEAVContext@1@XZ)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) class at::Tensor __cdecl at::acos(class at::Tensor const &)" (__imp_?acos@at@@YA?AVTensor@1@AEBV21@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) class at::Tensor __cdecl at::dot(class at::Tensor const &,class at::Tensor const &)" (__imp_?dot@at@@YA?AVTensor@1@AEBV21@0@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) class at::Tensor __cdecl at::squeeze(class at::Tensor const &,__int64)" (__imp_?squeeze@at@@YA?AVTensor@1@AEBV21@_J@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) class std::vector<__int64,class std::allocator<__int64> > __cdecl at::detail::defaultStrides(class c10::ArrayRef<__int64>)" (__imp_?defaultStrides@detail@at@@YA?AV?$vector@_JV?$allocator@_J@std@@@std@@V?$ArrayRef@_J@c10@@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) unsigned __int64 __cdecl at::detail::computeStorageNbytes(class c10::ArrayRef<__int64>,class c10::ArrayRef<__int64>,unsigned __int64)" (__imp_?computeStorageNbytes@detail@at@@YA_KV?$ArrayRef@_J@c10@@0_K@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) class at::Tensor __cdecl at::scalar_tensor(class c10::Scalar,struct c10::TensorOptions const &)" (__imp_?scalar_tensor@at@@YA?AVTensor@1@VScalar@c10@@AEBUTensorOptions@4@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) class at::Tensor __cdecl at::frobenius_norm(class at::Tensor const &)" (__imp_?frobenius_norm@at@@YA?AVTensor@1@AEBV21@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) class at::Tensor __cdecl at::native::tensor(class c10::ArrayRef<float>,struct c10::TensorOptions const &)" (__imp_?tensor@native@at@@YA?AVTensor@2@V?$ArrayRef@M@c10@@AEBUTensorOptions@5@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) class at::Tensor __cdecl at::empty(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &,class c10::optional<enum c10::MemoryFormat>)" (__imp_?empty@at@@YA?AVTensor@1@V?$ArrayRef@_J@c10@@AEBUTensorOptions@4@V?$optional@W4MemoryFormat@c10@@@4@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl c10::operator<<(class std::basic_ostream<char,struct std::char_traits<char> > &,struct c10::Half const &)" (__imp_??6c10@@YAAEAV?$basic_ostream@DU?$char_traits@D@std@@@std@@AEAV12@AEBUHalf@0@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) struct torch::jit::Module __cdecl torch::jit::load(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class c10::optional<struct c10::Device>,class std::unordered_map<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct std::hash<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,struct std::equal_to<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const ,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > > &)" (__imp_?load@jit@torch@@YA?AUModule@12@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$optional@UDevice@c10@@@c10@@AEAV?$unordered_map@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@U?$hash@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@U?$equal_to@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@V?$allocator@U?$pair@$$CBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@@std@@@2@@5@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: void __cdecl torch::serialize::InputArchive::load_from(class std::basic_istream<char,struct std::char_traits<char> > &,class c10::optional<struct c10::Device>)" (__imp_?load_from@InputArchive@serialize@torch@@QEAAXAEAV?$basic_istream@DU?$char_traits@D@std@@@std@@V?$optional@UDevice@c10@@@c10@@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: void __cdecl torch::serialize::InputArchive::read(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class at::Tensor &,bool)" (__imp_?read@InputArchive@serialize@torch@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAVTensor@at@@_N@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: __cdecl torch::serialize::InputArchive::InputArchive(void)" (__imp_??0InputArchive@serialize@torch@@QEAA@XZ)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: void __cdecl torch::serialize::OutputArchive::save_to(class std::basic_ostream<char,struct std::char_traits<char> > &)" (__imp_?save_to@OutputArchive@serialize@torch@@QEAAXAEAV?$basic_ostream@DU?$char_traits@D@std@@@std@@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: void __cdecl torch::serialize::OutputArchive::write(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class at::Tensor const &,bool)" (__imp_?write@OutputArchive@serialize@torch@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBVTensor@at@@_N@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: __cdecl torch::serialize::OutputArchive::OutputArchive(class std::shared_ptr<struct torch::jit::CompilationUnit>)" (__imp_??0OutputArchive@serialize@torch@@QEAA@V?$shared_ptr@UCompilationUnit@jit@torch@@@std@@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: __cdecl torch::jit::CompilationUnit::CompilationUnit(void)" (__imp_??0CompilationUnit@jit@torch@@QEAA@XZ)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: __cdecl torch::jit::CompilationUnit::~CompilationUnit(void)" (__imp_??1CompilationUnit@jit@torch@@QEAA@XZ)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: __cdecl torch::serialize::InputArchive::~InputArchive(void)" (__imp_??1InputArchive@serialize@torch@@QEAA@XZ)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: __cdecl torch::serialize::OutputArchive::~OutputArchive(void)" (__imp_??1OutputArchive@serialize@torch@@QEAA@XZ)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: struct torch::jit::Module & __cdecl torch::jit::Module::operator=(struct torch::jit::Module const &)" (__imp_??4Module@jit@torch@@QEAAAEAU012@AEBU012@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: struct c10::IValue __cdecl torch::jit::Module::forward(class std::vector<struct c10::IValue,class std::allocator<struct c10::IValue> >)" (__imp_?forward@Module@jit@torch@@QEAA?AUIValue@c10@@V?$vector@UIValue@c10@@V?$allocator@UIValue@c10@@@std@@@std@@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: __cdecl torch::jit::Module::~Module(void)" (__imp_??1Module@jit@torch@@QEAA@XZ)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: __cdecl torch::jit::Module::Module(void)" (__imp_??0Module@jit@torch@@QEAA@XZ)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: virtual __cdecl torch::autograd::AutogradMeta::~AutogradMeta(void)" (__imp_??1AutogradMeta@autograd@torch@@UEAA@XZ)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: __cdecl torch::autograd::AutogradMeta::AutogradMeta(struct c10::TensorImpl *,bool,struct torch::autograd::Edge)" (__imp_??0AutogradMeta@autograd@torch@@QEAA@PEAUTensorImpl@c10@@_NUEdge@12@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: virtual class at::Tensor const & __cdecl torch::autograd::AutogradMeta::grad(void)const " (__imp_?grad@AutogradMeta@autograd@torch@@UEBAAEBVTensor@at@@XZ)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: virtual class at::Tensor & __cdecl torch::autograd::AutogradMeta::grad(void)" (__imp_?grad@AutogradMeta@autograd@torch@@UEAAAEAVTensor@at@@XZ)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: virtual bool __cdecl torch::autograd::AutogradMeta::requires_grad(void)const " (__imp_?requires_grad@AutogradMeta@autograd@torch@@UEBA_NXZ)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: virtual void __cdecl torch::autograd::AutogradMeta::set_requires_grad(bool,struct c10::TensorImpl *)" (__imp_?set_requires_grad@AutogradMeta@autograd@torch@@UEAAX_NPEAUTensorImpl@c10@@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: __cdecl at::NoGradGuard::~NoGradGuard(void)" (__imp_??1NoGradGuard@at@@QEAA@XZ)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: __cdecl at::NoGradGuard::NoGradGuard(void)" (__imp_??0NoGradGuard@at@@QEAA@XZ)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: struct c10::StrongTypePtr & __cdecl c10::StrongTypePtr::operator=(struct c10::StrongTypePtr &&)" (__imp_??4StrongTypePtr@c10@@QEAAAEAU01@$$QEAU01@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: struct c10::StrongTypePtr & __cdecl c10::StrongTypePtr::operator=(struct c10::StrongTypePtr const &)" (__imp_??4StrongTypePtr@c10@@QEAAAEAU01@AEBU01@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: __cdecl c10::StrongTypePtr::StrongTypePtr(struct c10::StrongTypePtr const &)" (__imp_??0StrongTypePtr@c10@@QEAA@AEBU01@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: __cdecl c10::ivalue::Future::FutureError::FutureError(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &&)" (__imp_??0FutureError@Future@ivalue@c10@@QEAA@$$QEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: class at::Tensor __cdecl at::Tensor::operator[](__int64)const " (__imp_??ATensor@at@@QEBA?AV01@_J@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: __cdecl at::AutoNonVariableTypeMode::~AutoNonVariableTypeMode(void)" (__imp_??1AutoNonVariableTypeMode@at@@QEAA@XZ)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: struct c10::Device __cdecl at::Context::getDeviceFromPtr(void *,enum c10::DeviceType)" (__imp_?getDeviceFromPtr@Context@at@@QEAA?AUDevice@c10@@PEAXW4DeviceType@4@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: __cdecl at::AutoNonVariableTypeMode::AutoNonVariableTypeMode(bool)" (__imp_??0AutoNonVariableTypeMode@at@@QEAA@_N@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: class at::Tensor & __cdecl at::Tensor::operator=(class at::Tensor const &)& " (__imp_??4Tensor@at@@QEGAAAEAV01@AEBV01@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: class c10::intrusive_ptr<struct c10::TensorImpl,struct c10::UndefinedTensorImpl> const & __cdecl at::Tensor::getIntrusivePtr(void)const " (__imp_?getIntrusivePtr@Tensor@at@@QEBAAEBV?$intrusive_ptr@UTensorImpl@c10@@UUndefinedTensorImpl@2@@c10@@XZ)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: bool __cdecl c10::TensorImpl::unique_version(void)const " (__imp_?unique_version@TensorImpl@c10@@QEBA_NXZ)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: bool __cdecl c10::TensorOptions::requires_grad(void)const " (__imp_?requires_grad@TensorOptions@c10@@QEBA_NXZ)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: bool __cdecl c10::TensorOptions::has_dtype(void)const " (__imp_?has_dtype@TensorOptions@c10@@QEBA_NXZ)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: __cdecl c10::TensorOptions::TensorOptions(enum c10::ScalarType)" (__imp_??0TensorOptions@c10@@QEAA@W4ScalarType@1@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: __cdecl c10::Storage::Storage(struct c10::Storage::use_byte_size_t,unsigned __int64,class c10::DataPtr,struct c10::Allocator *,bool)" (__imp_??0Storage@c10@@QEAA@Uuse_byte_size_t@01@_KVDataPtr@1@PEAUAllocator@1@_N@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) protected: class c10::intrusive_ptr_target & __cdecl c10::intrusive_ptr_target::operator=(class c10::intrusive_ptr_target const &)" (__imp_??4intrusive_ptr_target@c10@@IEAAAEAV01@AEBV01@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) protected: __cdecl c10::intrusive_ptr_target::intrusive_ptr_target(class c10::intrusive_ptr_target const &)" (__imp_??0intrusive_ptr_target@c10@@IEAA@AEBV01@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) protected: class c10::intrusive_ptr_target & __cdecl c10::intrusive_ptr_target::operator=(class c10::intrusive_ptr_target &&)" (__imp_??4intrusive_ptr_target@c10@@IEAAAEAV01@$$QEAV01@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) protected: __cdecl c10::intrusive_ptr_target::intrusive_ptr_target(class c10::intrusive_ptr_target &&)" (__imp_??0intrusive_ptr_target@c10@@IEAA@$$QEAV01@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: __cdecl c10::Scalar::Scalar(int)" (__imp_??0Scalar@c10@@QEAA@H@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: __cdecl c10::Scalar::Scalar(void)" (__imp_??0Scalar@c10@@QEAA@XZ)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\FV.lib(FV.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) class std::tuple<class at::Tensor,class at::Tensor,class at::Tensor> __cdecl at::svd(class at::Tensor const &,bool,bool)" (__imp_?svd@at@@YA?AV?$tuple@VTensor@at@@V12@V12@@std@@AEBVTensor@1@_N1@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\Detector.lib(Detector.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) class at::Tensor __cdecl at::true_divide(class at::Tensor const &,class c10::Scalar)" (__imp_?true_divide@at@@YA?AVTensor@1@AEBV21@VScalar@c10@@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\Detector.lib(Detector.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) class at::Tensor __cdecl at::zeros(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &)" (__imp_?zeros@at@@YA?AVTensor@1@V?$ArrayRef@_J@c10@@AEBUTensorOptions@4@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\Detector.lib(Detector.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: class at::Tensor & __cdecl at::Tensor::index_put_(class std::initializer_list<struct at::indexing::TensorIndex>,class at::Tensor const &)" (__imp_?index_put_@Tensor@at@@QEAAAEAV12@V?$initializer_list@UTensorIndex@indexing@at@@@std@@AEBV12@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\Detector.lib(Detector.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: class at::Tensor & __cdecl at::Tensor::index_put_(class std::initializer_list<struct at::indexing::TensorIndex>,class c10::Scalar)" (__imp_?index_put_@Tensor@at@@QEAAAEAV12@V?$initializer_list@UTensorIndex@indexing@at@@@std@@VScalar@c10@@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\Detector.lib(Detector.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: class at::Tensor __cdecl at::Tensor::index(class std::initializer_list<struct at::indexing::TensorIndex>)const " (__imp_?index@Tensor@at@@QEBA?AV12@V?$initializer_list@UTensorIndex@indexing@at@@@std@@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\Detector.lib(Detector.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) class at::Tensor __cdecl at::min(class at::Tensor const &,class at::Tensor const &)" (__imp_?min@at@@YA?AVTensor@1@AEBV21@0@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\Detector.lib(Detector.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) class at::Tensor __cdecl at::min(class at::Tensor const &)" (__imp_?min@at@@YA?AVTensor@1@AEBV21@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\Detector.lib(Detector.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) class at::Tensor __cdecl at::empty_like(class at::Tensor const &,struct c10::TensorOptions const &,class c10::optional<enum c10::MemoryFormat>)" (__imp_?empty_like@at@@YA?AVTensor@1@AEBV21@AEBUTensorOptions@c10@@V?$optional@W4MemoryFormat@c10@@@4@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\Detector.lib(Detector.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) class at::Tensor __cdecl at::zeros_like(class at::Tensor const &,struct c10::TensorOptions const &,class c10::optional<enum c10::MemoryFormat>)" (__imp_?zeros_like@at@@YA?AVTensor@1@AEBV21@AEBUTensorOptions@c10@@V?$optional@W4MemoryFormat@c10@@@4@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\Detector.lib(Detector.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) class std::tuple<class at::Tensor,class at::Tensor> __cdecl at::lstsq(class at::Tensor const &,class at::Tensor const &)" (__imp_?lstsq@at@@YA?AV?$tuple@VTensor@at@@V12@@std@@AEBVTensor@1@0@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\Detector.lib(Detector.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) class at::Tensor __cdecl at::diag(class at::Tensor const &,__int64)" (__imp_?diag@at@@YA?AVTensor@1@AEBV21@_J@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\Detector.lib(Detector.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) class at::Tensor __cdecl at::argsort(class at::Tensor const &,__int64,bool)" (__imp_?argsort@at@@YA?AVTensor@1@AEBV21@_J_N@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\Detector.lib(Detector.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) class at::Tensor __cdecl at::matrix_rank(class at::Tensor const &,bool)" (__imp_?matrix_rank@at@@YA?AVTensor@1@AEBV21@_N@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\Detector.lib(Detector.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) class at::Tensor __cdecl at::ones(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &)" (__imp_?ones@at@@YA?AVTensor@1@V?$ArrayRef@_J@c10@@AEBUTensorOptions@4@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\Detector.lib(Detector.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) class at::Tensor __cdecl at::stack(class c10::ArrayRef<class at::Tensor>,__int64)" (__imp_?stack@at@@YA?AVTensor@1@V?$ArrayRef@VTensor@at@@@c10@@_J@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\Detector.lib(Detector.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) class at::Tensor __cdecl at::max(class at::Tensor const &,class at::Tensor const &)" (__imp_?max@at@@YA?AVTensor@1@AEBV21@0@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\Detector.lib(Detector.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) class at::Tensor __cdecl at::max(class at::Tensor const &)" (__imp_?max@at@@YA?AVTensor@1@AEBV21@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\Detector.lib(Detector.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) class at::Tensor __cdecl at::eye(__int64,struct c10::TensorOptions const &)" (__imp_?eye@at@@YA?AVTensor@1@_JAEBUTensorOptions@c10@@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\Detector.lib(Detector.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) class at::Tensor __cdecl at::cat(class c10::ArrayRef<class at::Tensor>,__int64)" (__imp_?cat@at@@YA?AVTensor@1@V?$ArrayRef@VTensor@at@@@c10@@_J@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\Detector.lib(Detector.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) class at::Tensor __cdecl at::round(class at::Tensor const &)" (__imp_?round@at@@YA?AVTensor@1@AEBV21@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\Detector.lib(Detector.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) class std::vector<class at::Tensor,class std::allocator<class at::Tensor> > __cdecl at::where(class at::Tensor const &)" (__imp_?where@at@@YA?AV?$vector@VTensor@at@@V?$allocator@VTensor@at@@@std@@@std@@AEBVTensor@1@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\Detector.lib(Detector.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) class at::Tensor __cdecl at::det(class at::Tensor const &)" (__imp_?det@at@@YA?AVTensor@1@AEBV21@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\Detector.lib(Detector.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) class at::Tensor __cdecl at::native::tensor(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &)" (__imp_?tensor@native@at@@YA?AVTensor@2@V?$ArrayRef@_J@c10@@AEBUTensorOptions@5@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\Detector.lib(Detector.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: void __cdecl torch::jit::Module::to(struct c10::Device,bool)" (__imp_?to@Module@jit@torch@@QEAAXUDevice@c10@@_N@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\Detector.lib(Detector.obj)	1	
...

Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: class at::Tensor & __cdecl at::Tensor::operator+=(class at::Tensor const &)" (__imp_??YTensor@at@@QEAAAEAV01@AEBV01@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\Detector.lib(Detector.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: __cdecl at::indexing::TensorIndex::~TensorIndex(void)" (__imp_??1TensorIndex@indexing@at@@QEAA@XZ)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\Detector.lib(Detector.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: __cdecl at::indexing::TensorIndex::TensorIndex(class at::Tensor)" (__imp_??0TensorIndex@indexing@at@@QEAA@VTensor@2@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\Detector.lib(Detector.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: __cdecl at::indexing::TensorIndex::TensorIndex(struct at::indexing::Slice)" (__imp_??0TensorIndex@indexing@at@@QEAA@USlice@12@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\Detector.lib(Detector.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: __cdecl at::indexing::TensorIndex::TensorIndex(int)" (__imp_??0TensorIndex@indexing@at@@QEAA@H@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\Detector.lib(Detector.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: __cdecl at::indexing::TensorIndex::TensorIndex(__int64)" (__imp_??0TensorIndex@indexing@at@@QEAA@_J@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\Detector.lib(Detector.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: __cdecl at::indexing::Slice::Slice(class c10::optional<__int64>,class c10::optional<__int64>,class c10::optional<__int64>)" (__imp_??0Slice@indexing@at@@QEAA@V?$optional@_J@c10@@00@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\Detector.lib(Detector.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: __cdecl c10::TensorOptions::TensorOptions(enum c10::MemoryFormat)" (__imp_??0TensorOptions@c10@@QEAA@W4MemoryFormat@1@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\Detector.lib(Detector.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: __cdecl c10::TensorOptions::TensorOptions(class caffe2::TypeMeta)" (__imp_??0TensorOptions@c10@@QEAA@VTypeMeta@caffe2@@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\Detector.lib(Detector.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) public: __cdecl c10::Scalar::Scalar(float)" (__imp_??0Scalar@c10@@QEAA@M@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\Detector.lib(Detector.obj)	1	
Error	LNK2001	unresolved external symbol "__declspec(dllimport) class at::Tensor __cdecl at::sigmoid(class at::Tensor const &)" (__imp_?sigmoid@at@@YA?AVTensor@1@AEBV21@@Z)	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\FV_Test_Lib\Blinker.lib(Blinker.obj)	1	
Error	LNK1120	96 unresolved externals	FV_Test_Lib	D:\Codes\fac_ver\cpp\port\LibtorchPort\x64\Release\FV_Test_Lib.exe	1	

Note:
Just to clear any possible confusion here, I first showed the lib directory I built statically (using the approach mentioned above) and then copied it to the libtorch-release-latest folder which I have in my dependency folder and is showing in the Linker’s Additional Library Directories options. so I’m using the libs that I built earlier not something else.
Previously that it built fine but needed the dll at runtime, I was using the libs I made earlier from the cmake project (explained here) now that I used the new static libs, I’m getting these linker errors!.