2012. 12. 26. 16:23ㆍ언어/C++ Builder
GoogleMaps 컴포넌트를 사용하게 되면 개발 중에는 별 문제 없지만 배포 시
[ILINK32 Error] Error: Unable to open file ‘UABOUTFRM.DFM’
[ILINK32 Error] Error: Unable to open file ‘GMMAPRES.RES’
와 같은 링크에러와 마주하게 될 것 이다.
구글링을 해서
http://www.cadetill.com/gmlib/
위 사이트에서 해결책을 찾았다.
1. Open project “GMLib_C2010.cbproj”
2. Remove GMBase and GMSize from the project( defined in GMLib_C2010.cbproj ).
3. Add db.pas into project. You can find it from ..\Program Files\Embarcadero\RAD Studio\7.0\source\Win32\db”
4. Right click on “GMLib_C2010.cbproj.bpl” and click “Install”
5. Go to “Tools > Options > Environment Options > C++ Options > Path and Directories”"
Click “Include Path > [...]” button
Browse to the “\lib\C2010″ folder and press “OK”, “Add”
Click “Library Path > [...]” button
Browse to the “\lib\C2010″ folder and press “OK”, “Add”
Some small issues:
1) version not updated in Design Packages
GoogleMaps Library v0.1.6(xxx) -> should be v0.1.8 isn’t it?
2) I’ve created a test application, and just added GMMAP VCL. if “Build with runtime pacakges” is unchecked, build will fail with these two errors:
[ILINK32 Error] Error: Unable to open file ‘UABOUTFRM.DFM’
fix: Copy the file from ./src to project’s root directory or add ./src to “Library Path”
[ILINK32 Error] Error: Unable to open file ‘GMMAPRES.RES’
fix: Add the file from ./resource to project
If you check “Build with runtime pacakges”, the application will be built without any error.
1 - 5번까지는 사용방법이고 하단 1~2번까지는 오류 해결법이다.
'언어 > C++ Builder' 카테고리의 다른 글
Statusbar에 ProgressBar 넣기 링크 (0) | 2013.01.02 |
---|---|
C++, Object C 에서 Connection pool 사용하기 (0) | 2012.12.27 |
XE, XE2에서 CPort 사용 시 주의사항 (0) | 2012.12.13 |
stringgrid 라인별 색 변경 (0) | 2012.12.12 |
TChart Graph Pointer주는방법 (0) | 2012.12.12 |