gpt4 book ai didi

delphi - 我无法在 delphi xe2 中使用 jpeg

转载 作者:行者123 更新时间:2023-12-03 15:08:40 33 4
gpt4 key购买 nike

我想在我的delphi vcl应用程序中使用Jpeg图像,但是delphi给我这个错误消息,如何解决这个问题?

[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'

最佳答案

Delphi 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 的源文件。

关于delphi - 我无法在 delphi xe2 中使用 jpeg,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8432967/

33 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com