rusmanr / video-tracker

Automatically exported from code.google.com/p/video-tracker
0 stars 0 forks source link

Where is this obj code? #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Im compiling the example with MinGw 32 using msys

I got the compiling stage all right

But then, when i try to link i got errors complaining about the methods
that are supposedly in liblob.a :

>g++ -g`wx-config --cflags`   extractBlob.o parser.o getBackground.o
kalman.o condensation.o execute.o main.o -o videotracker.exe -lcxcore
 -lcv -lhighgui -lcvaux -lml `wx-config --libs` -lblob 

the linker screams:
extractBlob.o: In function
`Z11extractBlob11CBlobResult5coord':C:/msys/1.0/home/ingeniero
invedes/Code/opencv/extractBlob.cpp:35: undefined reference to `CBlob::CBlob()'
:C:/msys/1.0/home/ingeniero invedes/Code/opencv/extractBlob.cpp:39:
undefined reference to `CBlob::~CBlob()'
:C:/msys/1.0/home/ingeniero invedes/Code/opencv/extractBlob.cpp:44:
undefined reference to `CBlobResult::CBlobResult(CBlobResult const&)'
:C:/msys/1.0/home/ingeniero invedes/Code/opencv/extractBlob.cpp:44:
undefined reference to `CBlob::operator=(CBlob const&)'
:C:/msys/1.0/home/ingeniero invedes/Code/opencv/extractBlob.cpp:44:
undefined reference to `CBlob::~CBlob()'
:C:/msys/1.0/home/ingeniero invedes/Code/opencv/extractBlob.cpp:44:
undefined reference to `CBlob::~CBlob()'
:C:/msys/1.0/home/ingeniero invedes/Code/opencv/extractBlob.cpp:44:
undefined reference to `CBlobResult::~CBlobResult()'
:C:/msys/1.0/home/ingeniero invedes/Code/opencv/extractBlob.cpp:44:
undefined reference to `CBlobResult::~CBlobResult()'
:C:/msys/1.0/home/ingeniero invedes/Code/opencv/extractBlob.cpp:49:
undefined reference to `CBlob::~CBlob()'
:C:/msys/1.0/home/ingeniero invedes/Code/opencv/extractBlob.cpp:49:
undefined reference to `CBlob::~CBlob()'
extractBlob.o: In function
`Z16drawInitialBlobsP9_IplImage11CBlobResult':C:/msys/1.0/home/ingeniero
invedes/Code/opencv/extractBlob.cpp:62: undefined reference to
`CBlobResult::GetBlob(int) const'
:C:/msys/1.0/home/ingeniero invedes/Code/opencv/extractBlob.cpp:62:
undefined reference to `CBlobResult::GetBlob(int) const'
:C:/msys/1.0/home/ingeniero invedes/Code/opencv/extractBlob.cpp:62:
undefined reference to `CBlobResult::GetBlob(int) const'
:C:/msys/1.0/home/ingeniero invedes/Code/opencv/extractBlob.cpp:62:
undefined reference to `CBlobResult::GetBlob(int) const'
:C:/msys/1.0/home/ingeniero invedes/Code/opencv/extractBlob.cpp:62:
undefined reference to `CBlob::~CBlob()'
:C:/msys/1.0/home/ingeniero invedes/Code/opencv/extractBlob.cpp:62:
undefined reference to `CBlob::~CBlob()'
:C:/msys/1.0/home/ingeniero invedes/Code/opencv/extractBlob.cpp:62:
undefined reference to `CBlob::~CBlob()'
:C:/msys/1.0/home/ingeniero invedes/Code/opencv/extractBlob.cpp:62:
undefined reference to `CBlob::~CBlob()'
:C:/msys/1.0/home/ingeniero invedes/Code/opencv/extractBlob.cpp:62:
undefined reference to `CBlob::~CBlob()'
extractBlob.o:C:/msys/1.0/home/ingeniero
invedes/Code/opencv/extractBlob.cpp:62: more undefined references to
`CBlob::~CBlob()' follow
extractBlob.o: In function
`Z14getNearestBlob11CBlobResult5coord':C:/msys/1.0/home/ingeniero
invedes/Code/opencv/extractBlob.cpp:71: undefined reference to `CBlob::CBlob()'
:C:/msys/1.0/home/ingeniero invedes/Code/opencv/extractBlob.cpp:79:
undefined reference to `CBlobResult::GetBlob(int) const'

and so on, like there was no a -L. -lblob in the linking command

Maybe this is not a windows libblob.a file but a linux one?

Best regards

Original issue reported on code.google.com by gonzalo....@gmail.com on 13 Nov 2007 at 4:45

GoogleCodeExporter commented 9 years ago
yes, sorry you are right. The libblob.a, as you can see from the ".a" 
extension, is a
linux static library. You must go to OpenCv yahoo groups and checkout the 
library and
then  rebuildd it under win.

Regards,

Original comment by iacopo.m...@gmail.com on 13 Nov 2007 at 6:23