mohamedlabidi
April 26th, 2009, 03:24 PM
Hi,
I'm new developper with c++ under Linux with Eclipse,
my program use FreeImagePlus library to read images.
Although I write include "FreeImagePlus" , I still have many errors :
g++ -o exe lets_ocr.cpp
/tmp/ccS3vADI.o: In function `main':
lets_ocr.cpp: (.text+0x484): undefined reference to `fipImage::fipImage(FREE_IMAGE_TYPE, unsigned short, unsigned short, unsigned short)'
lets_ocr.cpp: (.text+0x4a4): undefined reference to `fipImage::load(char const*, int)'
lets_ocr.cpp: (.text+0x4f8 ) : undefined reference to `fipImage::getBitsPerPixel() const'
lets_ocr.cpp: (.text+0x545): undefined reference to `fipImage::getHeight() const'
lets_ocr.cpp: (.text+0x55c): undefined reference to `fipImage::getWidth() const'
lets_ocr.cpp: (.text+0x5df): undefined reference to `fipImage::getScanWidth() const'
lets_ocr.cpp: (.text+0x62c): undefined reference to `fipImage::getScanWidth() const'
lets_ocr.cpp: (.text+0x643): undefined reference to `fipImage::getHeight() const'
lets_ocr.cpp: (.text+0x65a): undefined reference to `fipImage::accessPixels() const'
lets_ocr.cpp: (.text+0x9d9): undefined reference to `fipImage::getBitsPerPixel() const'
lets_ocr.cpp: (.text+0xa5d): undefined reference to `fipImage::getBitsPerPixel() const'
lets_ocr.cpp: (.text+0xcf9): undefined reference to `fipImage::~fipImage()'
lets_ocr.cpp: (.text+0xd15): undefined reference to `fipImage::~fipImage()'
:confused:
Can some one help me please.
thank you in advance.
I'm new developper with c++ under Linux with Eclipse,
my program use FreeImagePlus library to read images.
Although I write include "FreeImagePlus" , I still have many errors :
g++ -o exe lets_ocr.cpp
/tmp/ccS3vADI.o: In function `main':
lets_ocr.cpp: (.text+0x484): undefined reference to `fipImage::fipImage(FREE_IMAGE_TYPE, unsigned short, unsigned short, unsigned short)'
lets_ocr.cpp: (.text+0x4a4): undefined reference to `fipImage::load(char const*, int)'
lets_ocr.cpp: (.text+0x4f8 ) : undefined reference to `fipImage::getBitsPerPixel() const'
lets_ocr.cpp: (.text+0x545): undefined reference to `fipImage::getHeight() const'
lets_ocr.cpp: (.text+0x55c): undefined reference to `fipImage::getWidth() const'
lets_ocr.cpp: (.text+0x5df): undefined reference to `fipImage::getScanWidth() const'
lets_ocr.cpp: (.text+0x62c): undefined reference to `fipImage::getScanWidth() const'
lets_ocr.cpp: (.text+0x643): undefined reference to `fipImage::getHeight() const'
lets_ocr.cpp: (.text+0x65a): undefined reference to `fipImage::accessPixels() const'
lets_ocr.cpp: (.text+0x9d9): undefined reference to `fipImage::getBitsPerPixel() const'
lets_ocr.cpp: (.text+0xa5d): undefined reference to `fipImage::getBitsPerPixel() const'
lets_ocr.cpp: (.text+0xcf9): undefined reference to `fipImage::~fipImage()'
lets_ocr.cpp: (.text+0xd15): undefined reference to `fipImage::~fipImage()'
:confused:
Can some one help me please.
thank you in advance.