개발이슈, 버그모음/UE5

[UE5] LINK : fatal error LNK1104: cannot open file

유잉유잉유잉 2025. 4. 18. 12:44
728x90

언리얼버전 5.4.4

VisualStudio 2022 버전 : 17.12.1

 

비주얼 스튜디오 실행시 1104 에러로 

~patch_0.exe' 파일을 열 수 없습니다. 라는 에러가 나왔다.

 

https://community.gamedev.tv/t/its-not-compiling/242609

 

It's not compiling

When I did live coding, it came up like this. File D:\unreal\Unreal Projects\CryptRaider\CryptRaider\Intermediate\Build\Win64\x64\CryptRaiderEditor\Development\Engine\SharedPCH.Engine.Cpp20.h.obj was modified or is new File D:\unreal\Unreal Projects\CryptR

community.gamedev.tv

 

1. 언리얼에서 틀 - VisualStudio 프로젝트 새로고침 누르기 => 실패 😭

 

2. 프로젝트 폴더에서 

Intermediate폴더, saved 폴더, 솔루션 파일 제거 후 

비주얼스튜디오 프로젝트 파일 재생성 => 실패 

 

 

 

3. Binaries/Win64 폴더 제거  => 성공 😂

 

 

https://forums.unrealengine.com/t/link-fatal-error-lnk1104-cannot-open-file/287530/6

 

LINK : fatal error LNK1104: cannot open file

I fixed this error by simply deleting everything in the “MyProject\Binaries\Win64”

forums.unrealengine.com

 

 

 

* 참고로 코드 수정 후 위 에러가 나왔을 경우,

수정된 코드가 정상적이지 않아서 

위와같은 에러가 나온 경우가 있었다.

 

코드 수정 후 위와 동일한 에러가 발생하면 코드를 원복시키고 코드에 문제가있는지 확인해야한다. 

728x90