Previous Topic Next topic Print topic


Build Error Messages

All build errors are a result of linking problems.
Error Message Resolution
unresolved external symbol _MFHCOCD2@4 In the Project Properties for your Visual Studio project, on the COBOL tab, click Link Settings and add the appropriate MFDSNTIAR.LIB file. This file resides in your %ProgramFiles(x86)%\Micro Focus\Studio Enterprise Edition x.x\base\lib or %ProgramFiles(x86)%\Micro Focus\Studio Enterprise Edition x.x\base\lib\WIN64 directory, depending on whether you are building a 32-bit or 64-bit application.
unresolved external symbol _mfsqlsmf@20 In the Project Properties for your Visual Studio project, on the COBOL tab, click Link Settings and add the appropriate MFSQLSMF.LIB file. This file resides in your %ProgramFiles(x86)%\Micro Focus\Studio Enterprise Edition x.x\base\lib or %ProgramFiles(x86)%\Micro Focus\Studio Enterprise Edition x.x\base\lib\WIN64 directory, depending on whether you are building a 32-bit or 64-bit application.

If the application does not run under Enterprise Server, you can compile the program with SQL(NOSMFTRACE) directive.

Previous Topic Next topic Print topic