First question - is that exact version of the compiler supported for your release?lmoose1 wrote:We just installed 8.7 on Windows Server 2008 R2 Enterprise SP1 and are encountering transformer compile errors, too. We are using Microsoft Visual C++ 2010 Express Edition for the compiler.
Compiler settings for new installation
Moderators: chulett, rschirm, roy
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 91
- Joined: Wed Apr 20, 2005 7:59 pm
- Location: U.S.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
I have a new 8.7 installation on Windows Server 2008 R2
INCLUDE=E:\IBM\SQLLIB\INCLUDE;E:\IBM\SQLLIB\LIB;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include;C:\Program Files\Microsoft SDKs\Windows\v7.0\Include
LIB=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\lib;E:\IBM\SQLLIB\LIB; C:\Program Files\Microsoft SDKs\Windows\v7.0\Lib
LIBPATH=C:\Windows\Microsoft.NET\Framework64\v4.0.30319
The compiler is the Visual C++ compilers installed via the installation options of Windows SDK for Windows 7 and .NET Framework 3.5 Service Pack 1.
APT_COMPILER=cxx
APT_LINKER=cxx
APT_COMPILEOPT=-W/TP -W/EHa -DAPT_USE_ANSI_IOSTREAMS -c -W/Zc:wchar_t-
APT_LINKOPT=-s -W/dll -W/base:0x50000000 -W/Zc:wchar_t-
The same problem is occurring on this system.
Compiler "cl" not found.
Haven't really begun to look at it yet.
INCLUDE=E:\IBM\SQLLIB\INCLUDE;E:\IBM\SQLLIB\LIB;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include;C:\Program Files\Microsoft SDKs\Windows\v7.0\Include
LIB=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\lib;E:\IBM\SQLLIB\LIB; C:\Program Files\Microsoft SDKs\Windows\v7.0\Lib
LIBPATH=C:\Windows\Microsoft.NET\Framework64\v4.0.30319
The compiler is the Visual C++ compilers installed via the installation options of Windows SDK for Windows 7 and .NET Framework 3.5 Service Pack 1.
APT_COMPILER=cxx
APT_LINKER=cxx
APT_COMPILEOPT=-W/TP -W/EHa -DAPT_USE_ANSI_IOSTREAMS -c -W/Zc:wchar_t-
APT_LINKOPT=-s -W/dll -W/base:0x50000000 -W/Zc:wchar_t-
The same problem is occurring on this system.
Compiler "cl" not found.
Haven't really begun to look at it yet.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
compiler
Thanks so much -- so good to know it can work!mobashshar wrote:I installed IIS 8.7 on XP Pro. VM with MS VC++ 2010 ... working absolutely fine.
Is your XP host 32-bit or 64-bit?
What flavor of the compiler is it -- is it the Express Edition?
-
- Participant
- Posts: 91
- Joined: Wed Apr 20, 2005 7:59 pm
- Location: U.S.
We have now tried VS C++ Premium 64-bit on our Windows Server 2008 R2 Enterprise SP1 64-bit for InfoServer 8.7 and get the same results as before when we try to compile with a transformer.
Our LIB, LIBPATH, INCLUDE and PATH env vars all look good as well as the compiler options in the dsparams file -- unless I'm missing something. What on earth is wrong here? IBM system requirements indicate that this is a legitimate combination. Has anyone gotten this to work in a true 64-bit Windows environment? Any ideas?
INCLUDE=d:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE;c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include;
LIB=d:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\LIB;c:\Program Files(x86)\Microsoft SDKs\Windows\v7.0A\lib;
LIBPATH=C:\Windows\Microsoft.NET\Framework\v4.0.30319;C:\Windows\Microsoft.NET\Framework\v3.5;d:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\LIB;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Lib;
APT_COMPILEOPT -W/TP -W/EHa -DAPT_USE_ANSI_IOSTREAMS -c -W/Zc:wchar_t-
APT_COMPILER cxx
APT_LINKER cxx
APT_LINKOPT -s -W/dll -W/base:0x50000000 -W/Zc:wchar_t-
##E IIS-DSEE-TBLD-00076 10:03:50(000) <main_program> Error when checking composite operator: Subprocess command failed with exit status 40,192.
##E IIS-DSEE-TFSR-00019 10:03:50(001) <main_program> Could not check all operators because of previous error(s)
##W IIS-DSEE-TFTM-00012 10:03:50(002) <transform> Error when checking composite operator: The number of reject datasets "0" is less than the number of input datasets "1".
##I IIS-DSEE-TBLD-00000 10:03:50(003) <main_program> Error when checking composite operator: Output from subprocess: C:\IBM\InformationServer\Server\PXEngine\include\apt_util/keylookup.h(1151) : warning C4251: 'APT_KeyLookupRange::rangeOptions_' : class 'std::vector<_Ty>' needs to have dll-interface to be used by clients of class 'APT_KeyLookupRange'
with
[
_Ty=APT_KeyLookupRange::rangeOption
]
C:\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(185) : warning C4244: 'argument' : conversion from 'APT_UInt64' to 'unsigned int', possible loss o
##I IIS-DSEE-TBLD-00000 10:03:50(004) <main_program> Error when checking composite operator: Output from subprocess: f data
C:\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(185) : warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
C:\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(185) : warning C4800: 'unsigned __int64' : forcing value to bool 'true' or 'false' (performance warning)
C:\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(186) : w
##I IIS-DSEE-TBLD-00000 10:03:50(005) <main_program> Error when checking composite operator: Output from subprocess: arning C4244: 'argument' : conversion from 'APT_UInt64' to 'unsigned int', possible loss of data
C:\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(186) : warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
C:\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(187) : warning C4244: 'argument' : conversion from 'APT_UInt64' to 'unsigned int', possible loss of data
D:\IBM\Pro
##I IIS-DSEE-TBLD-00000 10:03:50(006) <main_program> Error when checking composite operator: Output from subprocess: jects\Solutions\Solutions\RT_BP32.O\V0S2_TestCompiler_Transformer_2.C(205) : warning C4101: 'output' : unreferenced local variable
D:\IBM\Projects\Solutions\Solutions\RT_BP32.O\V0S2_TestCompiler_Transformer_2.C(200) : warning C4101: 'input' : unreferenced local variable
##I IIS-DSEE-TBLD-00079 10:03:50(007) <transform> Error when checking composite operator: cxx -LD:/IBM/Projects/Solutions/Solutions/RT_BP32.O/ -LC:/IBM/InformationServer/Server/PXEngine/lib -LC:/IBM/InformationServer/Server/PXEngine/user_lib -s -W/dll -W/base:0x50000000 -W/Zc:wchar_t- -lliborchnt -lliborchcorent -lliborchbuildopnt D:/IBM/Projects/Solutions/Solutions/RT_BP32.O/V0S2_TestCompiler_Transformer_2.tmp.o -o D:/IBM/Projects/Solutions/Solutions/RT_BP32.O/V0S2_TestCompiler_Transformer_2.dll.
##I IIS-DSEE-TBLD-00000 10:03:50(008) <main_program> Error when checking composite operator: Output from subprocess: LINK : fatal error LNK1181: cannot open input file 'kernel32.lib'
##E IIS-DSEE-TCOS-00029 10:03:50(009) <main_program> Creation of a step finished with status = FAILED. (TestCompiler.Transformer_2)
Our LIB, LIBPATH, INCLUDE and PATH env vars all look good as well as the compiler options in the dsparams file -- unless I'm missing something. What on earth is wrong here? IBM system requirements indicate that this is a legitimate combination. Has anyone gotten this to work in a true 64-bit Windows environment? Any ideas?
INCLUDE=d:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE;c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include;
LIB=d:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\LIB;c:\Program Files(x86)\Microsoft SDKs\Windows\v7.0A\lib;
LIBPATH=C:\Windows\Microsoft.NET\Framework\v4.0.30319;C:\Windows\Microsoft.NET\Framework\v3.5;d:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\LIB;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Lib;
APT_COMPILEOPT -W/TP -W/EHa -DAPT_USE_ANSI_IOSTREAMS -c -W/Zc:wchar_t-
APT_COMPILER cxx
APT_LINKER cxx
APT_LINKOPT -s -W/dll -W/base:0x50000000 -W/Zc:wchar_t-
##E IIS-DSEE-TBLD-00076 10:03:50(000) <main_program> Error when checking composite operator: Subprocess command failed with exit status 40,192.
##E IIS-DSEE-TFSR-00019 10:03:50(001) <main_program> Could not check all operators because of previous error(s)
##W IIS-DSEE-TFTM-00012 10:03:50(002) <transform> Error when checking composite operator: The number of reject datasets "0" is less than the number of input datasets "1".
##I IIS-DSEE-TBLD-00000 10:03:50(003) <main_program> Error when checking composite operator: Output from subprocess: C:\IBM\InformationServer\Server\PXEngine\include\apt_util/keylookup.h(1151) : warning C4251: 'APT_KeyLookupRange::rangeOptions_' : class 'std::vector<_Ty>' needs to have dll-interface to be used by clients of class 'APT_KeyLookupRange'
with
[
_Ty=APT_KeyLookupRange::rangeOption
]
C:\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(185) : warning C4244: 'argument' : conversion from 'APT_UInt64' to 'unsigned int', possible loss o
##I IIS-DSEE-TBLD-00000 10:03:50(004) <main_program> Error when checking composite operator: Output from subprocess: f data
C:\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(185) : warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
C:\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(185) : warning C4800: 'unsigned __int64' : forcing value to bool 'true' or 'false' (performance warning)
C:\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(186) : w
##I IIS-DSEE-TBLD-00000 10:03:50(005) <main_program> Error when checking composite operator: Output from subprocess: arning C4244: 'argument' : conversion from 'APT_UInt64' to 'unsigned int', possible loss of data
C:\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(186) : warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
C:\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(187) : warning C4244: 'argument' : conversion from 'APT_UInt64' to 'unsigned int', possible loss of data
D:\IBM\Pro
##I IIS-DSEE-TBLD-00000 10:03:50(006) <main_program> Error when checking composite operator: Output from subprocess: jects\Solutions\Solutions\RT_BP32.O\V0S2_TestCompiler_Transformer_2.C(205) : warning C4101: 'output' : unreferenced local variable
D:\IBM\Projects\Solutions\Solutions\RT_BP32.O\V0S2_TestCompiler_Transformer_2.C(200) : warning C4101: 'input' : unreferenced local variable
##I IIS-DSEE-TBLD-00079 10:03:50(007) <transform> Error when checking composite operator: cxx -LD:/IBM/Projects/Solutions/Solutions/RT_BP32.O/ -LC:/IBM/InformationServer/Server/PXEngine/lib -LC:/IBM/InformationServer/Server/PXEngine/user_lib -s -W/dll -W/base:0x50000000 -W/Zc:wchar_t- -lliborchnt -lliborchcorent -lliborchbuildopnt D:/IBM/Projects/Solutions/Solutions/RT_BP32.O/V0S2_TestCompiler_Transformer_2.tmp.o -o D:/IBM/Projects/Solutions/Solutions/RT_BP32.O/V0S2_TestCompiler_Transformer_2.dll.
##I IIS-DSEE-TBLD-00000 10:03:50(008) <main_program> Error when checking composite operator: Output from subprocess: LINK : fatal error LNK1181: cannot open input file 'kernel32.lib'
##E IIS-DSEE-TCOS-00029 10:03:50(009) <main_program> Creation of a step finished with status = FAILED. (TestCompiler.Transformer_2)
-
- Participant
- Posts: 91
- Joined: Wed Apr 20, 2005 7:59 pm
- Location: U.S.
You installed C++ compiler on your 64-bit OS but you are pointing to 32-bit path in system variables for LIB and INCLUDE
Please let me know if this approach is working or not
Make sure its pointing to 64-bit installation path (which will be without x86)INCLUDE=d:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE;c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include;
LIB=d:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\LIB;c:\Program Files(x86)\Microsoft SDKs\Windows\v7.0A\lib;
Please let me know if this approach is working or not
-
- Participant
- Posts: 91
- Joined: Wed Apr 20, 2005 7:59 pm
- Location: U.S.
Please open this page and search for Setting up a C++ compiler
Thanks, mobashshar -- that was worth looking at and verifying. We don't see any SDKs in the regular "Program Files" directory, only in the "Program Files (x86)" directory. We double checked and verified that we did select the 64-bit options when we installed Visual Studio C++ 2010 Premium. Still looking and poking at it to try to determine what is missing or out of line...
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Too busy on other matters at the moment. Things that don't need the compiler. Things such as this error message from the istool command:
istool glossary bi2bg wrote:Error occured while generating preview file : null
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
It's working now! Several things were uninstalled, reinstalled, adjusted, so not completely sure which twist resolved it. Here are the values that are working for us now in IS 8.7 on the Windows 2008 R2 64-bit host.
APT_COMPILEOPT=-W/TP -W/EHa -DAPT_USE_ANSI_IOSTREAMS -c -W/Zc:wchar_t-
APT_COMPILER=cxx
APT_LINKER=cxx
APT_LINKOPT=-s -W/dll -W/base:0x50000000 -W/Zc:wchar_t-
INCLUDE=c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include
LIB=c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib
LIBPATH=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Lib;
PATH=C:\IBM\InformationServer\Server\PXEngine\bin;C:\IBM\InformationServer\Server\PXEngine\osh_wrappers;C:\IBM\InformationServer\Server\PXEngine\user_osh_wrappers;C:\IBM\InformationServer\Server\PXEngine\user_osh_wrappers;C:\IBM\InformationServer\Server\DSComponents\bin;C:\IBM\InformationServer\Server\DSParallel;D:\IBM\Projects\Training\Training\RT_BP23.O;C:\IBM\InformationServer\Server\DSEngine\bin;D:\IBM\Projects\Training\Training\buildop;D:\IBM\Projects\Training\Training\wrapped;C:\Windows\Microsoft.NET\Framework\v4.0.30319;C:\Windows\Microsoft.NET\Framework\v3.5;c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools;c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin;C:\Program Files (x86)\Teradata\Client\13.10\AXSMOD\;C:\Program Files (x86)\MKS Toolkit\mksnt;C:\PROGRA~2\MKSTOO~1\bin64;C:\PROGRA~2\MKSTOO~1\bin;C:\PROGRA~2\MKSTOO~1\bin\X11;C:\PROGRA~2\MKSTOO~1\mksnt;C:\IBM\InformationServer\ASBNode\apps\jre\bin\classic;C:\IBM\InformationServer\ASBNode\lib\cpp;C:\IBM\InformationServer\ASBNode\apps\proxy\cpp\vc60\MT_dll\bin;C:\Program Files (x86)\Teradata\Client\13.10\bin\;C:\Program Files (x86)\Teradata\Client\13.10\AXSMOD\;C:\Program Files (x86)\Teradata\client\13.10\Teradata Parallel Transporter\bin;C:\Program Files (x86)\Teradata\client\13.10\Teradata Parallel Transporter\msg;C:\Program Files (x86)\Teradata\Client\13.10\CLIv2\;C:\Program Files (x86)\Teradata\Client\13.10\ODBC Driver for Teradata\Lib\;C:\Program Files (x86)\Teradata\Client\13.10\Shared ICU Libraries for Teradata\lib\;C:\Program Files\Teradata\Client\13.10\ODBC Driver for Teradata nt-x8664\Lib\;C:\Program Files\Teradata\Client\13.10\Shared ICU Libraries for Teradata\lib\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Java\jre6\bin;C:\Windows/SysWOW64;
PATH= pieces in PATH for .NET & SDKs
C:\Windows\Microsoft.NET\Framework\v4.0.30319:
C:\Windows\Microsoft.NET\Framework\v3.5:
c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools:
c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin:
Other env vars related to MS VS:
VCINSTALLDIR=d:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\
VS100COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\
VSINSTALLDIR=d:\Program Files (x86)\Microsoft Visual Studio 10.0\
VSSDK100Install=C:\Program Files (x86)\Microsoft Visual Studio 2010 SDK\
WindowsSdkDir=c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\
APT_COMPILEOPT=-W/TP -W/EHa -DAPT_USE_ANSI_IOSTREAMS -c -W/Zc:wchar_t-
APT_COMPILER=cxx
APT_LINKER=cxx
APT_LINKOPT=-s -W/dll -W/base:0x50000000 -W/Zc:wchar_t-
INCLUDE=c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include
LIB=c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib
LIBPATH=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Lib;
PATH=C:\IBM\InformationServer\Server\PXEngine\bin;C:\IBM\InformationServer\Server\PXEngine\osh_wrappers;C:\IBM\InformationServer\Server\PXEngine\user_osh_wrappers;C:\IBM\InformationServer\Server\PXEngine\user_osh_wrappers;C:\IBM\InformationServer\Server\DSComponents\bin;C:\IBM\InformationServer\Server\DSParallel;D:\IBM\Projects\Training\Training\RT_BP23.O;C:\IBM\InformationServer\Server\DSEngine\bin;D:\IBM\Projects\Training\Training\buildop;D:\IBM\Projects\Training\Training\wrapped;C:\Windows\Microsoft.NET\Framework\v4.0.30319;C:\Windows\Microsoft.NET\Framework\v3.5;c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools;c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin;C:\Program Files (x86)\Teradata\Client\13.10\AXSMOD\;C:\Program Files (x86)\MKS Toolkit\mksnt;C:\PROGRA~2\MKSTOO~1\bin64;C:\PROGRA~2\MKSTOO~1\bin;C:\PROGRA~2\MKSTOO~1\bin\X11;C:\PROGRA~2\MKSTOO~1\mksnt;C:\IBM\InformationServer\ASBNode\apps\jre\bin\classic;C:\IBM\InformationServer\ASBNode\lib\cpp;C:\IBM\InformationServer\ASBNode\apps\proxy\cpp\vc60\MT_dll\bin;C:\Program Files (x86)\Teradata\Client\13.10\bin\;C:\Program Files (x86)\Teradata\Client\13.10\AXSMOD\;C:\Program Files (x86)\Teradata\client\13.10\Teradata Parallel Transporter\bin;C:\Program Files (x86)\Teradata\client\13.10\Teradata Parallel Transporter\msg;C:\Program Files (x86)\Teradata\Client\13.10\CLIv2\;C:\Program Files (x86)\Teradata\Client\13.10\ODBC Driver for Teradata\Lib\;C:\Program Files (x86)\Teradata\Client\13.10\Shared ICU Libraries for Teradata\lib\;C:\Program Files\Teradata\Client\13.10\ODBC Driver for Teradata nt-x8664\Lib\;C:\Program Files\Teradata\Client\13.10\Shared ICU Libraries for Teradata\lib\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Java\jre6\bin;C:\Windows/SysWOW64;
PATH= pieces in PATH for .NET & SDKs
C:\Windows\Microsoft.NET\Framework\v4.0.30319:
C:\Windows\Microsoft.NET\Framework\v3.5:
c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools:
c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin:
Other env vars related to MS VS:
VCINSTALLDIR=d:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\
VS100COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\
VSINSTALLDIR=d:\Program Files (x86)\Microsoft Visual Studio 10.0\
VSSDK100Install=C:\Program Files (x86)\Microsoft Visual Studio 2010 SDK\
WindowsSdkDir=c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\
"Always bear in mind that your own resolution to succeed is more important than any other thing." Abraham Lincoln