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

fatal error C1083: Cannot open include file: 'ace/config-all.h': No such file or directory

1,407 views
Skip to first unread message

Samer S. Issa

unread,
Jan 26, 2006, 5:16:19 AM1/26/06
to
ACE VERSION: 5.4.8

- HOST MACHINE and OPERATING SYSTEM:
Windows XP Pro. Unknown version of winsock.

- TARGET MACHINE and OPERATING SYSTEM,
Windows XP Pro.
- COMPILER NAME AND VERSION (AND PATCHLEVEL):
MSVC++ 7.1.

CONTENTS OF $ACE_ROOT/ace/config.h:
$ACE_ROOT/ace/config.h has been created and it has the include
file of conifg-win32.h.

AREA/CLASS/EXAMPLE AFFECTED:
The file "config-all.h" doesn't compile. The line

#include "ace/config.h"

Generates the error message:

../ace/config-all.h(19) : fatal error C1083: Cannot open include file:
'ace/config.h': No such file or directory

DOES THE PROBLEM AFFECT:
COMPILATION? yes
LINKING? no
EXECUTION? yes
OTHER (please specify)?

SYNOPSIS:
I have built and installed ACE + TAO and I have used the examples
and they are working fine.
I have created directory of the ACE_ROOT and I'm trying to Build my
workspace, the idl compile fine but when I compile the all project it
gives me the error mentioned above that it cant open the
ace/config-all.h. I have add all the envornmenet variables that
mentioned in the ACE-INSTALL to my system. I dont know what else I need
to do? I would really appreicate it if someone can help me out here.
With all respect, I'm new to this and I need to learn. Thank you all.

Samer S. Issa

Johnny Willemsen

unread,
Jan 26, 2006, 5:46:15 AM1/26/06
to
Hi,

Make sure you set ACE_ROOT to the location of ACE (for example
c:\ace\ace_wrappers) and then restart the IDE, the IDE caches all
environment variables after being started.

Regards,

Johnny Willemsen
Remedy IT
Postbus 101
2650 AC Berkel en Rodenrijs
The Netherlands
www.theaceorb.nl / www.remedy.nl

"Samer S. Issa" <issa....@gmail.com> wrote in message
news:<1138270579.0...@z14g2000cwz.googlegroups.com>...

Samer S. Issa

unread,
Jan 26, 2006, 6:16:10 AM1/26/06
to
Johnny,
Thanks for the fast reply. I have done wha tyou suggested,
but still i got the same error. My idl file comiles fine, but when i
build the whole project with the .cpp files and .h files it gives me
this error.

Than

Bruce Trask

unread,
Jan 26, 2006, 7:36:06 AM1/26/06
to
Hi Samer,

Have you added $ACE_ROOT to your include path?

Regards,
Bruce Trask

"Samer S. Issa" <issa....@gmail.com> wrote in message
news:1138270579.0...@z14g2000cwz.googlegroups.com...

Samer S. Issa

unread,
Jan 26, 2006, 11:01:35 AM1/26/06
to
Bruce,
I have added the $ACE_ROOT to the environment variables, and to the C++
directories in MSVC. My question is do I need to do something special
to have my application in another directory other than ACE_wrappers?
because the examples that come with TAo are working fine but not my
application.

Samer Issa

Douglas C. Schmidt

unread,
Jan 26, 2006, 11:19:56 AM1/26/06
to
Hi Samer,

In this case, I recommend that you start by taking an existing ACE or
TAO project file and use that as the basis for building your
application's project file.

Thanks,

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

Bruce Trask

unread,
Jan 26, 2006, 2:51:19 PM1/26/06
to
Hi Samer,

Only things special needed is to have your include directories correctly
set, your link directories correctly set, link to the correct libraries and
have
the dlls and exe's in your PATH and you should be good to go. The usual
stuff nothing special really

Your error says that config.h is not in $ACE_ROOT/ace directory. Looks like
$ACE_ROOT must be wrong or config.h isn't really there.

Regards,
Bruce

"Samer S. Issa" <issa....@gmail.com> wrote in message

news:1138291295.1...@f14g2000cwb.googlegroups.com...

Samer S. Issa

unread,
Jan 26, 2006, 3:25:40 PM1/26/06
to
Thank you Bruce for your time and thanks everyone else. Well I don't
know what I'm doing wrong. I followed the steps as in ACE-INSTALL and
TAO-INSTALL excatly. I'm sure I missed somethnig or misunderstood
something. I would like to ask you Burce or anyone else if you can
provide me a step-by-step to build and install ACE + TAO in MSVC 7.1 I
would really appreciate it.

Thanks,
Samer Issa
Dubai - UAE

Douglas C. Schmidt

unread,
Jan 26, 2006, 4:15:12 PM1/26/06
to
Hi Samer,

>> Thank you Bruce for your time and thanks everyone else. Well I
>> don't know what I'm doing wrong. I followed the steps as in
>> ACE-INSTALL and TAO-INSTALL excatly. I'm sure I missed somethnig or
>> misunderstood something. I would like to ask you Burce or anyone
>> else if you can provide me a step-by-step to build and install ACE
>> + TAO in MSVC 7.1 I would really appreciate it.

I think you're missing our point - the problem is on your end, i.e.,
*you're* not setting something correctly. Since we're not you, we
can't help anymore, i.e., we've already told you the steps to follow.
Please follow my suggestion and try copying a working ACE+TAO project
file and use it for your application. If you can't get this to work,
I recommend you contact one of the companies listed at

http://www.cs.wustl.edu/~schmidt/commercial-support.html

for commercial support.

Bruce Trask

unread,
Jan 28, 2006, 8:27:49 PM1/28/06
to
Hi Samer,

I looks from your previous posts that you have successfully built ACE and
TAO since you have the examples running.
Is that correct? If that is correct, then can you explain in detail what
you are doing after that point? What project are you trying to get working
and where?
If you could even attach the .dsp to your post that would be great.

Regards,
Bruce

"Samer S. Issa" <issa....@gmail.com> wrote in message

news:1138307140.1...@g44g2000cwa.googlegroups.com...

0 new messages