Heater cooler error 1302 undeclared identifiers

Hello,

When I try to run existing methods on different PC with a fresh Venus 6.2.1 install, i get a long list of these errors. We don’t use a heater cooler, and I can’t find where I can tell it to stop looking for it. Can someone help with this? Thank you!

SYSTEM : Analyze method - progress; C:\Program Files (x86)\Hamilton\Library\Hamilton HeaterCooler\HamiltonHeaterCooler.hsl(13) : error 1302: ‘HAMILTON_HEATERCOOLER_DEPENDENCIES::BOOL::TRUE’ undeclared identifier

SYSTEM : Analyze method - progress; C:\Program Files (x86)\Hamilton\Library\Hamilton HeaterCooler\HamiltonHeaterCooler.hsl(14) : error 1302: ‘HAMILTON_HEATERCOOLER_DEPENDENCIES::BOOL::FALSE’ undeclared identifier

SYSTEM : Analyze method - progress; C:\Program Files (x86)\Hamilton\Library\Hamilton HeaterCooler\HamiltonHeaterCooler.hsl(19) : error 1302: ‘HAMILTON_HEATERCOOLER_DEPENDENCIES::TRACE_LEVEL::RELEASE’ undeclared identifier

Hi @PhilAuto,

These errors occur when a method or its submethods/libraries reference a library that doesn’t exist on the PC, exists in a different location than the directory listed in the error, or is of a different version leading to a mismatch in functions/objects names/presence.

All that to say, while you may not be using a Heater Cooler, somewhere in the method or its submethods/libraries there is a reference to the Heater Cooler library. If you moved the method over from a different PC without exporting/importing than it’s likely this library and others did not transfer correctly. You have two options here:

  1. Export the method from the original PC and import it to the new one using the Legacy import tool.

  2. Go through the method and its submethods/libraries and open them all to find where the Heater Cooler library is being called.

Thank you,
Dan

2 Likes

Thank you Dan, this problem was resolved after I exported / imported with the legacy import/export tool. I had previously used the new tools that generated a .hamPackage file upon export. It’s unclear to me when it is appropriate to use the new tools, so ill just stick with the legacy tools.