Hi all.
I have a Shared Library wise.so. How I can use it in my programm? Do I need to include headers of that library?
I work with Eclipce under Linux. I have set a path to the library using -L and -l. But my function is not visible in the program.
Could you explain me how does Shared Library work?
Regards.
EDIT:
I get the following error:
int main() {
char* path = "/export/home/pdmazubi3/workspace/proj1/src/pic.jpg";
CEDD_Descriptor::CEDD ced; // undefined reference to `CEDD_Descriptor::CEDD::CEDD[in-charge]()'
ced.execute(path);
}
Header:
class CEDD
{
public:
CEDD(double Th0, double Th1, double Th2, double Th3,bool CompactDescriptor);
CEDD();
~CEDD(void);
double T0;
double T1;
double T2;
double T3;
bool Compact;
double* execute(char* path);
private:
int cedd_segnum; //number of segments
int* cedd_partitionSize; //number of pixels in each segment
};