[Click] Compiling new elements

Bart Braem bart.braem at ua.ac.be
Mon Nov 15 09:04:14 EST 2004


Op maandag 15 november 2004 08:43, schreef u:
> But, when I
> want to instantiate an object of TestClass inside
> newelement.cc (by including testclass.hh in
>
> newlement.hh(and hence in newelement.cc)), it says:
> >> newelement.cc:error:`TestClass' undeclared
>
> Could u please throw some light on this?

This seems like a C++ error. My guess: the INCLUDE statements at the beginning 
of your testclass.hh are the same as in newelement.hh...

Bart


More information about the click mailing list