본문 바로가기
Borland

[x64] [ilink64 Error] Fatal: Unable to open file 'BDERTL.A'

by leo21c 2014. 7. 15.
SMALL

LeadTools V18과 C++ Builder XE6를 이용해서 64bit 빌드 할 때 'BDERTL.A'를 열수 없다는 에러 메세지가 나타난다.

Compiler 폴더를 검색해 봐도 그런 파일은 존재 하지 않는데 구글을 검색한 결과 아래와 같은 페이지를 발견했다.

http://qc.embarcadero.com/wc/qcmain.aspx?d=114447

해결책은 XE6에서 비어있는 BDERTL.dll을 제작한 후에 Lib폴더에 64bit로 빌드후 생성 된 BDERTL.dll과 BDERTL.a 파일을 넣고 빌드를 하면 문제 없이 성공한다.

위의 링크에 써 있는 내용은 아래와 같다.

Still in XE4 Update 1 ....

Work around:


Copy any .a lib to BDERTL.a or create a static lib bdertl.a with void foo() {} and put it somewhere in the compiler path ex:  $(BDSCOMMONDIR)\DCP\Win64


C++Builder XE4 will be happy and can compile and link in 64.


LIST