Hi, i tried to build my project but i keep getting this error..it says undefined reference to CBTPointToPointVideoView::NewL(TRect const &)
Does anyone knows why his happens?? Thanks in advance!!!
Hi, i tried to build my project but i keep getting this error..it says undefined reference to CBTPointToPointVideoView::NewL(TRect const &)
Does anyone knows why his happens?? Thanks in advance!!!
It seems to be a link error, do you really have a function NewL(TRect const &) in your specific header file? If you recently did some modifications to your source code may be a abld reallyclean <target> would help you. If still problem persists copy and paste the error code here.
i did include it in my header file for the newl method..abld clean??
This is my set of codes ...anything wrong with this??
CBTPointToPointBitmapView* CBTPointToPointBitmapView::NewL(const TRect& aRect)
{
CBTPointToPointBitmapView* self = CBTPointToPointBitmapView::NewLC(aRect);
CleanupStack::Pop(self);
return self;
}
CBTPointToPointBitmapView* CBTPointToPointBitmapView::NewLC(const TRect& aRect)
{
CBTPointToPointBitmapView* self = new (ELeave) CBTPointToPointBitmapView;
CleanupStack::PushL(self);
self->ConstructL(aRect);
return self;
}
There's nothing wrong with it...but is it in the same project that you're trying to build? Or is it in a separate dll? If the latter, you'll need to export it so that the project using the dll can link to it.
sorry guys...i forgot to add the source file to the mmp file where these methods reside..that is y the error occurs..keep forgetting when i add a new source file....problem is solved when i update the new source file in the mmp file...