What should i do next..?

Hello. every one.

I wanna make a project with Libtorch 1.9.0_cu10.2, Opencv 4.5.3 in VS 2019 env.

but i couldn’t handle the issue with LNK2019, LNK1120

following list is what i got error

please answer me. thx.

|오류|LNK2019|__declspec(dllimport) class std::basic_string<char,struct std::char_traits,class std::allocator > __cdecl c10::DeviceTypeName(enum c10::DeviceType,bool) (_imp?DeviceTypeName@c10@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@W4DeviceType@1@_N@Z)public: void __cdecl c10::impl::InlineEvent::block(class c10::Stream const &)const (?block@?$InlineEvent@VVirtualGuardImpl@impl@c10@@@impl@c10@@QEBAXAEBVStream@3@@Z) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) class std::basic_ostream<char,struct std::char_traits > & __cdecl c10::operator<<(class std::basic_ostream<char,struct std::char_traits > &,enum c10::DeviceType) (_imp??6c10@@YAAEAV?$basic_ostream@DU?$char_traits@D@std@@@std@@AEAV12@W4DeviceType@0@@Z)class std::basic_ostream<char,struct std::char_traits > & __cdecl c10::detail::_str(class std::basic_ostream<char,struct std::char_traits > &,enum c10::DeviceType const &) (??$_str@W4DeviceType@c10@@@detail@c10@@YAAEAV?$basic_ostream@DU?$char_traits@D@std@@@std@@AEAV23@AEBW4DeviceType@1@@Z) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) public: __cdecl c10::ValueError::ValueError(struct c10::SourceLocation,class std::basic_string<char,struct std::char_traits,class std::allocator >) (_imp??0ValueError@c10@@QEAA@USourceLocation@1@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)private: static void __cdecl c10::ivalue::Future::ensureIsSubsetOfDevices(class std::vector<struct c10::Device,class std::allocator > const &,class std::vector<struct c10::Device,class std::allocator > const &) (?ensureIsSubsetOfDevices@Future@ivalue@c10@@CAXAEBV?$vector@UDevice@c10@@V?$allocator@UDevice@c10@@@std@@@std@@0@Z) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) char const * __cdecl c10::detail::torchCheckMsgImpl(char const *) (_imp?torchCheckMsgImpl@detail@c10@@YAPEBDPEBD@Z)public: void __cdecl c10::ivalue::Object::unsafeRemoveSlot(unsigned __int64) (?unsafeRemoveSlot@Object@ivalue@c10@@QEAAX_K@Z) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) char const * __cdecl c10::detail::torchCheckMsgImpl(char const *,char const *) (_imp?torchCheckMsgImpl@detail@c10@@YAPEBDPEBD0@Z)public: void __cdecl c10::ivalue::Future::markCompleted(struct c10::IValue,class c10::optional<class std::vector<class std::reference_wrapper,class std::allocator<class std::reference_wrapper > > >) (?markCompleted@Future@ivalue@c10@@QEAAXUIValue@3@V?$optional@V?$vector@V?$reference_wrapper@$$CBVDataPtr@c10@@@std@@V?$allocator@V?$reference_wrapper@$$CBVDataPtr@c10@@@std@@@2@@std@@@3@@Z) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) void __cdecl c10::detail::torchCheckFail(char const *,char const *,unsigned int,class std::basic_string<char,struct std::char_traits,class std::allocator > const &) (_imp?torchCheckFail@detail@c10@@YAXPEBD0IAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)public: void __cdecl c10::impl::InlineEvent::block(class c10::Stream const &)const (?block@?$InlineEvent@VVirtualGuardImpl@impl@c10@@@impl@c10@@QEBAXAEBVStream@3@@Z) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) void __cdecl c10::detail::torchCheckFail(char const *,char const *,unsigned int,char const *) (_imp?torchCheckFail@detail@c10@@YAXPEBD0I0@Z)public: void __cdecl c10::ivalue::Future::markCompleted(struct c10::IValue,class c10::optional<class std::vector<class std::reference_wrapper,class std::allocator<class std::reference_wrapper > > >) (?markCompleted@Future@ivalue@c10@@QEAAXUIValue@3@V?$optional@V?$vector@V?$reference_wrapper@$$CBVDataPtr@c10@@@std@@V?$allocator@V?$reference_wrapper@$$CBVDataPtr@c10@@@std@@@2@@std@@@3@@Z) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) void __cdecl c10::detail::torchInternalAssertFail(char const *,char const *,unsigned int,char const *,char const *) (_imp?torchInternalAssertFail@detail@c10@@YAXPEBD0I00@Z)private: __cdecl c10::intrusive_ptr<struct c10::ivalue::Future,struct c10::detail::intrusive_target_default_null_type >::intrusive_ptr<struct c10::ivalue::Future,struct c10::detail::intrusive_target_default_null_type >(struct c10::ivalue::Future *) (??0?$intrusive_ptr@UFuture@ivalue@c10@@U?$intrusive_target_default_null_type@UFuture@ivalue@c10@@@detail@3@@c10@@AEAA@PEAUFuture@ivalue@1@@Z) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) void __cdecl c10::detail::torchInternalAssertFail(char const *,char const *,unsigned int,char const *,struct c10::detail::CompileTimeEmptyString) (_imp?torchInternalAssertFail@detail@c10@@YAXPEBD0I0UCompileTimeEmptyString@12@@Z)public: struct c10::IValue const & __cdecl c10::ivalue::Future::constValue(void)const (?constValue@Future@ivalue@c10@@QEBAAEBUIValue@3@XZ) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) public: __cdecl c10::Device::Device(enum c10::DeviceType,signed char) (_imp??0Device@c10@@QEAA@W4DeviceType@1@C@Z)public: static void __cdecl std::_Default_allocator_traits<class std::allocator >::construct<struct c10::Device,enum c10::DeviceType,signed char &>(class std::allocator &,struct c10::Device * const,enum c10::DeviceType &&,signed char &) (??$construct@UDevice@c10@@W4DeviceType@2@AEAC@?$_Default_allocator_traits@V?$allocator@UDevice@c10@@@std@@@std@@SAXAEAV?$allocator@UDevice@c10@@@1@QEAUDevice@c10@@$$QEAW4DeviceType@4@AEAC@Z) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) public: enum c10::DeviceType __cdecl c10::Device::type(void)const (_imp?type@Device@c10@@QEBA?AW4DeviceType@2@XZ)public: __cdecl c10::impl::InlineDeviceGuard::InlineDeviceGuard(struct c10::Device) (??0?$InlineDeviceGuard@VVirtualGuardImpl@impl@c10@@@impl@c10@@QEAA@UDevice@2@@Z) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) public: signed char __cdecl c10::Device::index(void)const (_imp?index@Device@c10@@QEBACXZ)public: __cdecl c10::impl::InlineDeviceGuard::InlineDeviceGuard(struct c10::Device) (??0?$InlineDeviceGuard@VVirtualGuardImpl@impl@c10@@@impl@c10@@QEAA@UDevice@2@@Z) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) public: bool __cdecl c10::Device::has_index(void)const (_imp?has_index@Device@c10@@QEBA_NXZ)private: static class std::vector<struct c10::Device,class std::allocator > __cdecl c10::ivalue::Future::sortAndDeduplicateDevices(class c10::impl::VirtualGuardImpl const &,class std::vector<struct c10::Device,class std::allocator >) (?sortAndDeduplicateDevices@Future@ivalue@c10@@CA?AV?$vector@UDevice@c10@@V?$allocator@UDevice@c10@@@std@@@std@@AEBVVirtualGuardImpl@impl@3@V45@@Z) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) public: bool __cdecl c10::Device::is_cpu(void)const (_imp?is_cpu@Device@c10@@QEBA_NXZ)private: static class std::vector<struct c10::Device,class std::allocator > __cdecl c10::ivalue::Future::getDevicesOfDataPtrs(class c10::impl::VirtualGuardImpl const &,class std::vector<class std::reference_wrapper,class std::allocator<class std::reference_wrapper > > const &) (?getDevicesOfDataPtrs@Future@ivalue@c10@@CA?AV?$vector@UDevice@c10@@V?$allocator@UDevice@c10@@@std@@@std@@AEBVVirtualGuardImpl@impl@3@AEBV?$vector@V?$reference_wrapper@$$CBVDataPtr@c10@@@std@@V?$allocator@V?$reference_wrapper@$$CBVDataPtr@c10@@@std@@@2@@5@@Z) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) class std::basic_ostream<char,struct std::char_traits > & __cdecl c10::operator<<(class std::basic_ostream<char,struct std::char_traits > &,struct c10::Device const &) (_imp??6c10@@YAAEAV?$basic_ostream@DU?$char_traits@D@std@@@std@@AEAV12@AEBUDevice@0@@Z)class std::basic_ostream<char,struct std::char_traits > & __cdecl c10::detail::_str(class std::basic_ostream<char,struct std::char_traits > &,struct c10::Device const &) (??$_str@UDevice@c10@@@detail@c10@@YAAEAV?$basic_ostream@DU?$char_traits@D@std@@@std@@AEAV23@AEBUDevice@1@@Z) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) public: struct c10::Device __cdecl c10::DataPtr::device(void)const (_imp?device@DataPtr@c10@@QEBA?AUDevice@2@XZ)private: static class std::vector<struct c10::Device,class std::allocator > __cdecl c10::ivalue::Future::getDevicesOfDataPtrs(class c10::impl::VirtualGuardImpl const &,class std::vector<class std::reference_wrapper,class std::allocator<class std::reference_wrapper > > const &) (?getDevicesOfDataPtrs@Future@ivalue@c10@@CA?AV?$vector@UDevice@c10@@V?$allocator@UDevice@c10@@@std@@@std@@AEBVVirtualGuardImpl@impl@3@AEBV?$vector@V?$reference_wrapper@$$CBVDataPtr@c10@@@std@@V?$allocator@V?$reference_wrapper@$$CBVDataPtr@c10@@@std@@@2@@5@@Z) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) protected: virtual __cdecl c10::intrusive_ptr_target::~intrusive_ptr_target(void) (_imp??1intrusive_ptr_target@c10@@MEAA@XZ)int public: __cdecl c10::ivalue::Future::Future(class std::shared_ptr<struct c10::Type>,class shared_ptr<struct c10::Type>::vector<struct c10::Device,class std::allocator<struct c10::Device> >)'::1’::dtor$2 (?dtor$2@?0???0Future@ivalue@c10@@QEAA@V?$shared_ptr@UType@c10@@@std@@V?$vector@UDevice@c10@@V?$allocator@UDevice@c10@@@std@@@4@@Z@4HA) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) protected: __cdecl c10::intrusive_ptr_target::intrusive_ptr_target(void) (_imp??0intrusive_ptr_target@c10@@IEAA@XZ)public: __cdecl c10::ivalue::Future::Future(class std::shared_ptr,class std::vector<struct c10::Device,class std::allocator >) (??0Future@ivalue@c10@@QEAA@V?$shared_ptr@UType@c10@@@std@@V?$vector@UDevice@c10@@V?$allocator@UDevice@c10@@@std@@@4@@Z) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) protected: __cdecl c10::intrusive_ptr_target::intrusive_ptr_target(class c10::intrusive_ptr_target &&) (_imp??0intrusive_ptr_target@c10@@IEAA@$$QEAV01@@Z)public: __cdecl c10::ivalue::Object::Object(struct c10::ivalue::Object &&) (??0Object@ivalue@c10@@QEAA@$$QEAU012@@Z) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__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)public: struct c10::ivalue::Object & __cdecl c10::ivalue::Object::operator=(struct c10::ivalue::Object &&) (??4Object@ivalue@c10@@QEAAAEAU012@$$QEAU012@@Z) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__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)public: __cdecl c10::ivalue::Object::Object(struct c10::ivalue::Object const &) (??0Object@ivalue@c10@@QEAA@AEBU012@@Z) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__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)public: struct c10::ivalue::Object & __cdecl c10::ivalue::Object::operator=(struct c10::ivalue::Object const &) (??4Object@ivalue@c10@@QEAAAEAU012@AEBU012@@Z) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) private: virtual void __cdecl c10::intrusive_ptr_target::release_resources(void) (_imp?release_resources@intrusive_ptr_target@c10@@EEAAXXZ)private: void cdecl c10::intrusive_ptr<struct c10::ivalue::Future,struct c10::detail::intrusive_target_default_null_type >::reset(void) (?reset@?$intrusive_ptr@UFuture@ivalue@c10@@U?$intrusive_target_default_null_type@UFuture@ivalue@c10@@@detail@3@@c10@@AEAAXXZ) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) public: __cdecl c10::MessageLogger::MessageLogger(char const *,int,int) (_imp??0MessageLogger@c10@@QEAA@PEBDHH@Z)public: void __cdecl c10::ivalue::Future::setErrorIfNeeded(class std::exception_ptr) (?setErrorIfNeeded@Future@ivalue@c10@@QEAAXVexception_ptr@std@@@Z) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) public: __cdecl c10::MessageLogger::~MessageLogger(void) (_imp??1MessageLogger@c10@@QEAA@XZ)public: void __cdecl c10::ivalue::Future::setErrorIfNeeded(class std::exception_ptr) (?setErrorIfNeeded@Future@ivalue@c10@@QEAAXVexception_ptr@std@@@Z) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) public: class std::basic_stringstream<char,struct std::char_traits,class std::allocator > & __cdecl c10::MessageLogger::stream(void) (_imp?stream@MessageLogger@c10@@QEAAAEAV?$basic_stringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ)public: void __cdecl c10::ivalue::Future::setErrorIfNeeded(class std::exception_ptr) (?setErrorIfNeeded@Future@ivalue@c10@@QEAAXVexception_ptr@std@@@Z) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) public: virtual __cdecl c10::impl::DeviceGuardImplInterface::~DeviceGuardImplInterface(void) (_imp??1DeviceGuardImplInterface@impl@c10@@UEAA@XZ)int public: __cdecl c10::impl::VirtualGuardImpl::VirtualGuardImpl(enum impl::DeviceType)'::1’::dtor$0 (?dtor$0@?0???0VirtualGuardImpl@impl@c10@@QEAA@W4DeviceType@2@@Z@4HA) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) public: __cdecl c10::impl::DeviceGuardImplInterface::DeviceGuardImplInterface(void) (_imp??0DeviceGuardImplInterface@impl@c10@@QEAA@XZ)public: __cdecl c10::impl::VirtualGuardImpl::VirtualGuardImpl(enum c10::DeviceType) (??0VirtualGuardImpl@impl@c10@@QEAA@W4DeviceType@2@@Z) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) public: __cdecl c10::impl::DeviceGuardImplInterface::DeviceGuardImplInterface(struct c10::impl::DeviceGuardImplInterface const &) (_imp??0DeviceGuardImplInterface@impl@c10@@QEAA@AEBU012@@Z)public: __cdecl c10::impl::VirtualGuardImpl::VirtualGuardImpl(class c10::impl::VirtualGuardImpl &&) (??0VirtualGuardImpl@impl@c10@@QEAA@$$QEAV012@@Z) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) public: struct c10::impl::DeviceGuardImplInterface & __cdecl c10::impl::DeviceGuardImplInterface::operator=(struct c10::impl::DeviceGuardImplInterface const &) (_imp??4DeviceGuardImplInterface@impl@c10@@QEAAAEAU012@AEBU012@@Z)public: class c10::impl::VirtualGuardImpl & __cdecl c10::impl::VirtualGuardImpl::operator=(class c10::impl::VirtualGuardImpl &&) (??4VirtualGuardImpl@impl@c10@@QEAAAEAV012@$$QEAV012@@Z) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) public: __cdecl c10::IValue::IValue(struct c10::IValue const &) (_imp??0IValue@c10@@QEAA@AEBU01@@Z)public: static void __cdecl std::_Default_allocator_traits<class std::allocator >::construct<struct c10::IValue,struct c10::IValue &>(class std::allocator &,struct c10::IValue * const,struct c10::IValue &) (??$construct@UIValue@c10@@AEAU12@@?$_Default_allocator_traits@V?$allocator@UIValue@c10@@@std@@@std@@SAXAEAV?$allocator@UIValue@c10@@@1@QEAUIValue@c10@@AEAU34@@Z) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) public: __cdecl c10::IValue::IValue(struct c10::IValue &&) (_imp??0IValue@c10@@QEAA@$$QEAU01@@Z)public: static void __cdecl std::_Default_allocator_traits<class std::allocator >::construct<struct c10::IValue,struct c10::IValue>(class std::allocator &,struct c10::IValue * const,struct c10::IValue &&) (??$construct@UIValue@c10@@U12@@?$_Default_allocator_traits@V?$allocator@UIValue@c10@@@std@@@std@@SAXAEAV?$allocator@UIValue@c10@@@1@QEAUIValue@c10@@$$QEAU34@@Z) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) public: __cdecl c10::IValue::~IValue(void) (_imp??1IValue@c10@@QEAA@XZ)int public: __cdecl c10::ivalue::Future::Future(class std::shared_ptr<struct c10::Type>,class shared_ptr<struct c10::Type>::vector<struct c10::Device,class std::allocator<struct c10::Device> >)'::1’::dtor$5 (?dtor$5@?0???0Future@ivalue@c10@@QEAA@V?$shared_ptr@UType@c10@@@std@@V?$vector@UDevice@c10@@V?$allocator@UDevice@c10@@@std@@@4@@Z@4HA) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) public: struct c10::IValue & __cdecl c10::IValue::operator=(struct c10::IValue &&)& (_imp??4IValue@c10@@QEGAAAEAU01@$$QEAU01@@Z)struct c10::IValue * __cdecl std::_Move_unchecked<struct c10::IValue *,struct c10::IValue *>(struct c10::IValue *,struct c10::IValue *,struct c10::IValue *) (??$_Move_unchecked@PEAUIValue@c10@@PEAU12@@std@@YAPEAUIValue@c10@@PEAU12@00@Z) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) public: struct c10::IValue & __cdecl c10::IValue::operator=(struct c10::IValue const &)& (_imp??4IValue@c10@@QEGAAAEAU01@AEBU01@@Z)struct c10::IValue * __cdecl std::_Copy_unchecked<struct c10::IValue *,struct c10::IValue *>(struct c10::IValue *,struct c10::IValue *,struct c10::IValue *) (??$_Copy_unchecked@PEAUIValue@c10@@PEAU12@@std@@YAPEAUIValue@c10@@PEAU12@00@Z) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) public: __cdecl c10::IValue::IValue(void) (_imp??0IValue@c10@@QEAA@XZ)public: static void __cdecl std::_Default_allocator_traits<class std::allocator >::construct(class std::allocator &,struct c10::IValue * const) (??$construct@UIValue@c10@@$$V@?$_Default_allocator_traits@V?$allocator@UIValue@c10@@@std@@@std@@SAXAEAV?$allocator@UIValue@c10@@@1@QEAUIValue@c10@@@Z) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) public: __cdecl c10::StrongTypePtr::~StrongTypePtr(void) (_imp??1StrongTypePtr@c10@@QEAA@XZ)int public: __cdecl c10::ivalue::Object::Object(struct ivalue::Object::dtor$1 const &)'::1’::dtor$1 (?dtor$1@?0???0Object@ivalue@c10@@QEAA@AEBU012@@Z@4HA) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) public: __cdecl c10::StrongTypePtr::StrongTypePtr(struct c10::StrongTypePtr const &) (_imp??0StrongTypePtr@c10@@QEAA@AEBU01@@Z)public: __cdecl c10::ivalue::Object::Object(struct c10::ivalue::Object const &) (??0Object@ivalue@c10@@QEAA@AEBU012@@Z) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) public: __cdecl c10::StrongTypePtr::StrongTypePtr(struct c10::StrongTypePtr &&) (_imp??0StrongTypePtr@c10@@QEAA@$$QEAU01@@Z)public: static class c10::intrusive_ptr<struct c10::ivalue::Object,struct c10::detail::intrusive_target_default_null_type > __cdecl c10::intrusive_ptr<struct c10::ivalue::Object,struct c10::detail::intrusive_target_default_null_type >::make<struct c10::StrongTypePtr,unsigned __int64 &>(struct c10::StrongTypePtr &&,unsigned __int64 &) (??$make@UStrongTypePtr@c10@@AEA_K@?$intrusive_ptr@UObject@ivalue@c10@@U?$intrusive_target_default_null_type@UObject@ivalue@c10@@@detail@3@@c10@@SA?AV01@$$QEAUStrongTypePtr@1@AEA_K@Z) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) public: struct c10::StrongTypePtr & __cdecl c10::StrongTypePtr::operator=(struct c10::StrongTypePtr const &) (_imp??4StrongTypePtr@c10@@QEAAAEAU01@AEBU01@@Z)public: struct c10::ivalue::Object & __cdecl c10::ivalue::Object::operator=(struct c10::ivalue::Object const &) (??4Object@ivalue@c10@@QEAAAEAU012@AEBU012@@Z) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) public: struct c10::StrongTypePtr & __cdecl c10::StrongTypePtr::operator=(struct c10::StrongTypePtr &&) (_imp??4StrongTypePtr@c10@@QEAAAEAU01@$$QEAU01@@Z)public: struct c10::ivalue::Object & __cdecl c10::ivalue::Object::operator=(struct c10::ivalue::Object &&) (??4Object@ivalue@c10@@QEAAAEAU012@$$QEAU012@@Z) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|private: static class std::vector<class std::reference_wrapper,class std::allocator<class std::reference_wrapper > > __cdecl c10::ivalue::Future::extractDataPtrs(struct c10::IValue const &) (?extractDataPtrs@Future@ivalue@c10@@CA?AV?$vector@V?$reference_wrapper@$$CBVDataPtr@c10@@@std@@V?$allocator@V?$reference_wrapper@$$CBVDataPtr@c10@@@std@@@2@@std@@AEBUIValue@3@@Z)public: void __cdecl c10::ivalue::Future::markCompleted(struct c10::IValue,class c10::optional<class std::vector<class std::reference_wrapper,class std::allocator<class std::reference_wrapper > > >) (?markCompleted@Future@ivalue@c10@@QEAAXUIValue@3@V?$optional@V?$vector@V?$reference_wrapper@$$CBVDataPtr@c10@@@std@@V?$allocator@V?$reference_wrapper@$$CBVDataPtr@c10@@@std@@@2@@std@@@3@@Z) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|private: void __cdecl c10::ivalue::Object::resizeObject(unsigned __int64) (?resizeObject@Object@ivalue@c10@@AEAAX_K@Z)public: void __cdecl c10::ivalue::Object::setSlot(unsigned __int64,struct c10::IValue) (?setSlot@Object@ivalue@c10@@QEAAX_KUIValue@3@@Z) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) public: __cdecl torch::jit::Module::Module(void) (_imp??0Module@jit@torch@@QEAA@XZ)main 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) public: __cdecl torch::jit::Module::~Module(void) (_imp??1Module@jit@torch@@QEAA@XZ)main 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) public: struct torch::jit::Module & __cdecl torch::jit::Module::operator=(struct torch::jit::Module const &) (_imp??4Module@jit@torch@@QEAAAEAU012@AEBU012@@Z)main 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) struct torch::jit::Module __cdecl torch::jit::load(class std::basic_string<char,struct std::char_traits,class std::allocator > const &,class c10::optional) (_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@@@Z)main 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2001|확인할 수 없는 외부 기호 public: __cdecl c10::Error::Error(class c10::Error const &) (??0Error@c10@@QEAA@AEBV01@@Z)|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2001|확인할 수 없는 외부 기호 public: __cdecl c10::ValueError::ValueError(class c10::ValueError const &) (??0ValueError@c10@@QEAA@AEBV01@@Z)|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2001|확인할 수 없는 외부 기호 public: virtual __cdecl c10::ValueError::~ValueError(void) (??1ValueError@c10@@UEAA@XZ)|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2001|확인할 수 없는 외부 기호 private: virtual void __cdecl c10::intrusive_ptr_target::release_resources(void) (?release_resources@intrusive_ptr_target@c10@@EEAAXXZ)|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK2019|__declspec(dllimport) struct std::atomic<struct c10::impl::DeviceGuardImplInterface const *> * c10::impl::device_guard_impl_registry (_imp?device_guard_impl_registry@impl@c10@@3PAU?$atomic@PEBUDeviceGuardImplInterface@impl@c10@@@std@@A)struct c10::impl::DeviceGuardImplInterface const * __cdecl c10::impl::getDeviceGuardImpl(enum c10::DeviceType) (?getDeviceGuardImpl@impl@c10@@YAPEBUDeviceGuardImplInterface@12@W4DeviceType@2@@Z) 함수에서 참조되는 확인할 수 없는 외부 기호|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\Libtorch_eval\Libtorch_eval.obj|1||
|오류|LNK1120|52개의 확인할 수 없는 외부 참조입니다.|Libtorch_eval|D:\00.Jskim\06.Libtorch_eval\Libtorch_eval\x64\Debug\Libtorch_eval.exe|1||

also i got same problem. that’s LNK2001 with __declspec(dllimport) lnk2001.

it occured when the header(torch/torch.h) include.

how can i build it? :frowning: please help me somebody…!!

I solved that problem myself by changing a registration order in project properties/linker/add dependencies to c10.lib, torch.lib, c10_cuda.lib … etc.
thanks god…