Hi All.
Looks like I've got this one sorted.
My thanks to johny. He suggested starting again from scratch. I checked
my system including the path and environment variables and it looked
like there was some settings pointing at an older version of TAO which
was compiled on my box. Once I set these properly TAO built fine.
Thanks.
Nick.
-----Original Message-----
From: Nick Adamson
Sent: 13 March 2009 13:37
To: tao-users@list.isis.vanderbilt.edu
Subject: TAO, problems building on vc8, fatal error missing file.
Hi All.
I'm trying to build ACE and TAO on visual studio 2005. ACE builds fine however there seems to be some problem finding files when building TAO
as I'm getting fatal error, can't find file messages from the compiler.
I guess I've missed a directive in the config.h file or messed up one of
my environment variables.
Here's the problem report form.
TAO VERSION: 1.6.8
ACE VERSION: 5.6.8
HOST MACHINE and OPERATING SYSTEM: Windows xP pro, twin core Intel 4
gb RAM.
If on Windows based OS's, which version of WINSOCK do you
use?: 2
TARGET MACHINE and OPERATING SYSTEM, if different from HOST: same.
COMPILER NAME AND VERSION (AND PATCHLEVEL): vc8 (2005) SP1.
THE $ACE_ROOT/ace/config.h FILE [if you use a link to a platform-
specific file, simply state which one]:
#define ACE_DISABLE_WIN32_INCREASE_PRIORITY
#define ACE_DISABLE_WIN32_ERROR_WINDOWS
#define ACE_HAS_INTERCEPTORS 0
#include "ace/config-win32.h"
CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features
(used by MPC when you generate your own makefiles):
I'm using the pre-generated workspace files.
AREA/CLASS/EXAMPLE AFFECTED: TAO.dll failed to compile.
DOES THE PROBLEM AFFECT:
COMPILATION? Yes.
If so, what do your $ACE_ROOT/ace/config.h and
$ACE_ROOT/include/makeinclude/platform_macros.GNU contain?
See above.
LINKING? NO.
On Unix systems, did you run make realclean first?
EXECUTION? No
OTHER (please specify)?
SYNOPSIS:
When building TAO.dll (problems effect other projects in the work space
but I think it's all related) it doesn't look like TAO_idl has generated
the cpp files for the IDL files passed in.
DESCRIPTION:
When building the TAO.dll in debug I get the following output.
------ Build started: Project: TAO, Configuration: Debug Win32 ------ 1>Invoking ..\..\bin\tao_idl on WStringSeq.pidl'.\WStringSeqC.cpp': No such file or directory
Invoking ..\..\bin\tao_idl on WCharSeq.pidl
Invoking ..\..\bin\tao_idl on UShortSeq.pidl
Invoking ..\..\bin\tao_idl on ULongSeq.pidl
Invoking ..\..\bin\tao_idl on ULongLongSeq.pidl
Invoking ..\..\bin\tao_idl on TimeBase.pidl
Invoking ..\..\bin\tao_idl on TAO.pidl
Invoking ..\..\bin\tao_idl on StringSeq.pidl
Invoking ..\..\bin\tao_idl on ShortSeq.pidl
Invoking ..\..\bin\tao_idl on Services.pidl
Invoking ..\..\bin\tao_idl on PortableInterceptor.pidl
Invoking ..\..\bin\tao_idl on Policy_Manager.pidl
Invoking ..\..\bin\tao_idl on Policy_Forward.pidl
Invoking ..\..\bin\tao_idl on Policy_Current.pidl
Invoking ..\..\bin\tao_idl on PI_Forward.pidl
Invoking ..\..\bin\tao_idl on ParameterMode.pidl
Invoking ..\..\bin\tao_idl on orb_types.pidl
Invoking ..\..\bin\tao_idl on OctetSeq.pidl
Invoking ..\..\bin\tao_idl on ObjectIdList.pidl
Invoking ..\..\bin\tao_idl on Messaging_SyncScope.pidl
Invoking ..\..\bin\tao_idl on Messaging_PolicyValue.pidl
Invoking ..\..\bin\tao_idl on LongSeq.pidl
Invoking ..\..\bin\tao_idl on LongLongSeq.pidl
Invoking ..\..\bin\tao_idl on LongDoubleSeq.pidl
Invoking ..\..\bin\tao_idl on IOP.pidl
Invoking ..\..\bin\tao_idl on IIOP.pidl
Invoking ..\..\bin\tao_idl on IIOP_Endpoints.pidl
Invoking ..\..\bin\tao_idl on GIOP.pidl
Invoking ..\..\bin\tao_idl on FloatSeq.pidl
Invoking ..\..\bin\tao_idl on DoubleSeq.pidl
Invoking ..\..\bin\tao_idl on Current.pidl
Invoking ..\..\bin\tao_idl on CONV_FRAME.pidl
Invoking ..\..\bin\tao_idl on CharSeq.pidl
Invoking ..\..\bin\tao_idl on BooleanSeq.pidl
Compiling...
WStringSeqC.cpp
c1xx : fatal error C1083: Cannot open source file:
WCharSeqC.cppNo such file or directory
c1xx : fatal error C1083: Cannot open source file: '.\WCharSeqC.cpp':
UShortSeqC.cppNo such file or directory
c1xx : fatal error C1083: Cannot open source file: '.\UShortSeqC.cpp':
ULongSeqC.cppNo such file or directory
c1xx : fatal error C1083: Cannot open source file: '.\ULongSeqC.cpp':
ULongLongSeqC.cpp'.\ULongLongSeqC.cpp': No such file or directory
c1xx : fatal error C1083: Cannot open source file:
TimeBaseC.cppNo such file or directory
c1xx : fatal error C1083: Cannot open source file: '.\TimeBaseC.cpp':
TAOC.cppsuch file or directory
c1xx : fatal error C1083: Cannot open source file: '.\TAOC.cpp': No
StringSeqC.cppNo such file or directory
c1xx : fatal error C1083: Cannot open source file: '.\StringSeqC.cpp':
ShortSeqC.cppNo such file or directory
c1xx : fatal error C1083: Cannot open source file: '.\ShortSeqC.cpp':
ServicesC.cppNo such file or directory
c1xx : fatal error C1083: Cannot open source file: '.\ServicesC.cpp':
PortableInterceptorC.cpp'.\Policy_ManagerC.cpp': No such file or directory
c1xx : fatal error C1083: Cannot open source file: '.\PortableInterceptorC.cpp': No such file or directory
Policy_ManagerC.cpp
c1xx : fatal error C1083: Cannot open source file:
Policy_ForwardC.cpp'.\Policy_ForwardC.cpp': No such file or directory
c1xx : fatal error C1083: Cannot open source file:
Policy_CurrentC.cpp'.\Policy_CurrentC.cpp': No such file or directory
c1xx : fatal error C1083: Cannot open source file:
PI_ForwardC.cpp'.\PI_ForwardC.cpp': No such file or directory
c1xx : fatal error C1083: Cannot open source file:
ParameterModeC.cpp'.\ParameterModeC.cpp': No such file or directory
c1xx : fatal error C1083: Cannot open source file:
orb_typesC.cppNo such file or directory
c1xx : fatal error C1083: Cannot open source file: '.\orb_typesC.cpp':
OctetSeqC.cppNo such file or directory
c1xx : fatal error C1083: Cannot open source file: '.\OctetSeqC.cpp':
ObjectIdListC.cpp'.\ObjectIdListC.cpp': No such file or directory
c1xx : fatal error C1083: Cannot open source file:
Messaging_SyncScopeC.cppNo such file or directory
c1xx : fatal error C1083: Cannot open source file: '.\Messaging_SyncScopeC.cpp': No such file or directory
Generating Code...
Compiling...
Messaging_PolicyValueC.cpp
c1xx : fatal error C1083: Cannot open source file: '.\Messaging_PolicyValueC.cpp': No such file or directory
LongSeqC.cpp
c1xx : fatal error C1083: Cannot open source file: '.\LongSeqC.cpp':
LongLongSeqC.cpp'.\LongLongSeqC.cpp': No such file or directory
c1xx : fatal error C1083: Cannot open source file:
LongDoubleSeqC.cpp'.\LongDoubleSeqC.cpp': No such file or directory
c1xx : fatal error C1083: Cannot open source file:
IOPC.cppsuch file or directory
c1xx : fatal error C1083: Cannot open source file: '.\IOPC.cpp': No
IIOPC.cppsuch file or directory
c1xx : fatal error C1083: Cannot open source file: '.\IIOPC.cpp': No
IIOP_EndpointsC.cpp'.\IIOP_EndpointsC.cpp': No such file or directory
c1xx : fatal error C1083: Cannot open source file:
GIOPC.cppsuch file or directory
c1xx : fatal error C1083: Cannot open source file: '.\GIOPC.cpp': No
FloatSeqC.cppNo such file or directory
c1xx : fatal error C1083: Cannot open source file: '.\FloatSeqC.cpp':
DoubleSeqC.cppNo such file or directory
c1xx : fatal error C1083: Cannot open source file: '.\DoubleSeqC.cpp':
CurrentC.cppNo such file or directory
c1xx : fatal error C1083: Cannot open source file: '.\CurrentC.cpp':
CONV_FRAMEC.cpp'.\CONV_FRAMEC.cpp': No such file or directory
c1xx : fatal error C1083: Cannot open source file:
CharSeqC.cppNo such file or directory
c1xx : fatal error C1083: Cannot open source file: '.\CharSeqC.cpp':
BooleanSeqC.cpp'.\BooleanSeqC.cpp': No such file or directory
c1xx : fatal error C1083: Cannot open source file:
Generating Code...========== Build: 0 succeeded, 1 failed, 5 up-to-date, 0 skipped
Build log was saved at "file://c:\nicksdevelop\ACE_wrappers\TAO\tao\Debug\TAO_vc8\I386\BuildLog .htm"
TAO - 34 error(s), 0 warning(s)
==========
REPEAT BY:
Downloaded the latest zip file.
Unzipped it.
Set my environment variables to:
ACE_ROOT = c:\nicksdevelop\ace_wrappers
TAO_ROOT = c:\nicksdevelop\ace_wrappers\TAO
Wrote my config.h file.
Built ace.
Attempted to build tao.
Any ideas greatfully received.
Nick Adamson
Software Engineer
General Dynamics United Kingdom Limited
Email: nick.adamson@generaldynamics.uk.com
Tel: 01495 236467
http://www.generaldynamics.uk.com
General Dynamics United Kingdom Limited
Bryn Brithdir,
Units 3 & 4,
Oakdale Business Park,
Oakdale,
South Wales,
NP12 4AA.
This email and any files attached are intended for the addressee and may contain information of a confidential nature. If you are not the intended recipient, be aware that this email was sent to you in error and you should not disclose, distribute,print, copy or make other use of this email or its attachments. Such actions, in fact, may be unlawful. In compliance with the various Regulations and Acts, General Dynamics United Kingdom Limited reserves the right to monitor (and examine for viruses)
On Monday, March 16, 2009 at 11:52:30 AM UTC-4, Nick.A...@generaldynamics.uk.com wrote:
Hi All.
Looks like I've got this one sorted.
My thanks to johny. He suggested starting again from scratch. I checked
my system including the path and environment variables and it looked
like there was some settings pointing at an older version of TAO which
was compiled on my box. Once I set these properly TAO built fine.
Thanks.
Nick.
-----Original Message-----
From: Nick Adamson
Sent: 13 March 2009 13:37
To: tao-users@list.isis.vanderbilt.edu
Subject: TAO, problems building on vc8, fatal error missing file.
Hi All.
I'm trying to build ACE and TAO on visual studio 2005. ACE builds fine however there seems to be some problem finding files when building TAO
as I'm getting fatal error, can't find file messages from the compiler.
I guess I've missed a directive in the config.h file or messed up one of
my environment variables.
Here's the problem report form.
TAO VERSION: 1.6.8
ACE VERSION: 5.6.8
HOST MACHINE and OPERATING SYSTEM: Windows xP pro, twin core Intel 4
gb RAM.
If on Windows based OS's, which version of WINSOCK do you
use?: 2
TARGET MACHINE and OPERATING SYSTEM, if different from HOST: same.
COMPILER NAME AND VERSION (AND PATCHLEVEL): vc8 (2005) SP1.
THE $ACE_ROOT/ace/config.h FILE [if you use a link to a platform-
specific file, simply state which one]:
#define ACE_DISABLE_WIN32_INCREASE_PRIORITY
#define ACE_DISABLE_WIN32_ERROR_WINDOWS
#define ACE_HAS_INTERCEPTORS 0
#include "ace/config-win32.h"
CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features
(used by MPC when you generate your own makefiles):
I'm using the pre-generated workspace files.
AREA/CLASS/EXAMPLE AFFECTED: TAO.dll failed to compile.
DOES THE PROBLEM AFFECT:
COMPILATION? Yes.
If so, what do your $ACE_ROOT/ace/config.h and
$ACE_ROOT/include/makeinclude/platform_macros.GNU contain?
See above.
LINKING? NO.
On Unix systems, did you run make realclean first?
EXECUTION? No
OTHER (please specify)?
SYNOPSIS:
When building TAO.dll (problems effect other projects in the work space
but I think it's all related) it doesn't look like TAO_idl has generated the cpp files for the IDL files passed in.
DESCRIPTION:
When building the TAO.dll in debug I get the following output.
------ Build started: Project: TAO, Configuration: Debug Win32 ------ 1>Invoking ..\..\bin\tao_idl on WStringSeq.pidl'.\WStringSeqC.cpp': No such file or directory
Invoking ..\..\bin\tao_idl on WCharSeq.pidl
Invoking ..\..\bin\tao_idl on UShortSeq.pidl
Invoking ..\..\bin\tao_idl on ULongSeq.pidl
Invoking ..\..\bin\tao_idl on ULongLongSeq.pidl
Invoking ..\..\bin\tao_idl on TimeBase.pidl
Invoking ..\..\bin\tao_idl on TAO.pidl
Invoking ..\..\bin\tao_idl on StringSeq.pidl
Invoking ..\..\bin\tao_idl on ShortSeq.pidl
Invoking ..\..\bin\tao_idl on Services.pidl
Invoking ..\..\bin\tao_idl on PortableInterceptor.pidl
Invoking ..\..\bin\tao_idl on Policy_Manager.pidl
Invoking ..\..\bin\tao_idl on Policy_Forward.pidl
Invoking ..\..\bin\tao_idl on Policy_Current.pidl
Invoking ..\..\bin\tao_idl on PI_Forward.pidl
Invoking ..\..\bin\tao_idl on ParameterMode.pidl
Invoking ..\..\bin\tao_idl on orb_types.pidl
Invoking ..\..\bin\tao_idl on OctetSeq.pidl
Invoking ..\..\bin\tao_idl on ObjectIdList.pidl
Invoking ..\..\bin\tao_idl on Messaging_SyncScope.pidl
Invoking ..\..\bin\tao_idl on Messaging_PolicyValue.pidl
Invoking ..\..\bin\tao_idl on LongSeq.pidl
Invoking ..\..\bin\tao_idl on LongLongSeq.pidl
Invoking ..\..\bin\tao_idl on LongDoubleSeq.pidl
Invoking ..\..\bin\tao_idl on IOP.pidl
Invoking ..\..\bin\tao_idl on IIOP.pidl
Invoking ..\..\bin\tao_idl on IIOP_Endpoints.pidl
Invoking ..\..\bin\tao_idl on GIOP.pidl
Invoking ..\..\bin\tao_idl on FloatSeq.pidl
Invoking ..\..\bin\tao_idl on DoubleSeq.pidl
Invoking ..\..\bin\tao_idl on Current.pidl
Invoking ..\..\bin\tao_idl on CONV_FRAME.pidl
Invoking ..\..\bin\tao_idl on CharSeq.pidl
Invoking ..\..\bin\tao_idl on BooleanSeq.pidl
Compiling...
WStringSeqC.cpp
c1xx : fatal error C1083: Cannot open source file:
WCharSeqC.cppNo such file or directory
c1xx : fatal error C1083: Cannot open source file: '.\WCharSeqC.cpp':
UShortSeqC.cppNo such file or directory
c1xx : fatal error C1083: Cannot open source file: '.\UShortSeqC.cpp':
ULongSeqC.cppNo such file or directory
c1xx : fatal error C1083: Cannot open source file: '.\ULongSeqC.cpp':
ULongLongSeqC.cpp'.\ULongLongSeqC.cpp': No such file or directory
c1xx : fatal error C1083: Cannot open source file:
TimeBaseC.cppNo such file or directory
c1xx : fatal error C1083: Cannot open source file: '.\TimeBaseC.cpp':
TAOC.cppsuch file or directory
c1xx : fatal error C1083: Cannot open source file: '.\TAOC.cpp': No
StringSeqC.cppNo such file or directory
c1xx : fatal error C1083: Cannot open source file: '.\StringSeqC.cpp':
ShortSeqC.cppNo such file or directory
c1xx : fatal error C1083: Cannot open source file: '.\ShortSeqC.cpp':
ServicesC.cppNo such file or directory
c1xx : fatal error C1083: Cannot open source file: '.\ServicesC.cpp':
PortableInterceptorC.cpp'.\PI_ForwardC.cpp': No such file or directory
c1xx : fatal error C1083: Cannot open source file: '.\PortableInterceptorC.cpp': No such file or directory 1>Policy_ManagerC.cpp
c1xx : fatal error C1083: Cannot open source file: '.\Policy_ManagerC.cpp': No such file or directory
Policy_ForwardC.cpp
c1xx : fatal error C1083: Cannot open source file: '.\Policy_ForwardC.cpp': No such file or directory
Policy_CurrentC.cpp
c1xx : fatal error C1083: Cannot open source file: '.\Policy_CurrentC.cpp': No such file or directory
PI_ForwardC.cpp
c1xx : fatal error C1083: Cannot open source file:
ParameterModeC.cppNo such file or directory
c1xx : fatal error C1083: Cannot open source file: '.\ParameterModeC.cpp': No such file or directory
orb_typesC.cpp
c1xx : fatal error C1083: Cannot open source file: '.\orb_typesC.cpp':
OctetSeqC.cppNo such file or directory
c1xx : fatal error C1083: Cannot open source file: '.\OctetSeqC.cpp':
ObjectIdListC.cpp'.\ObjectIdListC.cpp': No such file or directory
c1xx : fatal error C1083: Cannot open source file:
Messaging_SyncScopeC.cppNo such file or directory
c1xx : fatal error C1083: Cannot open source file: '.\Messaging_SyncScopeC.cpp': No such file or directory
Generating Code...
Compiling...
Messaging_PolicyValueC.cpp
c1xx : fatal error C1083: Cannot open source file: '.\Messaging_PolicyValueC.cpp': No such file or directory
LongSeqC.cpp
c1xx : fatal error C1083: Cannot open source file: '.\LongSeqC.cpp':
LongLongSeqC.cpp'.\LongLongSeqC.cpp': No such file or directory
c1xx : fatal error C1083: Cannot open source file:
LongDoubleSeqC.cppsuch file or directory
c1xx : fatal error C1083: Cannot open source file: '.\LongDoubleSeqC.cpp': No such file or directory
IOPC.cpp
c1xx : fatal error C1083: Cannot open source file: '.\IOPC.cpp': No
IIOPC.cppsuch file or directory
c1xx : fatal error C1083: Cannot open source file: '.\IIOPC.cpp': No
IIOP_EndpointsC.cppsuch file or directory
c1xx : fatal error C1083: Cannot open source file: '.\IIOP_EndpointsC.cpp': No such file or directory
GIOPC.cpp
c1xx : fatal error C1083: Cannot open source file: '.\GIOPC.cpp': No
FloatSeqC.cppNo such file or directory
c1xx : fatal error C1083: Cannot open source file: '.\FloatSeqC.cpp':
DoubleSeqC.cppNo such file or directory
c1xx : fatal error C1083: Cannot open source file: '.\DoubleSeqC.cpp':
CurrentC.cppNo such file or directory
c1xx : fatal error C1083: Cannot open source file: '.\CurrentC.cpp':
CONV_FRAMEC.cpp'.\CONV_FRAMEC.cpp': No such file or directory
c1xx : fatal error C1083: Cannot open source file:
CharSeqC.cppNo such file or directory
c1xx : fatal error C1083: Cannot open source file: '.\CharSeqC.cpp':
BooleanSeqC.cpp'.\BooleanSeqC.cpp': No such file or directory
c1xx : fatal error C1083: Cannot open source file:
Generating Code...========== Build: 0 succeeded, 1 failed, 5 up-to-date, 0 skipped
Build log was saved at "file://c:\nicksdevelop\ACE_wrappers\TAO\tao\Debug\TAO_vc8\I386\BuildLog .htm"
TAO - 34 error(s), 0 warning(s)
==========
REPEAT BY:
Downloaded the latest zip file.
Unzipped it.
Set my environment variables to:
ACE_ROOT = c:\nicksdevelop\ace_wrappers
TAO_ROOT = c:\nicksdevelop\ace_wrappers\TAO
Wrote my config.h file.
Built ace.
Attempted to build tao.
Any ideas greatfully received.
Nick Adamson
Software Engineer
General Dynamics United Kingdom Limited
Email: nick.adamson@generaldynamics.uk.com
Tel: 01495 236467
http://www.generaldynamics.uk.com
General Dynamics United Kingdom Limited
Bryn Brithdir,
Units 3 & 4,
Oakdale Business Park,
Oakdale,
South Wales,
NP12 4AA.
print, copy or make other use of this email or its attachments. Such actions, in fact, may be unlawful. In compliance with the various Regulations and Acts, General Dynamics United Kingdom Limited reserves the right to monitor (and examine for viruses)This email and any files attached are intended for the addressee and may contain information of a confidential nature. If you are not the intended recipient, be aware that this email was sent to you in error and you should not disclose, distribute,
Hello Nick Adamson & Friends,
Could you please share the steps you followed to run ACE+TAO in Visual Studio.
After verifying C:\ACE_wrappers\TAO directory there are no any of the following files. Were they renamed or deprecated?
Cannot open include file: 'tao/PortableServer/PortableServerC.h': No such file
or directory
C:\ACE_wrappers\TAO\orbsvcs\orbsvcs/Notify/PropertySeq.h(22): fatal error C1083: Cannot open include file: 'orbsvcs/CosNotificationC.h': No such file or directory
fatal error C1083: Cannot open include file: 'tao/RTScheduling/RTSchedulerC.h': No such file or directory
fatal error C1083: Cannot open include file: 'orbsvcs/PortableGroupC.h'
fatal error C1083: Cannot open include file: 'orbsvcs/FT_ReplicationManagerS.h': No such file or directory
Many thanks!
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 62:23:39 |
Calls: | 6,654 |
Files: | 12,200 |
Messages: | 5,331,626 |