Hi,
I have written a CPP program for implementing the Parallel routines on WINDOWS machine. I tested my CPP program with VC++ and it is working fine.
Now i need to create a .o file for linking it to the Parallel routine. I am trying to compile my code with cxx compiler on Windows command prompt. My command(below) just running without creating .o file.
cxx -O -IC:/IBM/InformationServer/Server/PXEngine/include -W/TP -W/EHa -DAPT_USE_ANSI_IOSTREAMS -c C:/Ramm/First.cpp -o
MS .NET and VISUAL STUDIO is installed on my machine.
Can any one please help me to compile the CPP program into .o file?
Thanks,
--Raam.
Routine Compiling
Moderators: chulett, rschirm, roy
Same thing happens with me when i am trying to compile my code in UNIX.
This is the command i used:
/opt/SUNWspro/bin/CC -dalign -O -PIC -librar=iostream -c myhelloworld.cpp
And the error i am getting is :
"myhelloworld.cpp", line 6: Error: Could not open include file<apt_framework/osh_name.h>.
"myhelloworld.cpp", line 7: Error: Could not open include file<apt_framework/coperator.h>.
"myhelloworld.cpp", line 9: Error: Could not open include file<apt_framework/step.h>.
"myhelloworld.cpp", line 10: Error: Could not open include file<apt_framework/adapter.h>.
"myhelloworld.cpp", line 11: Error: Could not open include file<apt_framework/schema.h>.
"myhelloworld.cpp", line 12: Error: Could not open include file<apt_framework/fieldsel.h>.
"myhelloworld.cpp", line 13: Error: Could not open include file<apt_framework/cursor.h>.
"myhelloworld.cpp", line 14: Error: Could not open include file<apt_framework/accessor.h>.
"myhelloworld.cpp", line 15: Error: Could not open include file<apt_framework/interface.h>.
"myhelloworld.cpp", line 16: Error: Could not open include file<apt_framework/record.h>.
"myhelloworld.cpp", line 17: Error: Could not open include file<apt_framework/dataset.h>.
"myhelloworld.cpp", line 18: Error: Could not open include file<apt_util/errlog.h>.
"myhelloworld.cpp", line 20: Error: Could not open include file<apt_util/parse_err.h>.
"myhelloworld.cpp", line 21: Error: Could not open include file<apt_util/errind.h>.
"myhelloworld.cpp", line 23: Error: Could not open include file<apt_util/message.h>.
"myhelloworld.cpp", line 30: Error: APT_Error is not defined.
Please help me as well.
This is the command i used:
/opt/SUNWspro/bin/CC -dalign -O -PIC -librar=iostream -c myhelloworld.cpp
And the error i am getting is :
"myhelloworld.cpp", line 6: Error: Could not open include file<apt_framework/osh_name.h>.
"myhelloworld.cpp", line 7: Error: Could not open include file<apt_framework/coperator.h>.
"myhelloworld.cpp", line 9: Error: Could not open include file<apt_framework/step.h>.
"myhelloworld.cpp", line 10: Error: Could not open include file<apt_framework/adapter.h>.
"myhelloworld.cpp", line 11: Error: Could not open include file<apt_framework/schema.h>.
"myhelloworld.cpp", line 12: Error: Could not open include file<apt_framework/fieldsel.h>.
"myhelloworld.cpp", line 13: Error: Could not open include file<apt_framework/cursor.h>.
"myhelloworld.cpp", line 14: Error: Could not open include file<apt_framework/accessor.h>.
"myhelloworld.cpp", line 15: Error: Could not open include file<apt_framework/interface.h>.
"myhelloworld.cpp", line 16: Error: Could not open include file<apt_framework/record.h>.
"myhelloworld.cpp", line 17: Error: Could not open include file<apt_framework/dataset.h>.
"myhelloworld.cpp", line 18: Error: Could not open include file<apt_util/errlog.h>.
"myhelloworld.cpp", line 20: Error: Could not open include file<apt_util/parse_err.h>.
"myhelloworld.cpp", line 21: Error: Could not open include file<apt_util/errind.h>.
"myhelloworld.cpp", line 23: Error: Could not open include file<apt_util/message.h>.
"myhelloworld.cpp", line 30: Error: APT_Error is not defined.
Please help me as well.
Nirmal Sharma
Same thing happens with me when i am trying to compile my code in UNIX.
This is the command i used:
/opt/SUNWspro/bin/CC -dalign -O -PIC -librar=iostream -c myhelloworld.cpp
And the error i am getting is :
"myhelloworld.cpp", line 6: Error: Could not open include file<apt_framework/osh_name.h>.
"myhelloworld.cpp", line 7: Error: Could not open include file<apt_framework/coperator.h>.
"myhelloworld.cpp", line 9: Error: Could not open include file<apt_framework/step.h>.
"myhelloworld.cpp", line 10: Error: Could not open include file<apt_framework/adapter.h>.
"myhelloworld.cpp", line 11: Error: Could not open include file<apt_framework/schema.h>.
"myhelloworld.cpp", line 12: Error: Could not open include file<apt_framework/fieldsel.h>.
"myhelloworld.cpp", line 13: Error: Could not open include file<apt_framework/cursor.h>.
"myhelloworld.cpp", line 14: Error: Could not open include file<apt_framework/accessor.h>.
"myhelloworld.cpp", line 15: Error: Could not open include file<apt_framework/interface.h>.
"myhelloworld.cpp", line 16: Error: Could not open include file<apt_framework/record.h>.
"myhelloworld.cpp", line 17: Error: Could not open include file<apt_framework/dataset.h>.
"myhelloworld.cpp", line 18: Error: Could not open include file<apt_util/errlog.h>.
"myhelloworld.cpp", line 20: Error: Could not open include file<apt_util/parse_err.h>.
"myhelloworld.cpp", line 21: Error: Could not open include file<apt_util/errind.h>.
"myhelloworld.cpp", line 23: Error: Could not open include file<apt_util/message.h>.
"myhelloworld.cpp", line 30: Error: APT_Error is not defined.
Please help me as well.
This is the command i used:
/opt/SUNWspro/bin/CC -dalign -O -PIC -librar=iostream -c myhelloworld.cpp
And the error i am getting is :
"myhelloworld.cpp", line 6: Error: Could not open include file<apt_framework/osh_name.h>.
"myhelloworld.cpp", line 7: Error: Could not open include file<apt_framework/coperator.h>.
"myhelloworld.cpp", line 9: Error: Could not open include file<apt_framework/step.h>.
"myhelloworld.cpp", line 10: Error: Could not open include file<apt_framework/adapter.h>.
"myhelloworld.cpp", line 11: Error: Could not open include file<apt_framework/schema.h>.
"myhelloworld.cpp", line 12: Error: Could not open include file<apt_framework/fieldsel.h>.
"myhelloworld.cpp", line 13: Error: Could not open include file<apt_framework/cursor.h>.
"myhelloworld.cpp", line 14: Error: Could not open include file<apt_framework/accessor.h>.
"myhelloworld.cpp", line 15: Error: Could not open include file<apt_framework/interface.h>.
"myhelloworld.cpp", line 16: Error: Could not open include file<apt_framework/record.h>.
"myhelloworld.cpp", line 17: Error: Could not open include file<apt_framework/dataset.h>.
"myhelloworld.cpp", line 18: Error: Could not open include file<apt_util/errlog.h>.
"myhelloworld.cpp", line 20: Error: Could not open include file<apt_util/parse_err.h>.
"myhelloworld.cpp", line 21: Error: Could not open include file<apt_util/errind.h>.
"myhelloworld.cpp", line 23: Error: Could not open include file<apt_util/message.h>.
"myhelloworld.cpp", line 30: Error: APT_Error is not defined.
Please help me as well.
Nirmal Sharma
I tried to compile my routine using the CXX compiler. While compiling it is giving the error as "Compiler "cl" not found."
I have MS Visual Studio 2005 is installed on my machine.
Even i give cxx and give enter on command line, it is showing the same ERROR.
Can any one help me how to fix this CL compiler issue?
I have MS Visual Studio 2005 is installed on my machine.
Even i give cxx and give enter on command line, it is showing the same ERROR.
Can any one help me how to fix this CL compiler issue?
Thanks,
Raamc
Raamc