[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: missing file: XmlBlasterConnection.h



> Did you run the IDL compiler? xmlBlaster.h is
> generated as a stub from xmlblaster.idl - see
> client.cc

Yes, I ran the idl compiler.
It generated xmlBlaster.h (used in testsuite/c++/client.cc)

However there is still no file client/XmlBlasterConnection.h
(used in testsuite/c++/RamTest.cc, TestGet.cc, TestLogin.cc, TestSub.cc)


In fact these files are the only ones that refer to XmlBlasterConnection.h:
$ find ~/xmlBlaster -type f -exec fgrep -l XmlBlasterConnection.h {} \;
./testsuite/c++/RamTest.cc
./testsuite/c++/TestGet.cc
./testsuite/c++/TestLogin.cc
./testsuite/c++/TestSub.cc

As an experiment I tried replacing
	#include <client/XmlBlasterConnection.h>
with
	#include <generated/xmlBlaster.h>
...but compile errors resulted (becuase XmlBlasterConnection is undefined):

ddd at moria 1090 ~/xmlBlaster/testsuite/c++ $ make
gcc -I/home/ddd/xmlBlaster/src/c++/generated -I/tools/include -DMICO -I/tool
s/pkg/xerces-c-1.4.0/include -I/home/ddd/xmlBlaster/src/c++ -c TestGet.cc
TestGet.cc:34: syntax error before `*'
TestGet.cc: In method `TestGet::TestGet (const string &, const string
&)':
TestGet.cc:56: `corbaConnection_' undeclared (first use this function)
TestGet.cc:56: (Each undeclared identifier is reported only once for
each function it appears in.)
TestGet.cc: In method `void TestGet::setUp (int, char **)':
TestGet.cc:73: parse error before `('
TestGet.cc:84: `to_string' undeclared (first use this function)
make: *** [TestGet.o] Error 1


All the best,
DouglasDD
--
  we want to stop reading magazines,
  stop watching tv,
  stop caring about hollywood,
  but we are addicted to things we hate.
    - Dogma, KMFDM


-----Original Message-----
From: owner-xmlblaster at xmlBlaster.org
[mailto:owner-xmlblaster at xmlBlaster.org]On Behalf Of Dirk Hamstra
Sent: Friday, June 15, 2001 1:48 PM
To: xmlblaster at xmlBlaster.org
Subject: RE: missing file: XmlBlasterConnection.h


Did you run the IDL compiler? xmlBlaster.h is
generated as a stub from xmlblaster.idl - see
client.cc

-Dirk
--- Douglas Dickinson <ddd at taralnetworks.com> wrote:
> > It compiles fine at my place,
> > no XmlBlasterConnection.h is around or mentioned
>
> At the top of
> $XMLBLASTER_HOME/testsuite/c++/TestLogin.cc:
> 	#include <string>
> 	#include <util/Log.h>
> 	#include <client/XmlBlasterConnection.h>
> 	#include <client/LoginQosWrapper.h>
>
> `make test` can't possibly succeed, when run in the
> above directory.
>
> All the best,
> DouglasDD
> --
>   we want to stop reading magazines,
>   stop watching tv,
>   stop caring about hollywood,
>   but we are addicted to things we hate.
>     - Dogma, KMFDM
>
>
> -----Original Message-----
> From: owner-xmlblaster at xmlBlaster.org
> [mailto:owner-xmlblaster at xmlBlaster.org]On Behalf Of
> Marcel Ruff
> Sent: Thursday, June 14, 2001 4:12 PM
> To: xmlblaster at xmlBlaster.org
> Cc: Douglas Dickinson
> Subject: Re: missing file: XmlBlasterConnection.h
>
>
> Douglas Dickinson wrote:
> >
> > There seems to be a header file missing from the
> xmlBlaster distribution
> > (XmlBlasterConnection.h).
> >
> >         ddd at moria 791 ~/xmlBlaster/testsuite/c++ $
> make test
> >
>         gcc -I/home/ddd/xmlBlaster/src/c++/generated
> -I/tools/include -DMICO
> > -I/tools/pkg/xerces-c-1.4.0/include
> -I/home/ddd/xmlBlaster/src/c++ -c
> > TestGet.cc
> >         TestGet.cc:12:41:
> client/XmlBlasterConnection.h: No such file or
> > directory
> >         make: *** [TestGet.o] Error 1
> >
> > Looking for the file finds nothing:
> >         ddd at moria 792 ~/xmlBlaster/testsuite/c++ $
> find
>  ~/xmlBlaster -name
> > XmlBlasterConnection.h
> >         ddd at moria 793 ~/xmlBlaster/testsuite/c++ $
> >
> > Similary when I check a freshly downloaded copy:
> >         ddd at moria 886 /tools/archive $ tar -tzf
> xmlBlaster_REL_0_7_9b.tgz
> |
> > fgrep XmlBlasterConnection.h
> >         ddd at moria 887 /tools/archive $
> >
> > I even got the code from CVS, and it did not
> contain the file
> > XmlBlasterConnection.h
> > I'm confused!
>
> It compiles fine at my place,
> no XmlBlasterConnection.h is around or mentioned
> ...
> I'm confused as well, possibly Michele (our C++
> guru)
> can shed some light on this ...
>
> Marcel
>
>
> >
> > Here is the setup that I use:
> >         export USE_CPP=true
> >         export XMLCPP_HOME=${XERCESCROOT}
> >         export XMLCPP_VER="1_4_0"
> >         export CORBA_CPP="mico"
> >         export MICO_HOME=/tools
> >         export MICO_VER="2.3.5"
> >         export
> XMLBLASTER_HOME=/home/ddd/xmlBlaster
> >         source $XMLBLASTER_HOME/.bashrc
> >
> > Any help appreciated,
> > DouglasDD
> > --
> >   Douglas D. Dickinson  =^..^=
> ddd at taralnetworks.com
> >
> >
>
------------------------------------------------------------------------
> >                   Name: winmail.dat
> >    winmail.dat    Type: application/ms-tnef
> >               Encoding: base64
>
> --
> Marcel Ruff
> mailto:ruff at swand.lake.de
> http://www.lake.de/home/lake/swand/
> http://www.xmlBlaster.org
>


=====

Regards,

Dirk

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year!  http://personal.mail.yahoo.com/