Delphi 包构建/安装调试

发布于 2024-07-14 23:30:42 字数 8994 浏览 4 评论 0原文

我使用的是 Delphi 2007 Pro。 我有一个运行时包,其中包括我正在开发的许多基于 TFrame 的复合组件。 还有一个相关的设计包将这些组件安装到工具选项板中。 由于各种原因,这些 TFrame 后代使用许多第三方组件,并且也作为类层次结构相互继承。 到目前为止(在一些很好的建议的帮助下),这种方法对于我想要实现的目标非常有效。

然而,最近我在编译/构建运行时包时遇到了一个问题。 最初,它与以 nxEventLog.pas 为中心的一些冲突有关,不幸的是我未能记录其详细信息,但基本上是“此方法的定义与之前的定义不一致”的内容,就像当您的实现声明与您的类声明不一致时所得到的结果一样。 该文件是NexusDB文件(应用程序使用NexusDB嵌入式服务器)。

我尝试了各种方法,但从未成功地消除冲突。 我最接近的是在编译时,让 IDE 请求将完全不相关的单元的 TRUCKLOAD 添加到 contains/uses 子句中。 稍后会详细介绍这一点,但如果我继续这样做,它仍然行不通。 nxEventLog 文件未更改其原始状态。

无法查明为什么会出现此错误 - 它显示在 Nexus 文件中,而不是我的实际包或单元中,并且我没有更改 Nexus 代码中的任何内容 - 我最终继续完全卸载了 Nexus,并手动进行搜索以确保我已删除所有相关的 dcu 和 bpl 文件,然后重新安装。 (我正在运行 Nexus 2.07)

启动 IDE 后,出现以下错误:

bds.exe - 未找到入口点
---------------------------------------
程序入口点
@Nxsddatadictionary@TnxBaseTableDescriptor@LoadFromReader$qqrp15Classes@TReader 无法位于动态链接库 NexusDB207sd110.bpl 中。
---------------------------------------
好的

其次是:

无法加载包....NexusDB207dv110.bpl
无法加载包....cmTPPanels_D2007_DesignReg.bpl
找不到指定的程序。
您想在下次加载包时尝试加载此包吗?

一旦我通过组件 -> 卸载了 cmTPPanels 运行时/设计包(我的组件集), 安装包 -> 删除后,我的其他“普通 Nexus DB”应用程序似乎工作正常,包括那些包含 Nexus 的 nxEventLog 组件的应用程序。 这似乎表明问题肯定出在我的安装包中的某个地方。

因此,在确认我的 Nexus 安装似乎不是实际问题后,我打开了包含这两个包的项目组。 构建(或编译)运行时包,Delphi IDE 给我提供了与上面提到的相同的对话框:

“为了使此软件包与其他已安装的软件包兼容,需要进行以下更改。选择“确定”以应用这些更改并重建软件包。”

添加 dsnap。
dsnap 包含隐式单元 DBClient、Provider、DataBkr、MidConst、Midas、DSIntf。

添加 ibxpress。
ibxpress 包含隐式单元 IBUtils、IB、IBSQLMonitor、IBHeader、IBIntf、IBXConst、IBXMLHeader、IBSQL、IBBlob、IBCustomDataSet、IBDatabase、IBErrorCodes、IBDatabaseInfo、
IBExternals、IBInstallHeader、IBServices。

添加 IndyCore。
IndyCore 包含隐式单元 IdIOHandlerSocket、IdSocks、IdIOHandlerStack、IdBuffer、IdResourceStringsCore、IdIntercept、IdCustomTransparentProxy、IdExceptionCore、IdSocketHandle、IdIOHandler、IdTCPConnection、IdReplyRFC、IdReply、IdTCPClient、IdIPAddress、IdAssignedNumbers。

添加 IndySystem。
IndySystem 包含隐式单元 IdBaseComponent、IdGlobal、IdStreamVCL、IdSysNativeVCL、IdSysVCL、IdSysBase、IdSysWin32、IdResourceStrings、IdException、IdSys、IdStream、IdObjs、IdComponent、IdStack、IdStackWindows、IdWship6、IdWinSock2、IdStackConsts、基础,IdAntiFreezeBase。

添加Rz30DBCtls90。
Rz30DBCtls90 包含隐式单元 RzDBNav、RzDBLbl、RzDBStat。

添加lmdweb30_d10。
lmdweb30_d10 包含隐式单元 LMDWebHTTPGet、LMDHTMLObjectUnit、LMDFSSupport、LMDHTTPSupp、LMDStringsSupport、LMDURLSupp、LMDRASSupport、LMDRASCF、LMDWebConst、LMDRAS、LMDSyncUnit、LMDWebBase、LMDWebLex、LMDWebHTMLLex、LMDWebDownloadFormUnit、LMDDownload、LMDInetConst、 MDWebConfig、LMDWebInfo。

添加lmddsg30_d10。
lmddsg30_d10 包含隐式单元 LMDDsgPropInsp、LMDDsgPropEditors、LMDDsgMenuEditor、LMDDsgObjects、LMDDsgClass、LMDDsgCst、LMDDsgCollectionEditor、LMDDsgStrsEditor、LMDDsgPropPage、LMDDsgModule。

添加lmdstorage10_d10。
lmdstorage10_d10 包含隐式单元 LMDStorFormProperties、LMDStorFormHook、LMDStorBase、LMDStorConsts、LMDStorPropertiesStorage、LMDStorCommon、LMDStorINIVault。

添加ExceptionExpert11。
ExceptionExpert11 包含隐式单元 ExceptionLog、EDisAsm、EHash、EListView、EConsts、ETypes、ELogManager、EEncrypt、EBase64、EXMLBuilder、ECore、EWebTools、EZip、EZlib、ESockets、ELang、EHook、EDebug、ELeaks。

添加RemObjects_Core_D11。
RemObjects_Core_D11 包含隐式单元 uROClasses、uROSerializer、uROXMLIntf、uROMSXMLImpl、uRORes、uROMSXML2_TLB、uROClient、uRODLToXML、uRODL、uROTypes、uROHTTPTools、uROClientIntf、uROEncryption、uROZlib、uROCipher1、uROHash、uRODECUtil、 uROCipher、uROCiphers、uROBinaryHelpers、uRO压缩、uROEventRepository、uROServerIntf、uROSessions、uRODynamicRequest、uRORemoteService、uROThreadPool、uROServer、uROAsync、uROThread、uROBinMessage、uROStreamSerializer。

添加 RemObjects_Indy_D11。
RemObjects_Indy_D11 包含隐式单元 uROSuperTCPChannel、uROSCHelpers。

添加DataAbstract_Core_D11。
DataAbstract_Core_D11 包含隐式单元 uDADataTable、uDASupportClasses、uDARes、uDABusinessProcessor、uDAEngine、uDASQL92QueryBuilder、uDASQL92Interfaces、uDAWhere、uDAInterfaces、DataAbstract4_Intf、DataAbstract3_Intf、uDAHelpers、uDAClasses、uDAMemDataTable、uDAMemDataset、评估器、uDAMacros、uDAUtils、uDAXMLUtils、uDADriverManager、uDAInterfacesEx、uDADelta 、uDARegExpr、uDAScriptingProvider、uDAOracleInterfaces、uDAMacroProcessors、uDADataStreamer、uDACDSDataTable、uDARemoteDataAdapter、uDAReconcileDialog、uDAReconcileDialogDetails、uDARemoteDataAdapterRequests、uDABinAdapter。

添加 VirtualTreesD11。
VirtualTreesD11 包含隐式单元 VirtualTrees、VTAccessibilityFactory。

添加 VirtualShellToolsD11。
VirtualShellToolsD11 包含隐式单元 VirtualExplorerTree、ColumnForm、VirtualResources、VirtualShellAutoComplete、VirtualShellNotifier、VirtualScrollbars。

添加 dxBarDBNavD11。
dxBarDBNavD11 包含隐式单元 dxBarDBNav、dxBarDBNavStrs。

添加 dxBarExtDBItemsD11。
dxBarExtDBItemsD11 包含隐式单元 dxBarExtDBItems。

添加cxVerticalGridD11。
cxVerticalGridD11 包含隐式单元 cxDBVGrid、cxVGridViewInfo、cxVGridUtils、cxVGrid、cxVGridNewCategory、cxVGridConsts。

添加 dxNavBarD11。
dxNavBarD11 包含隐式单元 dxNavBar、dxNavBarExplorerViews、dxNavBarConsts、dxNavBarGraphics、dxNavBarStyles、dxNavBarBase、dxNavBarViewsFact、dxNavBarCollns、dxNavBarVSToolBoxViews、dxNavBarBaseViews、dxNavBarOffice11Views、dxNavBarOfficeViews、 dxNavBarXPViews。

添加 dxLayoutControlD11。
dxLayoutControlD11 包含隐式单元 dxLayoutControl、dxLayoutCustomizeForm、dxLayoutEditForm、dxLayoutCommon、dxLayoutLookAndFeels、dxLayoutControlAdapters。

添加dxMasterViewD11。
dxMasterViewD11 包含隐式单元 dxMasterViewColumns、dxMasterView、dxMasterViewStrs。

添加 dxdbtrD11。
dxdbtrD11 包含隐式单元 dxdbtrel、dxlocate、dxtree、dxdbtree。

添加 dxPSCoreD11。
dxPSCoreD11 包含隐式单元 dxPSEdgePatterns、dxPSUtl、dxPSImgs、dxPSRes、dxPrnDev、dxPSGlbl、dxPSEngn、dxPSSngltn、dxPSESys、dxBase、dxPSCore、dxPSPrVwStd、dxPSPopupMan、 Dlg、dxWrap、dxPSHFToolBarBld、dxPSfmAutoHFTextFmt、dxPSEvnt、dxPrnPg、dxPpAttr、dxBkGnd、dxFEFDlg 、 dxPcPrVw、dxExtCtrls、dxExtCtrlsStrs、dxPSForm、dxPSAutoHFTextMnuBld、dxfmDfnStl、dxfmMnPg、dxfmClr、dxPreVw、dxPSPrVw、dxfmZoom、dxPSExtDlgs、dxfmPNFmt、 mt、dxPSPrVwOpt、dxPSfmCompositionDsg、dxPSfmCompositionAdd、dxPSCompsProvider、dxPSXplorerTreeView、dxPSfmReportProperties、dxPSPgsMnuBld、dxfmChFN、dxPSfmTtl、dxPSCPDsg、dxPSfmLnkAdd 、dxPSfmEditDesc、dxPSFillPatterns、dxPrnDlg。

添加 dxPScxCommonD11。
dxPScxCommonD11 包含隐式单元 dxPScxCommon。

添加 dxPScxGridLnkD11。
dxPScxGridLnkD11 包含隐式单元 dxPScxGridLnk。

添加NexusDB207se110。
NexusDB207se110 包含隐式单元 nxseAutoComponent、nxseAllEngines、nxseRecordCompressionEngineSmart、nxseRecordEngineVariable、nxseFulltextEngineCursor、nxseFulltextEngineTable、nxseRefIntEngine、nxseJournalEngine、nxseSortEngineMerge、nxseTemporaryStorageChunked、nxseRecordEngineStatic、nxseIndic esEngineSimple、nxseIndexBase、nxseHeapEngineCached、nxseBlockHeapEngineNonfragmenting、nxseBlobEngineSimple、nxseIndexEngineStaticKeyBstarTree、nxseHeaderAccess、nxseEncryptionEngineBlowfishRC4、nxseBlobEngineSegmented、nxseAutoIncEngineSimple、nxseStreamEngineSimple .

添加NexusDB207sr110。
NexusDB207sr110 包含隐式单元 nxsrSqlEngineBase、nxExeConst、nxsrServerEngine、nxsrBlobHandlerCaching、nxsrTimeoutHandling、nxsrTypes、nxsrBlobHandlerBase、nxsrBufferManager、nxsrFileImplWin32、nxsrStrings、nxsrEncryptionEngineBase、nxsrConst、 TemporaryStorageBase、nxsrBlobEngineBase、nxsrSubEngineBase、nxsrBlobHandlerPassthrough、nxsrRecordMapperEngine、nxsrFieldMapperEngineAutoInc、nxsrFieldMapperEngine、nxsrFieldMapper、nxsrSortEngineBase、nxsrFulltextEngineBase 、nxsrIndexEngineBase、nxsrRecordEngineBase、nxsrRefIntEngineBase、nxsrAutoIncEngineBase、nxsrStreamEngineBase、nxsrTableLockContainer、nxsrDataDictionary、nxsrFileHandling、nxsrServerCursorMapping、nxsrSystemStorage、nxsrRecordCompressionEngineBase、nxsrHeapEngineBase、基地。

添加NexusDB207sq110。
NexusDB207sq110 包含隐式单元 nxsqlEngine、nxsqlFunctions、nxsqlDataDef、nxsqlFunctionOrganizer、nxsqlCondExp、nxsqlTableExp、nxsqlViews、nxsqlProxies、nxSQLParse、nxsqlPSM、nxsqlTest、CocoaBaseW、nxsqlBase、nxsqlDataManip、nxSQLProxiesIntf、 .

添加NexusDB207lg110。
NexusDB207lg110 包含隐式单元 nxlgEventLogDispatcher、nxlgEventLog。

添加NexusDB207dv110。
NexusDB207dv110 包含隐式单元 nxServerManager、nxBaseServerComp、nxConfigSettings。

添加 MPCommonLibD11。
MPCommonLibD11 包含隐式单元 MPDataObject、MPCommonObjects、MPCommonUtilities、MPResources、MPShellTypes、MPThreadManager、MPShellUtilities。

奇怪的是,除了厨房水槽之外几乎包括所有东西之外,提到的许多软件包甚至与我试图安装的这个软件包中包含的组件无关; DataSnap、Indy、IBExpress、RemObjects Data Abstract 等——这些都没有在我的组件中引用。

如果我对所有这些添加的单元/包单击“确定”,则会发生更多混乱,并且无法编译。

NexusDB 文件夹以及我正在开发的这些组件所在的文件夹都位于我的库路径上,我的自定义组件列在最后。

我正在虚拟机上工作,并且可以根据需要进行快照,但无论如何我似乎都无法解决这个问题,而且很明显我对编译器的工作原理没有足够深入的了解,无法知道在哪里寻找问题的诊断。 任何人都可以提到的任何可能有助于我这样做的事情,将不胜感激。

I'm using Delphi 2007 Pro. I have a runtime package that includes a number of compound components I'm developing, which are based on TFrames. There is also a related design package which installs these components to the tool palette. These TFrame descendents use a number of third-party components, for various reasons, and also inherit from one another, as a class hierarchy. So far (and with the help of some great advice here), this approach is working very well for what I want to accomplish.

Recently I ran into a problem, however, compiling/building the runtime package. Initially, it had to do with some conflict centering on nxEventLog.pas, the details of which unfortunately I failed to record, but was basically something along the lines of "the definition for this method does not agree with the previous definition for it," like what you get when your implementation declaration doesn't agree with your class declaration. This file is a NexusDB file (the application uses a NexusDB embedded server).

I tried various things, but never was successful in getting the conflict to go away. The closest I came was upon compiling, having the IDE request adding TRUCKLOAD of completely unrelated units to the contains/uses clause. More on this later, but if I proceeded with that, it still wouldn't work. The nxEventLog file had not changed from its original state.

Unable to ferret out why this error was showing up -- it was showing up in Nexus files, not my actual package or units, and I had changed nothing in the Nexus code -- I finally went ahead and just completely uninstalled Nexus, and manually searched to try to make sure I had deleted all related dcu and bpl files, and then reinstalled it. (I'm running Nexus 2.07)

Upon firing up the IDE, I got the following errors:

bds.exe - Entry Point Not Found
---------------------------
The procedure entry point
@Nxsddatadictionary@TnxBaseTableDescriptor@LoadFromReader$qqrp15Classes@TReader could not be located in the dynamic link library NexusDB207sd110.bpl.
---------------------------
OK

Followed by:

Can't load package ....NexusDB207dv110.bpl
Can't load package ....cmTPPanels_D2007_DesignReg.bpl
The specified procedure oculd not be found.
Do you want to attempt to load this package the next time a package is loaded?

Once I uninstalled the cmTPPanels runtime/design packages (my component set), via Component -> Install Package -> Remove, my other "normal Nexus DB" applications seem to work fine, including those which include Nexus's nxEventLog ocmponent. This seems to indicate the problem is definitely in my install packages somewhere.

So, having confirmed that my Nexus installation does not seem to be the actual problem, I opened up the project group which contains both packages. Building (or compiling) the runtime package, the Delphi IDE gives me the same dialog box I mentioned above:

"The following changes are necessary to make this package compatible with other installed package. Choose OK to apply these changes and rebuild the package."

Add dsnap.
dsnap contains implicit unit(s) DBClient, Provider, DataBkr, MidConst, Midas, DSIntf.

Add ibxpress.
ibxpress contains implicit unit(s) IBUtils, IB, IBSQLMonitor, IBHeader, IBIntf, IBXConst, IBXMLHeader, IBSQL, IBBlob, IBCustomDataSet, IBDatabase, IBErrorCodes, IBDatabaseInfo,
IBExternals, IBInstallHeader, IBServices.

Add IndyCore.
IndyCore contains implicit unit(s) IdIOHandlerSocket, IdSocks, IdIOHandlerStack, IdBuffer, IdResourceStringsCore, IdIntercept, IdCustomTransparentProxy, IdExceptionCore, IdSocketHandle, IdIOHandler, IdTCPConnection, IdReplyRFC, IdReply, IdTCPClient, IdIPAddress, IdAssignedNumbers.

Add IndySystem.
IndySystem contains implicit unit(s) IdBaseComponent, IdGlobal, IdStreamVCL, IdSysNativeVCL, IdSysVCL, IdSysBase, IdSysWin32, IdResourceStrings, IdException, IdSys, IdStream, IdObjs, IdComponent, IdStack, IdStackWindows, IdWship6, IdWinSock2, IdStackConsts, IdStackBSDBase, IdAntiFreezeBase.

Add Rz30DBCtls90.
Rz30DBCtls90 contains implicit unit(s) RzDBNav, RzDBLbl, RzDBStat.

Add lmdweb30_d10.
lmdweb30_d10 contains implicit unit(s) LMDWebHTTPGet, LMDHTMLObjectUnit, LMDFSSupport, LMDHTTPSupp, LMDStringsSupport, LMDURLSupp, LMDRASSupport, LMDRASCF, LMDWebConst, LMDRAS, LMDSyncUnit, LMDWebBase, LMDWebLex, LMDWebHTMLLex, LMDWebDownloadFormUnit, LMDDownload, LMDInetConst, LMDWebConfig, LMDWebInfo.

Add lmddsg30_d10.
lmddsg30_d10 contains implicit unit(s) LMDDsgPropInsp, LMDDsgPropEditors, LMDDsgMenuEditor, LMDDsgObjects, LMDDsgClass, LMDDsgCst, LMDDsgCollectionEditor, LMDDsgStrsEditor, LMDDsgPropPage, LMDDsgModule.

Add lmdstorage10_d10.
lmdstorage10_d10 contains implicit unit(s) LMDStorFormProperties, LMDStorFormHook, LMDStorBase, LMDStorConsts, LMDStorPropertiesStorage, LMDStorCommon, LMDStorINIVault.

Add ExceptionExpert11.
ExceptionExpert11 contains implicit unit(s) ExceptionLog, EDisAsm, EHash, EListView, EConsts, ETypes, ELogManager, EEncrypt, EBase64, EXMLBuilder, ECore, EWebTools, EZip, EZlib, ESockets, ELang, EHook, EDebug, ELeaks.

Add RemObjects_Core_D11.
RemObjects_Core_D11 contains implicit unit(s) uROClasses, uROSerializer, uROXMLIntf, uROMSXMLImpl, uRORes, uROMSXML2_TLB, uROClient, uRODLToXML, uRODL, uROTypes, uROHTTPTools, uROClientIntf, uROEncryption, uROZlib, uROCipher1, uROHash, uRODECUtil, uRODECConst, uROCipher, uROCiphers, uROBinaryHelpers, uROCompression, uROEventRepository, uROServerIntf, uROSessions, uRODynamicRequest, uRORemoteService, uROThreadPool, uROServer, uROAsync, uROThread, uROBinMessage, uROStreamSerializer.

Add RemObjects_Indy_D11.
RemObjects_Indy_D11 contains implicit unit(s) uROSuperTCPChannel, uROSCHelpers.

Add DataAbstract_Core_D11.
DataAbstract_Core_D11 contains implicit unit(s) uDADataTable, uDASupportClasses, uDARes, uDABusinessProcessor, uDAEngine, uDASQL92QueryBuilder, uDASQL92Interfaces, uDAWhere, uDAInterfaces, DataAbstract4_Intf, DataAbstract3_Intf, uDAHelpers, uDAClasses, uDAMemDataTable, uDAMemDataset, uDAExpressionEvaluator, uDAMacros, uDAUtils, uDAXMLUtils, uDADriverManager, uDAInterfacesEx, uDADelta, uDARegExpr, uDAScriptingProvider, uDAOracleInterfaces, uDAMacroProcessors, uDADataStreamer, uDACDSDataTable, uDARemoteDataAdapter, uDAReconcileDialog, uDAReconcileDialogDetails, uDARemoteDataAdapterRequests, uDABinAdapter.

Add VirtualTreesD11.
VirtualTreesD11 contains implicit unit(s) VirtualTrees, VTAccessibilityFactory.

Add VirtualShellToolsD11.
VirtualShellToolsD11 contains implicit unit(s) VirtualExplorerTree, ColumnForm, VirtualResources, VirtualShellAutoComplete, VirtualShellNotifier, VirtualScrollbars.

Add dxBarDBNavD11.
dxBarDBNavD11 contains implicit unit(s) dxBarDBNav, dxBarDBNavStrs.

Add dxBarExtDBItemsD11.
dxBarExtDBItemsD11 contains implicit unit(s) dxBarExtDBItems.

Add cxVerticalGridD11.
cxVerticalGridD11 contains implicit unit(s) cxDBVGrid, cxVGridViewInfo, cxVGridUtils, cxVGrid, cxVGridNewCategory, cxVGridConsts.

Add dxNavBarD11.
dxNavBarD11 contains implicit unit(s) dxNavBar, dxNavBarExplorerViews, dxNavBarConsts, dxNavBarGraphics, dxNavBarStyles, dxNavBarBase, dxNavBarViewsFact, dxNavBarCollns, dxNavBarVSToolBoxViews, dxNavBarBaseViews, dxNavBarOffice11Views, dxNavBarOfficeViews, dxNavBarXPViews.

Add dxLayoutControlD11.
dxLayoutControlD11 contains implicit unit(s) dxLayoutControl, dxLayoutCustomizeForm, dxLayoutEditForm, dxLayoutCommon, dxLayoutLookAndFeels, dxLayoutControlAdapters.

Add dxMasterViewD11.
dxMasterViewD11 contains implicit unit(s) dxMasterViewColumns, dxMasterView, dxMasterViewStrs.

Add dxdbtrD11.
dxdbtrD11 contains implicit unit(s) dxdbtrel, dxlocate, dxtree, dxdbtree.

Add dxPSCoreD11.
dxPSCoreD11 contains implicit unit(s) dxPSEdgePatterns, dxPSUtl, dxPSImgs, dxPSRes, dxPrnDev, dxPSGlbl, dxPSEngn, dxPSSngltn, dxPSESys, dxBase, dxPSCore, dxPSPrVwStd, dxPSPopupMan, dxPgsDlg, dxWrap, dxPSHFToolBarBld, dxPSfmAutoHFTextFmt, dxPSEvnt, dxPrnPg, dxPpAttr, dxBkGnd, dxFEFDlg, dxPcPrVw,dxExtCtrls, dxExtCtrlsStrs, dxPSForm, dxPSAutoHFTextMnuBld, dxfmDfnStl, dxfmMnPg, dxfmClr, dxPreVw, dxPSPrVw, dxfmZoom, dxPSExtDlgs, dxfmPNFmt, dxfmDTFmt, dxPSPrVwOpt, dxPSfmCompositionDsg, dxPSfmCompositionAdd, dxPSCompsProvider, dxPSXplorerTreeView, dxPSfmReportProperties, dxPSPgsMnuBld, dxfmChFN, dxPSfmTtl, dxPSCPDsg, dxPSfmLnkAdd, dxPSfmEditDesc, dxPSFillPatterns, dxPrnDlg.

Add dxPScxCommonD11.
dxPScxCommonD11 contains implicit unit(s) dxPScxCommon.

Add dxPScxGridLnkD11.
dxPScxGridLnkD11 contains implicit unit(s) dxPScxGridLnk.

Add NexusDB207se110.
NexusDB207se110 contains implicit unit(s) nxseAutoComponent, nxseAllEngines, nxseRecordCompressionEngineSmart, nxseRecordEngineVariable, nxseFulltextEngineCursor, nxseFulltextEngineTable, nxseRefIntEngine, nxseJournalEngine, nxseSortEngineMerge, nxseTemporaryStorageChunked, nxseRecordEngineStatic, nxseIndicesEngineSimple, nxseIndexBase, nxseHeapEngineCached, nxseBlockHeapEngineNonfragmenting, nxseBlobEngineSimple, nxseIndexEngineStaticKeyBstarTree, nxseHeaderAccess, nxseEncryptionEngineBlowfishRC4, nxseBlobEngineSegmented, nxseAutoIncEngineSimple, nxseStreamEngineSimple.

Add NexusDB207sr110.
NexusDB207sr110 contains implicit unit(s) nxsrSqlEngineBase, nxExeConst, nxsrServerEngine, nxsrBlobHandlerCaching, nxsrTimeoutHandling, nxsrTypes, nxsrBlobHandlerBase, nxsrBufferManager, nxsrFileImplWin32, nxsrStrings, nxsrEncryptionEngineBase, nxsrConst, nxsrTemporaryStorageBase, nxsrBlobEngineBase, nxsrSubEngineBase, nxsrBlobHandlerPassthrough, nxsrRecordMapperEngine, nxsrFieldMapperEngineAutoInc, nxsrFieldMapperEngine, nxsrFieldMapper, nxsrSortEngineBase, nxsrFulltextEngineBase, nxsrIndexEngineBase, nxsrRecordEngineBase, nxsrRefIntEngineBase, nxsrAutoIncEngineBase, nxsrStreamEngineBase, nxsrTableLockContainer, nxsrDataDictionary, nxsrFileHandling, nxsrServerCursorMapping, nxsrSystemStorage, nxsrRecordCompressionEngineBase, nxsrHeapEngineBase, nxsrBlockHeapEngineBase.

Add NexusDB207sq110.
NexusDB207sq110 contains implicit unit(s) nxsqlEngine, nxsqlFunctions, nxsqlDataDef, nxsqlFunctionOrganizer, nxsqlCondExp, nxsqlTableExp, nxsqlViews, nxsqlProxies, nxSQLParse, nxsqlPSM, nxsqlTest, CocoaBaseW, nxsqlBase, nxsqlDataManip, nxSQLTok, nxSQLProxiesIntf.

Add NexusDB207lg110.
NexusDB207lg110 contains implicit unit(s) nxlgEventLogDispatcher, nxlgEventLog.

Add NexusDB207dv110.
NexusDB207dv110 contains implicit unit(s) nxServerManager, nxBaseServerComp, nxConfigSettings.

Add MPCommonLibD11.
MPCommonLibD11 contains implicit unit(s) MPDataObject, MPCommonObjects, MPCommonUtilities, MPResources, MPShellTypes, MPThreadManager, MPShellUtilities.

What's weird about this, aside from the fact that includes just about everything but the kitchen sink, is that a number of the packages mentioned aren't even relevant to the components included in this package I'm trying to install; DataSnap, Indy, IBExpress, RemObjects Data Abstract, etc -- none of these are even referenced in my components.

If I click "OK" to all these added units/packages, more chaos ensues, and it doesn't compile.

The NexusDB folders, and the folders which these components I'm developing reside in, are all on my Library path, with my custom components listed last.

I'm working on a virtual machine, and can snapshot as needed, but I can't seem to get around this problem regardless, and it's clear that I don't have enough in-depth understanding of how the compiler works to know where to look for diagnosis of the problem. Anything anyone can mention which might help me do so, would be much appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

向日葵 2024-07-21 23:30:42

通常,这些错误来自于路径上具有不兼容的或更常见的相同 BPL 和/或 DCP 文件的多个版本。 对系统中的所有 BPL 和 DCP 进行全面搜索,并确保每个 BPL 和 DCP 都只有一份副本。

追踪这些类型的错误可能是一件非常痛苦的事情。 :-/

As a rule, these errors come from having incompatible, or, more commonly, multiple versions of the same BPL and/or DCP files on the path. Do a full search of your system for all the BPLs and DCPs, and make sure there is only one copy of each.

Tracking these types of errors down can be a massive pain in the ass. :-/

离去的眼神 2024-07-21 23:30:42

如果您有多个相关的软件包,则构建和安装顺序非常重要。 如果包 A 依赖于 B 并且 B 中的某些单元发生了变化,有时会出现真正的错误。 您可以重新安装 Delphi,但最好按顺序重新安装软件包。

首先删除所有包。 (使用安装包并删除所有可以的。)

然后检查注册表。 有时留下一些信息可能会在以后引起问题。

In the HKCU\Software\ [Borland|Codegear]\[Version]\Disabled Packages, there is a list of packages that are disabled. Have a look at these. And remove anything you need.
In the HKCU\Software\ [Borland|Codegear]\[Version]\Known Packages, there is a list of all known packages. Have a look at these and remove all suspicious packages.

对于旧版本,可以在以下位置找到此信息:
在 HKLM\Software\Borland[Version]\Known Packages 中

尝试重新启动 Delphi 以保持理智,并以正确的顺序重建和安装所需的任何内容。

If you have several related packages, the build and installation order is extremely important. If package A depends on B and some unit in B changes, it sometimes goes really wrong. You can reinstall Delphi, but its better to reinstall the packages in order.

First remove all packages. (With inslall packages and remove all you can.)

Then check the registry. Sometimes some information is left which can cause problems later on.

In the HKCU\Software\ [Borland|Codegear]\[Version]\Disabled Packages, there is a list of packages that are disabled. Have a look at these. And remove anything you need.
In the HKCU\Software\ [Borland|Codegear]\[Version]\Known Packages, there is a list of all known packages. Have a look at these and remove all suspicious packages.

For older versions this infomation can be found in:
In the HKLM\Software\Borland[Version]\Known Packages

Try to restart Delphi for sanity and rebuild and install anything needed in the correct order.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文