2011-12-08 2 views
4

델파이 vCL 애플리케이션에서 jpeg 이미지를 사용하고 싶지만 델파이에서이 오류 메시지를 어떻게 표시합니까?이 문제를 어떻게 해결할 수 있습니까?델파이 xe2에서 jpeg로 작업 할 수 없습니다

[DCC Error] Vcl.Imaging.jpeg.pas(747): E1026 File not found: 'jdapimin.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(748): E1026 File not found: 'jmemmgr.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(749): E1026 File not found: 'jmemnobs.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(750): E1026 File not found: 'jdinput.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(751): E1026 File not found: 'jdatasrc.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(752): E1026 File not found: 'jdapistd.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(753): E1026 File not found: 'jdmaster.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(754): E1026 File not found: 'jdphuff.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(755): E1026 File not found: 'jdhuff.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(756): E1026 File not found: 'jdmerge.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(757): E1026 File not found: 'jdcolor.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(758): E1026 File not found: 'jquant1.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(759): E1026 File not found: 'jquant2.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(760): E1026 File not found: 'jdmainct.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(761): E1026 File not found: 'jdcoefct.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(762): E1026 File not found: 'jdpostct.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(763): E1026 File not found: 'jddctmgr.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(764): E1026 File not found: 'jdsample.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(765): E1026 File not found: 'jidctflt.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(766): E1026 File not found: 'jidctfst.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(767): E1026 File not found: 'jidctint.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(768): E1026 File not found: 'jidctred.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(769): E1026 File not found: 'jdmarker.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(770): E1026 File not found: 'jutils.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(771): E1026 File not found: 'jcomapi.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(772): E1026 File not found: 'jdatadst.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(773): E1026 File not found: 'jcparam.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(774): E1026 File not found: 'jcapistd.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(775): E1026 File not found: 'jcapimin.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(776): E1026 File not found: 'jcinit.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(777): E1026 File not found: 'jcmarker.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(778): E1026 File not found: 'jcmaster.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(779): E1026 File not found: 'jcmainct.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(780): E1026 File not found: 'jcprepct.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(781): E1026 File not found: 'jccoefct.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(782): E1026 File not found: 'jccolor.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(783): E1026 File not found: 'jcsample.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(784): E1026 File not found: 'jcdctmgr.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(785): E1026 File not found: 'jcphuff.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(786): E1026 File not found: 'jfdctint.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(787): E1026 File not found: 'jfdctfst.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(788): E1026 File not found: 'jfdctflt.obj' 
[DCC Error] Vcl.Imaging.jpeg.pas(789): E1026 File not found: 'jchuff.obj' 
+2

VCL 또는 FireMonkey 응용 프로그램입니까? Windows 또는 OSX 용입니까? 32 비트 또는 64 비트 대상입니까? 게시물을 수정하고 추가 정보를 제공하여 누군가가 문제를 해결하도록 도울 수 있도록하십시오. 감사. :) –

+0

이것은 Windows 32 비트에 대한 VCL 응용 프로그램입니다 – relativ

답변

6

델파이 XE2는 Vcl.Imaging.jpeg.pas이라는 장치와 함께 제공되지 않습니다. Vcl.Imaging.jpeg.dcu이라는 미리 컴파일 된 DCU 파일과 함께 제공됩니다. 미리 컴파일 된 DCU에 연결하고 VCL 유닛을 컴파일하지 마십시오. 가져 오는 오류 메시지는 원본에서 장치를 컴파일하려고 할 때만 발생할 수 있습니다. 미리 컴파일 된 DCU를 링커에 전달하면이 메시지를 얻을 수 없습니다.

.dpr 파일에 Vcl.Imaging.jpeg.pas이라는 파일에 대한 참조가 포함되어있는 것으로 의심됩니다. .dpr 파일에서 Vcl.Imaging.jpeg.pas에 대한 참조를 제거하여 문제를 해결하십시오. 또 다른 설명은 검색 경로에 Vcl.Imaging.jpeg.pas이라는 소스 파일이 있다는 것입니다.

+0

흠, 고마워 데이빗 너 맞아. – relativ

+0

내 질문이 업데이트되었습니다. 또 다른 가능성은 Vcl.Imaging.jpeg.pas라는 파일이 검색 경로에 있다는 것입니다 . 컴파일러 오류 메시지 중 하나를 두 번 클릭하고 파일을 열 수 있어야합니다. –

+0

문제 전에 라이브러리 경로에 vcl 디렉터리를 추가했습니다. 감사합니다. 감사합니다. – relativ

0

해당 obj 파일이있는 디렉토리를 찾습니다. 디렉토리가 프로젝트의 검색 경로에 나타나는지 확인하십시오. (사용자가 직접 컴파일 할 파일이 아닙니다.)

Delphi 설치에 obj 파일이없는 경우 설치 DVD를 확인하십시오.

+0

롭, 그렇게 간단하지 않습니다. 문제의 개체는 Win32 VCL 응용 프로그램에만 해당됩니다. 대상이 Win64 인 경우 작동하지 않습니다. 그것이 FireMonkey 앱이라면, 그것들은 전혀 적용 할 수 없습니다 (그리고'VCL.Imaging' 네임 스페이스는 제거되어야합니다). 답변을 제안하려면 더 많은 정보가 필요합니다. –

+0

내가 할 때, 나는 다른 오류가 발생한다 : ( – relativ

1

DevExpress의 포럼에서 최적의 솔루션 :

는이 문제를 해결할 프로젝트 -> 옵션 -> 델파이 compiler-> 단위 범위 이름 메뉴 옵션을 사용하여 응용 프로그램에 Vcl.Imaging 이름 공간을 추가 할 수 있습니다.