2011-12-08 7 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用のVCLアプリケーションです32ビット – 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への参照を削除して、問題を解決してください。もう1つの説明は、検索パスにVcl.Imaging.jpeg.pasという名前のソースファイルがあることです。

+0

Hmmm、Davidに感謝します – relativ

+0

私の質問が更新されました。別の可能性として、Vcl.Imaging.jpeg.pasという名前のファイルが検索パスにありますコンパイルエラーメッセージのいずれかをダブルクリックしてファイルを開くことができるはずです –

+0

問題前にライブラリパスにvclディレクトリを追加しました。 – relativ

0

これらのobjファイルが存在するディレクトリを探します。ディレクトリがプロジェクトの検索パスに表示されていることを確認します。 (あなた自身でコンパイルするつもりのファイルではありません)

これらのobjファイルがDelphiインストールにない場合は、インストールDVDを確認してください。

+0

ロブ、それは簡単ではありません。問題のオブジェクトは、Win32 VCLアプリケーションのみです。ターゲットがWin64の場合、動作しません。それがFireMonkeyアプリケーションの場合、それらはまったく適用されません(そして、 'VCL.Imaging'名前空間は削除する必要があります)。答えを提案するためにはもっと多くの情報が必要です。 –

+0

私はそれをすると違うエラーになる:( – relativ

1

DevExpress社フォーラムから最適なソリューション:

プロジェクト - >オプション - >デルファイcompiler->ユニットスコープ名]メニューオプションを使用して、アプリケーションにVcl.Imaging名前空間を追加し、この問題を解決します。

関連する問題