Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[tao-users] TAO, problems building on vc8, fatal error missing file.

459 views
Skip to first unread message

Nick.A...@generaldynamics.uk.com

unread,
Mar 13, 2009, 9:36:52 AM3/13/09
to tao-...@list.isis.vanderbilt.edu
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.
1>------ Build started: Project: TAO, Configuration: Debug Win32 ------
1>Invoking ..\..\bin\tao_idl on WStringSeq.pidl
1>Invoking ..\..\bin\tao_idl on WCharSeq.pidl
1>Invoking ..\..\bin\tao_idl on UShortSeq.pidl
1>Invoking ..\..\bin\tao_idl on ULongSeq.pidl
1>Invoking ..\..\bin\tao_idl on ULongLongSeq.pidl
1>Invoking ..\..\bin\tao_idl on TimeBase.pidl
1>Invoking ..\..\bin\tao_idl on TAO.pidl
1>Invoking ..\..\bin\tao_idl on StringSeq.pidl
1>Invoking ..\..\bin\tao_idl on ShortSeq.pidl
1>Invoking ..\..\bin\tao_idl on Services.pidl
1>Invoking ..\..\bin\tao_idl on PortableInterceptor.pidl
1>Invoking ..\..\bin\tao_idl on Policy_Manager.pidl
1>Invoking ..\..\bin\tao_idl on Policy_Forward.pidl
1>Invoking ..\..\bin\tao_idl on Policy_Current.pidl
1>Invoking ..\..\bin\tao_idl on PI_Forward.pidl
1>Invoking ..\..\bin\tao_idl on ParameterMode.pidl
1>Invoking ..\..\bin\tao_idl on orb_types.pidl
1>Invoking ..\..\bin\tao_idl on OctetSeq.pidl
1>Invoking ..\..\bin\tao_idl on ObjectIdList.pidl
1>Invoking ..\..\bin\tao_idl on Messaging_SyncScope.pidl
1>Invoking ..\..\bin\tao_idl on Messaging_PolicyValue.pidl
1>Invoking ..\..\bin\tao_idl on LongSeq.pidl
1>Invoking ..\..\bin\tao_idl on LongLongSeq.pidl
1>Invoking ..\..\bin\tao_idl on LongDoubleSeq.pidl
1>Invoking ..\..\bin\tao_idl on IOP.pidl
1>Invoking ..\..\bin\tao_idl on IIOP.pidl
1>Invoking ..\..\bin\tao_idl on IIOP_Endpoints.pidl
1>Invoking ..\..\bin\tao_idl on GIOP.pidl
1>Invoking ..\..\bin\tao_idl on FloatSeq.pidl
1>Invoking ..\..\bin\tao_idl on DoubleSeq.pidl
1>Invoking ..\..\bin\tao_idl on Current.pidl
1>Invoking ..\..\bin\tao_idl on CONV_FRAME.pidl
1>Invoking ..\..\bin\tao_idl on CharSeq.pidl
1>Invoking ..\..\bin\tao_idl on BooleanSeq.pidl
1>Compiling...
1>WStringSeqC.cpp
1>c1xx : fatal error C1083: Cannot open source file:
'.\WStringSeqC.cpp': No such file or directory
1>WCharSeqC.cpp
1>c1xx : fatal error C1083: Cannot open source file: '.\WCharSeqC.cpp':
No such file or directory
1>UShortSeqC.cpp
1>c1xx : fatal error C1083: Cannot open source file: '.\UShortSeqC.cpp':
No such file or directory
1>ULongSeqC.cpp
1>c1xx : fatal error C1083: Cannot open source file: '.\ULongSeqC.cpp':
No such file or directory
1>ULongLongSeqC.cpp
1>c1xx : fatal error C1083: Cannot open source file:
'.\ULongLongSeqC.cpp': No such file or directory
1>TimeBaseC.cpp
1>c1xx : fatal error C1083: Cannot open source file: '.\TimeBaseC.cpp':
No such file or directory
1>TAOC.cpp
1>c1xx : fatal error C1083: Cannot open source file: '.\TAOC.cpp': No
such file or directory
1>StringSeqC.cpp
1>c1xx : fatal error C1083: Cannot open source file: '.\StringSeqC.cpp':
No such file or directory
1>ShortSeqC.cpp
1>c1xx : fatal error C1083: Cannot open source file: '.\ShortSeqC.cpp':
No such file or directory
1>ServicesC.cpp
1>c1xx : fatal error C1083: Cannot open source file: '.\ServicesC.cpp':
No such file or directory
1>PortableInterceptorC.cpp
1>c1xx : fatal error C1083: Cannot open source file:
'.\PortableInterceptorC.cpp': No such file or directory
1>Policy_ManagerC.cpp
1>c1xx : fatal error C1083: Cannot open source file:
'.\Policy_ManagerC.cpp': No such file or directory
1>Policy_ForwardC.cpp
1>c1xx : fatal error C1083: Cannot open source file:
'.\Policy_ForwardC.cpp': No such file or directory
1>Policy_CurrentC.cpp
1>c1xx : fatal error C1083: Cannot open source file:
'.\Policy_CurrentC.cpp': No such file or directory
1>PI_ForwardC.cpp
1>c1xx : fatal error C1083: Cannot open source file:
'.\PI_ForwardC.cpp': No such file or directory
1>ParameterModeC.cpp
1>c1xx : fatal error C1083: Cannot open source file:
'.\ParameterModeC.cpp': No such file or directory
1>orb_typesC.cpp
1>c1xx : fatal error C1083: Cannot open source file: '.\orb_typesC.cpp':
No such file or directory
1>OctetSeqC.cpp
1>c1xx : fatal error C1083: Cannot open source file: '.\OctetSeqC.cpp':
No such file or directory
1>ObjectIdListC.cpp
1>c1xx : fatal error C1083: Cannot open source file:
'.\ObjectIdListC.cpp': No such file or directory
1>Messaging_SyncScopeC.cpp
1>c1xx : fatal error C1083: Cannot open source file:
'.\Messaging_SyncScopeC.cpp': No such file or directory
1>Generating Code...
1>Compiling...
1>Messaging_PolicyValueC.cpp
1>c1xx : fatal error C1083: Cannot open source file:
'.\Messaging_PolicyValueC.cpp': No such file or directory
1>LongSeqC.cpp
1>c1xx : fatal error C1083: Cannot open source file: '.\LongSeqC.cpp':
No such file or directory
1>LongLongSeqC.cpp
1>c1xx : fatal error C1083: Cannot open source file:
'.\LongLongSeqC.cpp': No such file or directory
1>LongDoubleSeqC.cpp
1>c1xx : fatal error C1083: Cannot open source file:
'.\LongDoubleSeqC.cpp': No such file or directory
1>IOPC.cpp
1>c1xx : fatal error C1083: Cannot open source file: '.\IOPC.cpp': No
such file or directory
1>IIOPC.cpp
1>c1xx : fatal error C1083: Cannot open source file: '.\IIOPC.cpp': No
such file or directory
1>IIOP_EndpointsC.cpp
1>c1xx : fatal error C1083: Cannot open source file:
'.\IIOP_EndpointsC.cpp': No such file or directory
1>GIOPC.cpp
1>c1xx : fatal error C1083: Cannot open source file: '.\GIOPC.cpp': No
such file or directory
1>FloatSeqC.cpp
1>c1xx : fatal error C1083: Cannot open source file: '.\FloatSeqC.cpp':
No such file or directory
1>DoubleSeqC.cpp
1>c1xx : fatal error C1083: Cannot open source file: '.\DoubleSeqC.cpp':
No such file or directory
1>CurrentC.cpp
1>c1xx : fatal error C1083: Cannot open source file: '.\CurrentC.cpp':
No such file or directory
1>CONV_FRAMEC.cpp
1>c1xx : fatal error C1083: Cannot open source file:
'.\CONV_FRAMEC.cpp': No such file or directory
1>CharSeqC.cpp
1>c1xx : fatal error C1083: Cannot open source file: '.\CharSeqC.cpp':
No such file or directory
1>BooleanSeqC.cpp
1>c1xx : fatal error C1083: Cannot open source file:
'.\BooleanSeqC.cpp': No such file or directory
1>Generating Code...
1>Build log was saved at
"file://c:\nicksdevelop\ACE_wrappers\TAO\tao\Debug\TAO_vc8\I386\BuildLog
.htm"
1>TAO - 34 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 5 up-to-date, 0 skipped
==========

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.a...@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) all emails and email attachments, both inbound and outbound. Email communications and their attachments may not be secure or error- or virus-free and the company does not accept liability or responsibility for such matters or the consequences thereof. General Dynamics United Kingdom Limited, Registered Office: 100 New Bridge Street, London EC4V 6JA. Registered in England and Wales No: 1911653.

Johnny Willemsen

unread,
Mar 13, 2009, 9:43:47 AM3/13/09
to Nick.A...@generaldynamics.uk.com, tao-...@list.isis.vanderbilt.edu
Hi,

Can you try to run tao_idl manually? Is ACE_ROOT/lib in your path and can
then tao_idl be executed?

Johnny

> _______________________________________________
> tao-users mailing list
> tao-...@list.isis.vanderbilt.edu
> http://list.isis.vanderbilt.edu/mailman/listinfo/tao-users

Nick.A...@generaldynamics.uk.com

unread,
Mar 16, 2009, 11:52:30 AM3/16/09
to Nick.A...@generaldynamics.uk.com, tao-...@list.isis.vanderbilt.edu
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-...@list.isis.vanderbilt.edu
Subject: TAO, problems building on vc8, fatal error missing file.

Hi All.

darwink...@gmail.com

unread,
Jan 8, 2019, 9:57:30 PM1/8/19
to
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!

Johnny Willemsen

unread,
Jan 10, 2019, 6:36:38 AM1/10/19
to
Hi,

It looks the TAO IDL compiler hasn't run, have you compiled it? Maybe the free CORBA Programmers Guide will help, you can download it for free from https://www.remedy.nl/opensource/corbapg.html

Best regards,

Johnny Willemsen
Remedy IT
0 new messages