|
From: | henry chu |
Subject: | [libcvd-members] link error from compiling fast-test-src |
Date: | Tue, 4 Aug 2009 19:44:18 +0900 |
Hello Im trying to compile the fast-test-src
in Visual Studio 2005. However there are a lot of linkage
errors. I have been trying to solve these errors but with no luck. Do you guys maybe know the possible
cause/solution of this error? fast.obj : error
LNK2001: unresolved external symbol ""public: void __thiscall CVD::FITS::writer::write_raw_pixel_line(unsigned
char const *)" (address@hidden@address@hidden@@address@hidden)" fast.obj : error
LNK2001: unresolved external symbol ""public: void __thiscall
CVD::TEXT::writer::write_raw_pixel_line(double const *)"
(address@hidden@address@hidden@@address@hidden)" fast.obj : error
LNK2001: unresolved external symbol ""public: void __thiscall
CVD::FITS::writer::write_raw_pixel_line(class CVD::Rgb<unsigned char>
const *)"
(address@hidden@address@hidden@@address@hidden@3@@Z)" fast.obj : error
LNK2001: unresolved external symbol ""public: __thiscall
CVD::TEXT::writer::~writer(void)" (address@hidden@CVD@@address@hidden)" fast.obj : error
LNK2001: unresolved external symbol ""public: __thiscall
CVD::FITS::writer::~writer(void)" (address@hidden@CVD@@address@hidden)" fast.obj : error
LNK2001: unresolved external symbol ""public: __thiscall
CVD::TEXT::writer::writer(class std::basic_ostream<char,struct
std::char_traits<char> > &,class CVD::ImageRef,class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)" (address@hidden@CVD@@address@hidden@address@hidden@std@@@std@@address@hidden@address@hidden@address@hidden@@address@hidden@2@@4@@Z)" fast.obj : error
LNK2001: unresolved external symbol ""public: __thiscall
CVD::FITS::writer::writer(class std::basic_ostream<char,struct
std::char_traits<char> > &,class CVD::ImageRef,class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)"
(address@hidden@CVD@@address@hidden@address@hidden@std@@@std@@address@hidden@address@hidden@address@hidden@@address@hidden@2@@4@@Z)"
fast.obj : error
LNK2001: unresolved external symbol ""public: class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > __thiscall CVD::TEXT::reader::name(void)"
(address@hidden@address@hidden@@address@hidden@address@hidden@@address@hidden@2@@std@@XZ)"
fast.obj : error
LNK2001: unresolved external symbol ""public: class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > __thiscall CVD::FITS::reader::name(void)"
(address@hidden@address@hidden@@address@hidden@address@hidden@@address@hidden@2@@std@@XZ)"
fast.obj : error
LNK2001: unresolved external symbol ""public: class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > __thiscall CVD::TEXT::reader::datatype(void)"
(address@hidden@address@hidden@@address@hidden@address@hidden@@address@hidden@2@@std@@XZ)"
fast.obj : error
LNK2001: unresolved external symbol ""public: class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > __thiscall
CVD::FITS::reader::datatype(void)"
(address@hidden@address@hidden@@address@hidden@address@hidden@@address@hidden@2@@std@@XZ)"
fast.obj : error
LNK2001: unresolved external symbol ""public: void __thiscall
CVD::TEXT::reader::get_raw_pixel_line(double *)"
(address@hidden@address@hidden@@address@hidden)" fast.obj : error
LNK2001: unresolved external symbol ""public: void __thiscall
CVD::FITS::reader::get_raw_pixel_line(unsigned char *)"
(address@hidden@address@hidden@@address@hidden)" fast.obj : error
LNK2001: unresolved external symbol ""public: class CVD::ImageRef
__thiscall CVD::TEXT::reader::size(void)"
(address@hidden@address@hidden@@address@hidden@XZ)" fast.obj : error
LNK2001: unresolved external symbol ""public: void __thiscall
CVD::FITS::reader::get_raw_pixel_line(short *)" (address@hidden@address@hidden@@address@hidden)"
fast.obj : error
LNK2001: unresolved external symbol ""public: __thiscall
CVD::TEXT::reader::~reader(void)" (address@hidden@CVD@@address@hidden)" fast.obj : error
LNK2001: unresolved external symbol ""public: void __thiscall
CVD::FITS::reader::get_raw_pixel_line(unsigned short *)"
(address@hidden@address@hidden@@address@hidden)" fast.obj : error
LNK2001: unresolved external symbol ""public: __thiscall
CVD::TEXT::reader::reader(class std::basic_istream<char,struct
std::char_traits<char> > &)" (address@hidden@CVD@@address@hidden@address@hidden@std@@@std@@@Z)" fast.obj : error
LNK2001: unresolved external symbol ""public: void __thiscall
CVD::FITS::reader::get_raw_pixel_line(int *)"
(address@hidden@address@hidden@@address@hidden)" fast.obj : error
LNK2001: unresolved external symbol ""public: void __thiscall
CVD::FITS::reader::get_raw_pixel_line(float *)"
(address@hidden@address@hidden@@address@hidden)" fast.obj : error
LNK2001: unresolved external symbol ""public: void __thiscall
CVD::FITS::reader::get_raw_pixel_line(double *)" (address@hidden@address@hidden@@address@hidden)"
fast.obj : error
LNK2001: unresolved external symbol ""public: void __thiscall
CVD::FITS::reader::get_raw_pixel_line(class CVD::Rgb<unsigned char>
*)" (address@hidden@address@hidden@@address@hidden@3@@Z)" fast.obj : error
LNK2001: unresolved external symbol ""public: void __thiscall
CVD::FITS::reader::get_raw_pixel_line(class CVD::Rgb<short> *)"
(address@hidden@address@hidden@@address@hidden@3@@Z)" fast.obj : error
LNK2001: unresolved external symbol ""public: void __thiscall
CVD::FITS::reader::get_raw_pixel_line(class CVD::Rgb<unsigned short>
*)" (address@hidden@address@hidden@@address@hidden@3@@Z)" fast.obj : error
LNK2001: unresolved external symbol ""public: void __thiscall
CVD::FITS::reader::get_raw_pixel_line(class CVD::Rgb<int> *)"
(address@hidden@address@hidden@@address@hidden@3@@Z)" fast.obj : error
LNK2001: unresolved external symbol ""public: void __thiscall
CVD::FITS::reader::get_raw_pixel_line(class CVD::Rgb<float> *)"
(address@hidden@address@hidden@@address@hidden@3@@Z)" fast.obj : error
LNK2001: unresolved external symbol ""public: void __thiscall
CVD::FITS::reader::get_raw_pixel_line(class CVD::Rgb<double> *)"
(address@hidden@address@hidden@@address@hidden@3@@Z)" fast.obj : error
LNK2001: unresolved external symbol ""public: void __thiscall
CVD::FITS::reader::get_raw_pixel_line(class CVD::Rgba<unsigned char>
*)" (address@hidden@address@hidden@@address@hidden@3@@Z)" fast.obj : error
LNK2001: unresolved external symbol ""public: void __thiscall
CVD::FITS::reader::get_raw_pixel_line(class CVD::Rgba<short> *)"
(address@hidden@address@hidden@@address@hidden@3@@Z)" fast.obj : error
LNK2001: unresolved external symbol ""public: void __thiscall
CVD::FITS::reader::get_raw_pixel_line(class CVD::Rgba<unsigned short>
*)" (address@hidden@address@hidden@@address@hidden@3@@Z)" fast.obj : error
LNK2001: unresolved external symbol ""public: void __thiscall
CVD::FITS::reader::get_raw_pixel_line(class CVD::Rgba<int> *)"
(address@hidden@address@hidden@@address@hidden@3@@Z)" fast.obj : error
LNK2001: unresolved external symbol ""public: void __thiscall
CVD::FITS::reader::get_raw_pixel_line(class CVD::Rgba<float> *)"
(address@hidden@address@hidden@@address@hidden@3@@Z)" fast.obj : error
LNK2001: unresolved external symbol ""public: void __thiscall
CVD::FITS::reader::get_raw_pixel_line(class CVD::Rgba<double> *)"
(address@hidden@address@hidden@@address@hidden@3@@Z)" fast.obj : error
LNK2001: unresolved external symbol ""public: class CVD::ImageRef
__thiscall CVD::FITS::reader::size(void)"
(address@hidden@address@hidden@@address@hidden@XZ)" fast.obj : error
LNK2001: unresolved external symbol ""public: __thiscall
CVD::FITS::reader::~reader(void)" (address@hidden@CVD@@address@hidden)" fast.obj : error
LNK2001: unresolved external symbol ""public: __thiscall
CVD::FITS::reader::reader(class std::basic_istream<char,struct
std::char_traits<char> > &)"
(address@hidden@CVD@@address@hidden@address@hidden@std@@@std@@@Z)"
it looked like there are symbols from
CVD class which are not recognized. Im sure that I have included both
libjpeg.lib and libvcd.lib libraries And I made sure i used the same MD runtime
(also tried MDd, MT, MTd) library to compile both the library and the
fast-test-src. But it still produced the same linkage
error. Sorry to take up your time. Any help is
much appreciated. Best regards henry |
[Prev in Thread] | Current Thread | [Next in Thread] |