[Insight-users] Help with error C2653: 'UserInterface' : is not a class or namespace name

Luis Ibanez luis.ibanez at kitware.com
Wed May 18 22:36:00 EDT 2005



Hi Linda,



The spartan economy of your message leave us in hopeless
despair for providing you with a detailed answer.




In other words:


        Please be nice with us, and post the actual
        lines of code from which you obtain this
        compilation error.



It is difficult for us to debug code that we cannot see....



We can only guess that you are probably attempting
to use an expression of the form:


             UserInterface::myStaticVariable

or

             UserInterface::myMethod()

or

             UserInterface::myType



without having declared the "UserInterface" type itself.



Chances are that you forgot to #include the header file
where you declared the type or class "UserInterface"




      Regards




        Luis



------------------------
Linda Tran wrote:

> Can anyone please help me with this error?  I am using Visual C++ and 
> UserInterface is a class but it still gives me this error.  Please help
> 
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users





More information about the Insight-users mailing list