- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was getting the
error PRJ0019: A tool returned an error code
error message when compiling. When a ran the exe it said it was not a win32 application. then after looking at the BuildLog.htm it seemed to be happening when "embedding manifest". Under Linker, Manifest File, if I turn off generating a manifest it compiles with no problem. Why?
Thanks
Jason
error PRJ0019: A tool returned an error code
error message when compiling. When a ran the exe it said it was not a win32 application. then after looking at the BuildLog.htm it seemed to be happening when "embedding manifest". Under Linker, Manifest File, if I turn off generating a manifest it compiles with no problem. Why?
Thanks
Jason
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What error messages did the manifest tool give?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No specific error message - at least that I can tell. Here is the last few lines of the BuildLog.htm
Linking...
Creating temporary file "RSP1.rsp" with contents
[
/OUT:"DebuggerEnergyPlus.exe" /INCREMENTAL:NO /NOLOGO /MANIFEST /MANIFESTFILE:"C:Documents and SettingsJasonMy DocumentsprojectsEnergyPlusDevEnergyPlus-CR fixingdev-nEnergyPlusdebuggerenergyplus.exe.intermediate.manifest" /DEBUG /PDB:"Debugger/EnergyPlus.pdb" /SUBSYSTEM:CONSOLE /IMPLIB:"C:Documents and SettingsJasonMy DocumentsprojectsEnergyPlusDevEnergyPlus-CR fixingdev-nEnergyPlusdebuggerenergyplus.lib" "DebuggerDisplayRoutines.obj" "DebuggerDataStringGlobals.obj" "DebuggerDataPrecisionGlobals.obj" "DebuggerDataHVACControllers.obj" "DebuggerDataShadowingCombinations.obj" "DebuggerDataRootFinder.obj" "DebuggerDataErrorTracking.obj" "DebuggerDataHeatBalFanSys.obj" "DebuggerDataHeatBalSurface.obj" "DebuggerDataConversions.obj" "DebuggerDataSystemVariables.obj" "DebuggerDataMoistureBalanceEMPD.obj" "DebuggerDataDElight.obj" "DebuggerDataGlobals.obj" "DebuggerDataZoneEnergyDemands.obj" "DebuggerDataRuntimeLanguage.obj" "DebuggerDataBranchNodeConnections.obj" "DebuggerDElightManagerF_NO.obj" "DebuggerDataLoopNode.obj" "DebuggerDataDaylightingDevices.obj" "DebuggerDataGenerators.obj" "DebuggerDataWater.obj" "DebuggerDataAirLoop.obj" "DebuggerDataSPARKLink.obj" "DebuggerDataCostEstimate.obj" "DebuggerDataUCSDSharedData.obj" "DebuggerDataPhotovoltaics.obj" "DebuggerDataEnvironment.obj" "DebuggerDataVectorTypes.obj" "DebuggerDataZoneEquipment.obj" "DebuggerDataConvergParams.obj" "DebuggerDataSurfaces.obj" "DebuggerDataMoistureBalance.obj" "DebuggerDatadefineequip.obj" "DebuggerDataRoomAir.obj" "DebuggerDataZoneControls.obj" "DebuggerOutputReportPredefined.obj" "DebuggerDataHVACGlobals.obj" "DebuggerDataDaylighting.obj" "DebuggerDataPlant.obj" "DebuggerDataViewFactorInformation.obj" "DebuggerDataAirflowNetwork.obj" "DebuggerDataSizing.obj" "DebuggerInputProcessor.obj" "DebuggerGeneral.obj" "DebuggerCurveManager.obj" "DebuggerRuntimeLanguageProcessor.obj" "DebuggerPsychRoutines.obj" "DebuggerDataSurfaceColors.obj" "DebuggerVectorUtilities.obj" "DebuggerHVACInterfaceManager.obj" "DebuggerSPARKUtilityRoutines.obj" "DebuggerDataHeatBalance.obj" "DebuggerScheduleManager.obj" "DebuggerAirflowNetworkSolver.obj" "DebuggerPlantFlowResolver.obj" "DebuggerFluidProperties.obj" "DebuggerDataGlobalConstants.obj" "DebuggerRootFinder.obj" "DebuggerMoistureTranFuncCalc.obj" "DebuggerHeatBalanceConvectionCoeffs.obj" "DebuggerDataAirSystems.obj" "DebuggerWaterManager.obj" "DebuggerHeatBalFiniteDifferenceManager.obj" "DebuggerExteriorEnergyUseManager.obj" "DebuggerBranchNodeConnections.obj" "DebuggerSurfaceGeometry.obj" "DebuggerRoomAirModelUFAD.obj" "DebuggerMoistureBalanceEMPDManager.obj" "DebuggerRa diantSystemHighTemp.obj" "DebuggerHeatBalanceMovableInsulation.obj" "DebuggerWindowManager.obj" "DebuggerSPARKLink_No.obj" "DebuggerRoomAirModelDisplacementVent.obj" "DebuggerHeatBalanceIntRadExchange.obj" "DebuggerSolarReflectionManager.obj" "DebuggerConductionTransferFunctionCalc.obj" "DebuggerPollutionAnalysisModule.obj" "DebuggerMoistureBalanceManager.obj" "DebuggerEarthTube.obj" "DebuggerOutputProcessor.obj" "DebuggerDaylightingDevices.obj" "DebuggerRoomAirModelMundt.obj" "DebuggerRoomAirModelCrossVent.obj" "DebuggerEMSManager.obj" "DebuggerNodeInputManager.obj" "DebuggerEcoRoof.obj" "DebuggerPlantSurfaceGroundHeatExchanger.obj" "DebuggerWeatherManager.obj" "DebuggerPlantPipes.obj" "DebuggerHVACMixerComponent.obj" "DebuggerDemandManager.obj" "DebuggerRadiantSystemLowTemp.obj" "DebuggerPlantIceThermalStorage.obj" "DebuggerHVACSteamCoilComponent.obj" "DebuggerPlantOutsideHeatingSources.obj" "DebuggerPlantConnectionComp.obj" "DebuggerHVACDualDuctSystem.obj" "DebuggerPurchasedairmanager.obj" "DebuggerPlantSolarCollectors.obj" "DebuggerHVACSplitterComponent.obj" "DebuggerHVACDuct.obj" "DebuggerHVACWaterCoilComponent.obj" "DebuggerPlantPlateHeatExchanger.obj" "DebuggerHumidifiers.obj" "DebuggerPlantLoadProfile.obj" "DebuggerHVACTranspiredCollector.obj" "DebuggerHVACFanComponent.obj" "DebuggerPlantWatertoWaterGSHP.obj" "DebuggerPlantWaterUse.obj" "DebuggerPlantGroundHeatExchangers.obj" "DebuggeronePlenumComponent.obj" "DebuggerSetPointManager.obj" "DebuggerOutAirNodeManager.obj" "DebuggerPlantValves.obj" "DebuggerPlantOutsideCoolingSources.obj" "DebuggerPlantCondLoopTowers.obj" "DebuggerBaseboardRadiator.obj" "DebuggerPlantPondGroundHeatExchanger.obj" "DebuggerPhotovoltaics.obj" "DebuggerHVACControllers.obj" "DebuggerDirectAir.obj" "DebuggerPlantPumps.obj" "DebuggerReturnAirPath.obj" "DebuggerOutputReportTabular.obj" "DebuggerRoomAirModelUserTempPattern.obj" "DebuggerPlantHeatExchanger.obj" "DebuggerHVACEvapComponent.obj" "DebuggerBranchInputManager.obj" "DebuggerElectricPowerGenerators.obj" "DebuggerRoomAirManager.obj" "DebuggerPlantUtilities.obj" "DebuggerEconomicTariff.obj" "DebuggerRefrigeratedCase.obj" "DebuggerPlantPipeHeatTransfer.obj" "DebuggerDXCoil.obj" "DebuggerElectricPowerManager.obj" "DebuggerThermalComfort.obj" "DebuggerHeatRecovery.obj" "DebuggeroneTempPredictorCorrector.obj" "DebuggerPlantWaterHeater.obj" "DebuggerPlantCondLoopOperation.obj" "DebuggerNonZoneEquipmentManager.obj" "DebuggerPlantCondLoopSupplySideManager.obj" "DebuggerHVACHeatingCoils.obj" "DebuggerDesiccantDehumidifiers.obj" "DebuggerPoweredInductionUnits.obj" "DebuggerHVACSingleDuctInduc.obj" "DebuggerHeatBalanceInternalHeatGains.obj" "DebuggerDaylightingManager.obj" "DebuggerHVACHXAssistedCoolingCoil.obj" "DebuggerPlantFreeCoolin gHeatExchanger.obj" "DebuggerPlantCondLoopDemandSideManager.obj" "DebuggerHVACSingleDuctSystem.obj" "DebuggerUnitHeater.obj" "Debuggeroneairloopequipmentmanager.obj" "DebuggerUnitVentilator.obj" "DebuggerSolarShading.obj" "DebuggerGlobalNames.obj" "DebuggerPlantSPARKBoilers.obj" "DebuggerHVACDXSystem.obj" "DebuggerHVACWatertoAir.obj" "DebuggerHVACFurnace.obj" "DebuggerPlantEIRChillers.obj" "DebuggerPlantBoilersSteam.obj" "DebuggerHVACMultiSpeedHeatPump.obj" "DebuggerPlantSPARKChillers.obj" "DebuggerPlantGasAbsorptionChiller.obj" "DebuggerPlantAbsorptionChillers.obj" "DebuggerMixedAir.obj" "DebuggerWindowAC.obj" "DebuggerPackagedTerminalHeatPump.obj" "DebuggerPlantChillers.obj" "DebuggerPlantBoilers.obj" "DebuggerHVACStandAloneERV.obj" "DebuggerPlantLoopEquipments.obj" "DebuggerHVACUnitaryBypassVAV.obj" "DebuggerFanCoilUnits.obj" "DebuggerAirflowNetworkBalanceManager.obj" "DebuggerCostEstimateManager.obj" "DebuggerSystemReports.obj" "DebuggerPlantDemandSideSolvers.obj" "Debuggeroneequipmentmanager.obj" "DebuggerSystemAvailabilityManager.obj" "DebuggerSimAirServingZones.obj" "DebuggerPlantSupplySideSolvers.obj" "DebuggerPlantManager.obj" "DebuggerHVACManager.obj" "DebuggerHeatBalanceAirManager.obj" "DebuggerHeatBalanceSurfaceManager.obj" "DebuggerHeatBalanceManager.obj" "DebuggerSizingManager.obj" "DebuggerSimulationManager.obj" "DebuggerOutputReports.obj" "DebuggerDateTime.obj" "DebuggerUtilityRoutines.obj" "DebuggerEnergyPlus.obj" "DebuggerGeneralRoutines.obj" "DebuggerCVFOnlyRoutines.obj"
]
Creating command line "Link @"C:Documents and SettingsJasonMy DocumentsprojectsEnergyPlusDevEnergyPlus-CR fixingdev-nEnergyPlusDebuggerRSP1.rsp""
Link: executing 'link'
Embedding manifest...
mt.exe /nologo /outputresource:"C:Documents and SettingsJasonMy DocumentsprojectsEnergyPlusDevEnergyPlus-CR fixingdev-nEnergyPlusdebuggerenergyplus.exe;#1" /manifest "C:Documents and SettingsJasonMy DocumentsprojectsEnergyPlusDevEnergyPlus-CR fixingdev-nEnergyPlusdebuggerenergyplus.exe.intermediate.manifest"
EnergyPlus : error PRJ0019: A tool returned an error code
EnergyPlus - 1 error(s), 0 warning(s)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Curious. The next step I'd suggest, if you want to persue this, is to repeat the link and mt commands from a "Fortran build environment" command prompt and see if you get a more descriptive error.
Or you can simply turn off manifest use, as you did, and ignore it.
Or you can simply turn off manifest use, as you did, and ignore it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think the position of the quote marks is incorrect on the line that creates the link command.
What was generated:
Creating command line "Link @"C:Documents and SettingsJasonMy DocumentsprojectsEnergyPlusDevEnergyPlus-CR fixingdev-nEnergyPlusDebuggerRSP1.rsp""
(double quotes at end of string to be enquoted)
What is required
Creating command line "Link" @"C:Documents and SettingsJasonMy DocumentsprojectsEnergyPlusDevEnergyPlus-CR fixingdev-nEnergyPlusDebuggerRSP1.rsp"
(move last " to after "Link)
Jim Dempsey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't think so - it's just the odd way the HTML is presented in the VS window.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page