[ace-bugs] tao_idl.exe error when compiled with Visual Studio 2017 release mode

Ken Holladay kholladay at swri.org
Tue Dec 19 17:37:48 CST 2017


    ACE VERSION: ACE+TAO-6.4.6

    HOST MACHINE and OPERATING SYSTEM:
	Dell Precision Tower 5810 running Windows 10

    TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
	N/A

    COMPILER NAME AND VERSION (AND PATCHLEVEL): 
	Visual Studio Professional 2017, version 15.4.4

    THE $ACE_ROOT/ace/config.h FILE:
	#ifndef ACE_CONFIG_H
	#define ACE_CONFIG_H
	#define ACE_DISABLE_WIN32_ERROR_WINDOWS 1
	#define ACE_DISABLE_WIN32_INCREASE_PRIORITY
	#define TAO_CONNECTION_CACHE_MAXIMUM 8192
	#define TAO_HAS_ZIOP 1
	#include "ace/config-win32.h"
	#endif

    THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE:
	N/A

    CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features
    (used by MPC when you generate your own makefiles): 
	N/A

    AREA/CLASS/EXAMPLE AFFECTED:
	TAO_IDL_EXE

    DOES THE PROBLEM AFFECT:
        COMPILATION? No
        LINKING? No
        EXECUTION? YES
        OTHER (please specify)?

    SYNOPSIS:
	tao_idl.exe does not work when compiled in release mode, x64 target.

    DESCRIPTION:
	Using ACE_wrappers/TAO/TAO_ACE_vs2017.sln opened in Visual Studio 2017. Select Debug mode and x64 target, everything compiles ok and seems to work. tao_idl.exe works fine.
When compiled in release mode, the tao_idl.exe fails to run, which obviously causes significant errors during the rest of the compilation. 
Open a command prompt in the ACE_wrappers/bin directory and run tao_idl.exe (the release version) produces three pop up boxes with the following errors:
The procedure entry point ??4?$ACE_String_Base at D@@QEAAAEAV0 at AEBV0@@Z could not be located in the dynamic link library lib\TAO_IDL_FE.dll
The procedure entry point ?get_temp_dir at ACE@@YAHPEAD_K at Z could not be located in the dynamic link library bin\tao_idl.exe
The procedure entry point ?sprintf at ACE_OS@@YAHPEADPEBDZZ  could not be located in the dynamic link library lib\TAO_IDL_BE.dll


    REPEAT BY:
	See above

    SAMPLE FIX/WORKAROUND:
	None

<!--
Kenneth L. Holladay, PhD, PE
Institute Analyst
Defense & Intelligence Solutions
Southwest Research Institute
(210)522-3627
-->




More information about the ace-bugs mailing list