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

ACE/TAO 1.6a_p7: can't build in Visual Studio 2008?

185 views
Skip to first unread message

Paulito

unread,
Apr 22, 2010, 5:55:22 PM4/22/10
to
Hi - I appear to have "no such file or directory" problems when tryng
to build ACE/TAO ver 1.6a, below is the PROBLEM-REPORT-FORM info...can
anyone advise?
thanks

TAO VERSION: 1.6a_p7

HOST MACHINE and OPERATING SYSTEM: 32-bit Windows XP

TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
Visual Studio 2008
Version 9.0.21022.8.RTM


CONTENTS OF $ACE_ROOT/ace/config.h #include "ace\config-win32.h"

CONTENTS OF $ACE_ROOT/include/makeinclude/platform_macros.GNU [if
you
use a link to a platform-specific file, simply state which one
(unless this isn't used in this case, e.g., with Microsoft Visual
C++)]: N/A

CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/
default.features
(used by MPC when you generate your own makefiles):
N/A file does not exist

LEVEL OF URGENCY (LOW, MEDIUM, or HIGH): MEDIUM

AREA/CLASS/EXAMPLE AFFECTED: several src, hdr files not present;
build fails. For example:
tao/orb_typesC.h
tao/IOPC.h
.\ServicesC.cpp
.\UShortSeqC.cpp

DOES THE PROBLEM AFFECT:
COMPILATION?
LINKING?
On Unix systems, did you run make realclean first?
EXECUTION?
OTHER (please specify)?
[Please indicate whether ACE/TAO, your application, or both are
affected.]

Compilation. According to the instructions:
TAO_ACE_vc9.sln is opened in Visual Studio;
Build->Build Solution is invoked

SYNOPSIS:
Visual Studio 2008 solution file does not build

DESCRIPTION:
Visual Studio 2008 solution file does not build.
Following the instructions described in
http://theaceorb.com/faq/index.html#HowToBuildACEandTAOonWindows
according to step (5) the TAO_ACE_vc9.sln is used;
build fails as described above.
Also tried step (7) to build a new SLN file; that failed the
same
way.

REPEAT BY: Following the build instructions for MS Visual Studio
2008

SAMPLE FIX/WORKAROUND: N/A


Douglas C. Schmidt

unread,
Apr 22, 2010, 6:16:36 PM4/22/10
to pau...@gmail.com, ace-...@cse.wustl.edu
Hi,

>Hi - I appear to have "no such file or directory" problems when tryng
>to build ACE/TAO ver 1.6a, below is the PROBLEM-REPORT-FORM info...can
>anyone advise?

Since you're using OCI's version of TAO I recommend sending your
questions to taosu...@ociweb.com since they provide excellent
commercial support for their releases of TAO. Naturally, we encourage
and appreciate other members of the ACE+TAO user community who can
respond to questions about the OCI release if they have the answers.

You may also want to consider upgrading to ACE+TAO+CIAO x.7.7 (i.e.,
ACE 5.7.7, TAO 1.7.7, and CIAO 0.7.7), which you can download from

http://download.dre.vanderbilt.edu

under the heading: "Latest Micro Release Kit".

The DOC group at Vanderbilt University only provides "best effort"
support for non-sponsors for the latest release, as described in

http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/ACE/docs/ACE-bug-process.html

Thus, if you need more "predictable" help for earlier versions of
ACE+TAO, I recommend that you check out

http://www.dre.vanderbilt.edu/support.html

for a list of companies that will provide you with ACE+TAO commercial
support.

Thanks,

Doug


--
Dr. Douglas C. Schmidt Professor and Associate Chair
Electrical Engineering and Computer Science TEL: (615) 343-8197
Vanderbilt University WEB: www.dre.vanderbilt.edu/~schmidt
Nashville, TN 37203 NET: d.sc...@vanderbilt.edu

Adam Mitz

unread,
Apr 22, 2010, 6:48:11 PM4/22/10
to ace-...@list.isis.vanderbilt.edu
On 4/22/2010 5:16 PM, Douglas C. Schmidt wrote:
>
>> Hi - I appear to have "no such file or directory" problems when tryng
>> to build ACE/TAO ver 1.6a, below is the PROBLEM-REPORT-FORM info...can
>> anyone advise?
>>
>
I just built it with Visual Studio 2008 and it worked fine. Please see
below for some hints.

>> TAO VERSION: 1.6a_p7
>>
>> HOST MACHINE and OPERATING SYSTEM: 32-bit Windows XP
>>
>> TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
>> Visual Studio 2008
>> Version 9.0.21022.8.RTM
>>
>>
>> CONTENTS OF $ACE_ROOT/ace/config.h #include "ace\config-win32.h"
>>
>> CONTENTS OF $ACE_ROOT/include/makeinclude/platform_macros.GNU [if
>> you
>> use a link to a platform-specific file, simply state which one
>> (unless this isn't used in this case, e.g., with Microsoft Visual
>> C++)]: N/A
>>
>> CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/
>> default.features
>> (used by MPC when you generate your own makefiles):
>> N/A file does not exist
>>
>> LEVEL OF URGENCY (LOW, MEDIUM, or HIGH): MEDIUM
>>
>> AREA/CLASS/EXAMPLE AFFECTED: several src, hdr files not present;
>> build fails. For example:
>> tao/orb_typesC.h
>> tao/IOPC.h
>> .\ServicesC.cpp
>> .\UShortSeqC.cpp
>>
>>

These are files that are generated as part of the build process (by
tao_idl.exe). Take a look at the build output and see if you can find
out why it's not running correctly.

>>
>> Compilation. According to the instructions:
>> TAO_ACE_vc9.sln is opened in Visual Studio;
>> Build->Build Solution is invoked
>>
>> SYNOPSIS:
>> Visual Studio 2008 solution file does not build
>>
>> DESCRIPTION:
>> Visual Studio 2008 solution file does not build.
>> Following the instructions described in
>> http://theaceorb.com/faq/index.html#HowToBuildACEandTAOonWindows
>> according to step (5) the TAO_ACE_vc9.sln is used;
>> build fails as described above.
>>

Make sure your ACE_ROOT, TAO_ROOT, and PATH environment settings are
visible to the Visual Studio instance.
I tend to do things from the command line instead of the GUI, here are
the exact steps I used to build:
(start with a "Visual Studio 2008 Command Prompt" so devenv is on the PATH)
wget
http://download.ociweb.com/TAO-1.6a/ACE+TAO-1.6a_with_latest_patches.zip
unzip ACE+TAO-1.6a_with_latest_patches.zip
cd ACE_wrappers
set ACE_ROOT=%CD%
set TAO_ROOT=%ACE_ROOT%\TAO
set PATH=%ACE_ROOT%\bin;%ACE_ROOT%\lib;%PATH%
echo #include "ace/config-win32.h"> ace\config.h
devenv TAO\TAO_ACE_vc9.sln /build Debug

Thanks,
Adam Mitz
Senior Software Engineer
Object Computing, Inc.

Douglas C. Schmidt

unread,
Apr 22, 2010, 7:45:07 PM4/22/10
to Paulito Mendoza, ace-...@cse.wustl.edu

Hi Paulito,

> Thanks for the info.
>
> My colleague also downloaded the release from the Vanderbilt site you
> indicated, and observed the same build errors under Visual Studio 2008
> (we did this in order to determine whether the problem was isolated to
> a specific release). I'll send the PROBLEM-REPORT-FORM info from the
> Vanderbilt-downloaded build environment tomorrow.

Great - make sure that you use ACE+TAO+CIAO x.7.7 (i.e., ACE 5.7.7, TAO 1.7.7, and CIAO


0.7.7), which you can download from

http://download.dre.vanderbilt.edu

under the heading: "Latest Micro Release Kit."

Thanks,

Doug

Douglas C. Schmidt

unread,
Apr 22, 2010, 8:16:48 PM4/22/10
to Paulito Mendoza, ace-...@list.isis.vanderbilt.edu

Hi Paulito,

> Is x.7.7 the right version needed? On the Vanderbilt website, under
> latest Micro Release Kit, it looks like the version is x.7.8; from the
> link from SVN:
>
> "This is ACE version 5.7.8, released Fri Apr 02 10:50:48 CEST 2010"
>
> The section under "Latest Release", however, links to version 5.7.0
>
> (Just want to make sure I get the right version)

You are correct - the latest ACE "micro release" (which is what you should
download) is 5.7.8.

Thanks!

Doug

Johnny Willemsen

unread,
Apr 23, 2010, 2:52:31 AM4/23/10
to ace-...@list.isis.vanderbilt.edu, Paulito Mendoza
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

The files you lack are generated by TAO_IDL, make sure TAO_IDL is
compiled and ACE_wrappers/lib is in your path, it can be that there is a
problem executing tao_idl.

Regards,

Johnny Willemsen
Remedy IT
http://www.theaceorb.nl

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJL0UOvAAoJEF6eObUNSFTQ12kH/3UpjjTVwBggq3fYD82aT3Ch
M0dXpW6zXo99t9AG6AE6QvTyzfI4B+3h6pWTqTg3GFhB1FD3HhMBg7G5UuKhKmgK
GYB2M67I8t2CHOQRwJwALwk2gjGA7dOY06JWtIGqinJbCXoYWwNGHtWcEYUZdmZ8
TMkJZckAEobQwF/SYEFoD80lX2E7oKUxzZnUaJr48btz9yiFBexa8opWVUuwaWhB
pWtK0JLQeINfnJYZoRRO5UazBqTPV5iuxIN7XAVfvxGiqq6V7J2O/PjEQ8NujLOr
bIeWgXDJDRUub4fl75Dw+bUhR/EqVzvj/aQbQ9zItt87oClyZDoq15FVEWRV8+I=
=8YuB
-----END PGP SIGNATURE-----

Paulito

unread,
Apr 23, 2010, 8:53:53 AM4/23/10
to
Doug, Adam, Johnny -

Thanks for the advice
As suggested, command line build of OCI archive works;
I'll verify Vanderbilt will work as well;
root cause is most likely env var problem or Visual Studio usage due
to PBKAC (Problem Between Keyboard And Chair)

Cheers,
- Paulito

0 new messages