Hi,
Thanks for using the PRF form. Do you have added ACE_wrappers/lib to your path before starting visual studio 2008. Lo
Regards,
Johnny Willemsen
Remedy IT
Postbus 101
2650 AC Berkel en Rodenrijs
The Netherlands
www.theaceorb.nl / www.remedy.nl
*** Integrated compile and test statistics see http://scoreboard.theaceorb.nl ***
*** Commercial service and support for
ACE/TAO/CIAO
***
*** Get your free TAO Programmers Guide copy from
http://www.theaceorb.nl ***
From: tao-user...@list.isis.vanderbilt.edu
[mailto:tao-user...@list.isis.vanderbilt.edu] On Behalf Of Rajkovic,
Ivan
Sent: Tuesday, August 19, 2008 9:55 AM
To: tao-...@list.isis.vanderbilt.edu
Subject: [tao-users] Microsoft Visual Studio 2008 project TAO_vc9.vcproj
doesn't build
Can anybody help about following?
TAO VERSION: 1.6.5
ACE VERSION: 5.6.5
HOST MACHINE and OPERATING SYSTEM: Intel(R) Core(TM)2 CPU 6400 @2.13Ghz 0.97GB of RAM , OS: Microsoft Windows XP Professional Version 2002, Service Pack 2
If on Windows based OS's, which version of WINSOCK do you use?: 3.10.0.103
COMPILER NAME AND VERSION (AND PATCHLEVEL): Microsoft Visual Studio 2008 Version 9.0.21022.8 RTM, Microsoft .NET Framework Version 3.5, Installed Edition: Professional Microsoft Visual C++ 2008
AREA/CLASS/EXAMPLE AFFECTED: TAO_vc9.vcproj
DOES THE PROBLEM AFFECT:
COMPILATION?
If so, what do your $ACE_ROOT/ace/config.h and
$ACE_ROOT/include/makeinclude/platform_macros.GNU contain?
#define ACE_HAS_STANDARD_CPP_LIBRARY 1
#include "ace/config-win32.h"
ACE/TAO affected!
[Please indicate whether ACE/TAO, your application, or both are affected.]
SYNOPSIS:
Microsoft Visual Studio 2008 project TAO_vc9.vcproj doesn't build (latest version)
DESCRIPTION:
The problem is with compilation and building of TAO_vc9.vcproj, but the root of problem is, I think, tao_idl.exe IDL compiler or bad project settings. I have succesfully build tao_idl compiler and ACE.dll (ACEd.dll) before it. But compiling and building ACE went OK because there are no IDLs to be compiled by IDL compiler, so there were no additional source (skeleton, stubs) to be generated and compiled in project. Here I will put partial outcome of TAO compilation:
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>Compiling...
1>WStringSeqC.cpp
1>c1xx : fatal error C1083: Cannot open source file: '.\WStringSeqC.cpp': No such file or directory
1>WrongTransactionC.cpp
1>c:\AceTao_Latest\ACE_wrappers\TAO\tao/ORB.h(28) : fatal error C1083: Cannot open include file: 'tao/orb_typesC.h': 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>Wait_On_Read.cpp
1>c:\AceTao_Latest\ACE_wrappers\TAO\tao/Pluggable_Messaging_Utils.h(21) : fatal error C1083: Cannot open include file: 'tao/IOP_IORC.h': No such file or directory
1>Wait_On_Reactor.cpp
1>Generating Code...
1>Build log was saved at "file://c:\AceTao_Latest\ACE_wrappers\TAO\tao\Debug\TAO_vc9\I386\BuildLog.htm"
1>TAO - 154 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 3 up-to-date, 0 skipped ==========
Obviously, source code, as result of IDL compilation, is not from some reason generated!!! Additional information from LOG file could be also helpful:
Creating temporary file "c:\AceTao_Latest\ACE_wrappers\TAO\tao\Debug\TAO_vc9\I386\BAT00002E20282468.bat" with contents
[
@echo off
PATH=%PATH%;..\..\lib
..\..\bin\tao_idl -Wb,pre_include=ace/pre.h -Wb,post_include=ace/post.h -I.. -Wb,versioning_begin=TAO_BEGIN_VERSIONED_NAMESPACE_DECL -Wb,versioning_end=TAO_END_VERSIONED_NAMESPACE_DECL -SS -Sorb -GA -Gp -Gd -oA AnyTypeCode -Wb,export_macro=TAO_Export -Wb,export_include=tao/TAO_Export.h -Wb,anyop_export_macro=TAO_AnyTypeCode_Export -Wb,anyop_export_include=tao/AnyTypeCode/TAO_AnyTypeCode_Export.h -Sci -Gse "WStringSeq.pidl"
if errorlevel 1 goto VCReportError
goto VCEnd
:VCReportError
echo Project : error PRJ0019: A tool returned an error code from "Invoking ..\..\bin\tao_idl on WStringSeq.pidl"
exit 1
:VCEnd
]
Creating command line "c:\AceTao_Latest\ACE_wrappers\TAO\tao\Debug\TAO_vc9\I386\BAT00002E20282468.bat"
Creating temporary file "c:\AceTao_Latest\ACE_wrappers\TAO\tao\Debug\TAO_vc9\I386\BAT00002F20282468.bat" with contents
[
@echo off
PATH=%PATH%;..\..\lib
..\..\bin\tao_idl -Wb,pre_include=ace/pre.h -Wb,post_include=ace/post.h -I.. -Wb,versioning_begin=TAO_BEGIN_VERSIONED_NAMESPACE_DECL -
Wb,versioning_end=TAO_END_VERSIONED_NAMESPACE_DECL -SS -Sorb -GA -Gp -Gd -oA AnyTypeCode -Wb,export_macro=TAO_Export -Wb,export_include=tao/TAO_Export.h -
Wb,anyop_export_macro=TAO_AnyTypeCode_Export -Wb,anyop_export_include=tao/AnyTypeCode/TAO_AnyTypeCode_Export.h -Sci -Gse "WCharSeq.pidl"
if errorlevel 1 goto VCReportError
goto VCEnd
:VCReportError
echo Project : error PRJ0019: A tool returned an error code from "Invoking ..\..\bin\tao_idl on WCharSeq.pidl"
exit 1
:VCEnd
]
...
Thank you in advance.
Kind Regards,
Ivan Rajkovic
Technology&Architecture
Department
Roche
Diagnostics Ltd.
GPS
Information Solutions
Forrenstrasse
CH-6343
Rotkreuz
Switzerland
Office:
+41 - 41 - 798 7881
Fax:
Mobile:
ivan.r...@roche.com
www.roche-rotkreuz.com
Hi,
No such path! Should I add it?