Hi Paulo,

You need using namespace vigil::applications, which Flow_fetcher is in.
Also fix the problem I previously mentioned, i.e., resolve(ff) and not
resolve(Flow_fetcher)
You also have a stray line "boost::shared_ptr<Flow_fetcher>" in newcomp.cc.

Finally Flow_fetcher is *not* a NOX component, so you cannot resolve
it this way.  You should look at Flow_fetcher_app instead.

Regards
KK

On 7 January 2011 14:00, Paulo César <[email protected]> wrote:
> Thanks.
>
> 2011/1/7 kk yap <[email protected]>
>>
>> Hi Paulo,
>>
>> Can I have your Makefile.am too?
>>
>> Regards
>> KK
>>
>> On 7 January 2011 13:46, Paulo César <[email protected]> wrote:
>> > Hi,
>> > I have already tested it but the error persists.
>> > The error is accused on the header newcomp.hh :
>> > ../../../../../src/nox/netapps/newcomp/newcomp.hh:98: error: ISO C++
>> > forbids
>> > declaration of ‘Flow_fetcher’ with no type
>> > Sorry to bother, thanks for help.
>> > Best regards.
>> >
>> > 2011/1/7 kk yap <[email protected]>
>> >>
>> >> Hi Paulo,
>> >>
>> >> cc-ing back the list for archival.
>> >>
>> >> It should be resolve(ff) and not resolve (Flow_fetcher).  That should
>> >> resolve it.
>> >>
>> >> Regards
>> >> KK
>> >>
>> >> On 7 January 2011 10:38, Paulo César <[email protected]> wrote:
>> >> > Thanks for the help.
>> >> >
>> >> > 2011/1/7 kk yap <[email protected]>
>> >> >>
>> >> >> Hi Paulo,
>> >> >>
>> >> >> Can you send me a tarball of the component?  There is insufficient
>> >> >> information here us to comment.
>> >> >>
>> >> >> Regards
>> >> >> KK
>> >> >>
>> >> >> On 7 January 2011 09:57, Paulo César <[email protected]> wrote:
>> >> >> > Yes, I already have included the flow fetcher's header. I am
>> >> >> > declaring
>> >> >> > the
>> >> >> > flow fetcher in the header of my component this way:
>> >> >> >   private:
>> >> >> >   Flow_fetcher *ff;
>> >> >> > I did this based on how routing.cc utilizes the Topology class and
>> >> >> > in
>> >> >> > the
>> >> >> > tutorial available
>> >> >> > in http://noxrepo.org/noxwiki/index.php/Developing_in_NOX.
>> >> >> > Any suggestions?
>> >> >> > Thansk for the reply.
>> >> >> >
>> >> >> > 2011/1/7 kk yap <[email protected]>
>> >> >> >>
>> >> >> >> Hi Paulo,
>> >> >> >>
>> >> >> >> You have not include the flow fetcher's header?  Sorry for the
>> >> >> >> wild
>> >> >> >> guess, but from what you provided this seems like something about
>> >> >> >> header inclusion.
>> >> >> >>
>> >> >> >> Regards
>> >> >> >> KK
>> >> >> >>
>> >> >> >> On 7 January 2011 06:36, Paulo César <[email protected]> wrote:
>> >> >> >> > Hi,
>> >> >> >> > I was trying to use the method fetch() from flow_fetcher.cc.
>> >> >> >> > I included the header flow_fetcher.hh in my component and added
>> >> >> >> > flow
>> >> >> >> > fetcher
>> >> >> >> > as a dependency in the meta.json file,
>> >> >> >> > but an error occurs on compilation:
>> >> >> >> > ../../../../../src/nox/netapps/newcomp/newcomp.hh:98: error:
>> >> >> >> > ISO
>> >> >> >> > C++
>> >> >> >> > forbids
>> >> >> >> > declaration of ‘Flow_fetcher’ with no type
>> >> >> >> > Any suggestions to solve this? Am I missing something?
>> >> >> >> > Best regards.
>> >> >> >> > --
>> >> >> >> > "Life is not fair; get used to it."
>> >> >> >> > Bill Gates
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > _______________________________________________
>> >> >> >> > nox-dev mailing list
>> >> >> >> > [email protected]
>> >> >> >> > http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>> >> >> >> >
>> >> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > --
>> >> >> > "Life is not fair; get used to it."
>> >> >> > Bill Gates
>> >> >> >
>> >> >> >
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > "Life is not fair; get used to it."
>> >> > Bill Gates
>> >> >
>> >> >
>> >
>> >
>> >
>> > --
>> > "Life is not fair; get used to it."
>> > Bill Gates
>> >
>> >
>
>
>
> --
> "Life is not fair; get used to it."
> Bill Gates
>
>

_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Reply via email to