Number of classes in a project
Phil
phil at spiderweb.com.au
Fri Feb 15 10:53:22 GMT 2002
Hello All,
I have developed a project that consists of 5 classes which works as it
should. If I add an extra class then I end up with a very strange error.
This is a clip from the class that causes the error message:
#include "rotate.h"
Rotate rotate;
rotate.setAngle();
This file compiles without any errors but I get the following error when I
attempt to run the application:
/home/phil/pesc/pesc/pesc.cpp:159: undefined reference to
`Rotate::Rotate(void)'
/home/phil/pesc/pesc/pesc.cpp:159: undefined reference to
`Rotate::~Rotate(void)'
This error only occurs when a project has more than 5 classes and the rotate
class works correctly in a two-class project. Is there a limit to the number
of classes that a project can have?
I'm using Kdevelop 2.0.1 and KDE 2.2.1.
Any suggestions would be most appreciated.
--
Regards,
Phil
phil at spiderweb.com.au
-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
More information about the KDevelop
mailing list