Page 1 of 2

Transformer Compile Error

Posted: Mon Oct 05, 2009 10:45 pm
by wittyme
Help me out...

I am using windows server 2003
IBM version:8.1

I installed all prerequisites....

when i use the transformer in the parallel job... i am getting ..
Error Compiling parallel transformer..

I could see nothing in Director...

Posted: Mon Oct 05, 2009 11:27 pm
by chulett
Compiling a PX job with a Transformer requires a supported C++ compiler be installed and configured properly... have you done both?

Posted: Tue Oct 06, 2009 7:31 am
by Sreenivasulu
The paths set in the administrator should be the same as in the dsenv.
Even if you are correct at one place it may spoil the game

Regards
Sreeni

Posted: Tue Oct 06, 2009 9:34 am
by wittyme
I have installed C++ compiler...

@sreenivasulu.... i am not sure about it... need to check that....

Posted: Tue Oct 06, 2009 10:12 am
by chulett
You installed what C++ compiler?

Posted: Tue Oct 06, 2009 11:20 am
by wittyme
Microsoft Visual C++ 2005

Posted: Tue Oct 06, 2009 11:36 am
by wittyme
@sreenivasulu... i tried searching.. but i didn't find what exactly to go through..

can you tell me clearly... please.....

Posted: Tue Oct 06, 2009 12:57 pm
by chulett
What are the compiler options you have set in the Administrator?

Projects / Properties / General / Environment / Parallel / Compiler

I have no clue what they should be for Windows but it sure seems like posting them could help.

Posted: Tue Oct 06, 2009 1:04 pm
by Sreenivasulu
I too was talking based on unix experience.. :)

Regards
Sreeni

Posted: Wed Oct 07, 2009 9:29 am
by wittyme
the environment variables for parallel compiler are:

Compiler Options:-W/TP -W/EHa -DAPT_USE_ANSI_IOSTREAMS -c -W/Zc:wchar_t-

Compiler: cxx

Linker: cxx

Linker Options:-s -W/dll -W/base:0x50000000 -W/Zc:wchar_t-


it is still not working..... help me out guys :-)

Posted: Wed Oct 07, 2009 8:14 pm
by wittyme
helppppppppppppppppppppp

Posted: Wed Oct 07, 2009 8:48 pm
by mekrreddy
Hello,

Can you try by removing(-W/Zc:wchar_t-) this from both Compiler options and linker options...
I am sure i did this when i was installing..

Posted: Wed Oct 07, 2009 10:14 pm
by wittyme
it still did not work :cry:

Posted: Wed Oct 07, 2009 10:22 pm
by Kryt0n
Is it compiling OK in Designer? Where are you getting the "error compiling parallel transfomer"?

When compiling in Designer, does it give you an enabled "More" button? If so, what does that have to say?

Posted: Wed Oct 07, 2009 10:27 pm
by ray.wurlod
Right now I am presenting the IBM class DX444 (DataStage Essentials). The settings are precisely the same as yours for the compiler and linker, that is:

Compiler Options:-W/TP -W/EHa -DAPT_USE_ANSI_IOSTREAMS -c -W/Zc:wchar_t-

Compiler: cxx

Linker: cxx

Linker Options:-s -W/dll -W/base:0x50000000 -W/Zc:wchar_t-

It is working properly - jobs with Transformer stages are compiling correctly and jobs are running successfully. This is the Visual Studio 2005 C++ compiler.