C++Builder  |  Delphi  |  FireMonkey  |  C/C++  |  Free Pascal  |  Firebird
볼랜드포럼 BorlandForum
 경고! 게시물 작성자의 사전 허락없는 메일주소 추출행위 절대 금지
분야별 포럼
C++빌더
델파이
파이어몽키
C/C++
프리파스칼
파이어버드
볼랜드포럼 홈
헤드라인 뉴스
IT 뉴스
공지사항
자유게시판
해피 브레이크
공동 프로젝트
구인/구직
회원 장터
건의사항
운영진 게시판
회원 메뉴
북마크
볼랜드포럼 광고 모집

자유게시판
세상 살아가는 이야기들을 나누는 사랑방입니다.
[5705] 빌더5,6 버그 (빌더뉴스그룹에 올렸던 것)
띠리뽕 [whooperlove] 1750 읽음    2002-09-10 02:56
========== 제 질문 내용입니다 ==========

<#1 Bug Condition>

Add "a-1" and "b-1" directories as library directory in project option
dialog.

<#1 Result>

[Linker Fatal Error] Fatal: Illegal option: 1;c:\program
files\borland\cbuilder6\lib\release

<#2 Bug Condition>

Add "a--" directory as library directory.

<#2 Result>

[Linker Fatal Error] Fatal: Unable to open file 'VCL.LIB'

<Guess>

1. *library path* value should not include hipen more than twice.
2. This bug can be solved by warpping LIBPATH value with qutoes in
exported makefile manually.
3. Above fact means that BCB 6 IDE ".bpr to .mak" converter does not wrap
library path with quotoes and it lets ilink32 think the hipen as linker
option.
4. I hope this bug will be fixed as soon as possible.

=========== 볼랜드 TeamB 답변입니다 =========

> 4. I hope this bug will be fixed as soon as possible.

Not likely.  For a while now, BCB has not worked well with "special
characters" in directory names.  For a much more immediate solution
you should just rename your directories.  (Not what you want to hear,
but it's still the best solution.)

--
Chris(TeamB);

======== 요약 ========

빌더에서 라이브러리 패스로 하이픈이 들어간 디렉토리를 사용하면
하이픈 때문에 링커가 디렉토리 이름을 링커 옵션으로 인식해서
뜻하지 않은 에러를 발생시킵니다. 따라서 "MyProject-1.0" 과 같은
디렉토리명은 그 이름을 바꾸지 않은 이상 라이브러리 패스로 사용할 수 없게 됩니다.
물론 해결 방법이 있습니다. 빌더의 프로젝트 파일을 메이크 파일로 익스포드 해서
메이크 파일에서 LIBPATH=.... 로 기술된 부분을 LIBPATH="...." 와 같이
따옴표를 써가지고 묶어주면 해결됩니다만 수동으로 해줘야하기 때문에 아주 불편합니다.
또한 오브젝트 파일이나 실행화일 같은 것도 메이크 한 폴더에 다 생겨버리는 문제가 생깁니다.
볼랜드 측에서는 그냥 디렉토리명을 바꾸는 것이 최선책이라고 하네요.




+ -

관련 글 리스트
5705 빌더5,6 버그 (빌더뉴스그룹에 올렸던 것) 띠리뽕 1750 2002/09/10
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.