I compiled this before, but i have reinstalled Linux in another machine and I don't know how to do it now
Code: Select all
/tmp/ccV6Zmlj.o: In function `main':
ppmunwarp.cc:(.text+0x21): undefined reference to `Handler(int, char**, Parameter&)'
/tmp/ccV6Zmlj.o: In function `ParameterUnwarp::Define()':
ppmunwarp.cc:(.text+0x57): undefined reference to `Parameter::AddFlag(char const*, int&, char const*, char const*)'
ppmunwarp.cc:(.text+0x84): undefined reference to `Parameter::AddString(char const*, char const*&, char const*, char const*, char const*)'
ppmunwarp.cc:(.text+0xb1): undefined reference to `Parameter::AddString(char const*, char const*&, char const*, char const*, char const*)'
ppmunwarp.cc:(.text+0xde): undefined reference to `Parameter::AddString(char const*, char const*&, char const*, char const*, char const*)'
ppmunwarp.cc:(.text+0x10b): undefined reference to `Parameter::AddString(char const*, char const*&, char const*, char const*, char const*)'
ppmunwarp.cc:(.text+0x138): undefined reference to `Parameter::AddString(char const*, char const*&, char const*, char const*, char const*)'
/tmp/ccV6Zmlj.o:ppmunwarp.cc:(.text+0x165): more undefined references to `Parameter::AddString(char const*, char const*&, char const*, char const*, char const*)' follow
/tmp/ccV6Zmlj.o: In function `ParameterUnwarp::Define()':
ppmunwarp.cc:(.text+0x1ab): undefined reference to `Parameter::AddInt(char const*, int&, int, int, int, int, char const*, char const*)'
ppmunwarp.cc:(.text+0x1f1): undefined reference to `Parameter::AddInt(char const*, int&, int, int, int, int, char const*, char const*)'
ppmunwarp.cc:(.text+0x251): undefined reference to `Parameter::AddDouble(char const*, double&, double, double, double, char const*, char const*)'
ppmunwarp.cc:(.text+0x2d0): undefined reference to `Parameter::AddDouble(char const*, double&, double, double, double, char const*, char const*)'
ppmunwarp.cc:(.text+0x316): undefined reference to `Parameter::AddInt(char const*, int&, int, int, int, int, char const*, char const*)'
ppmunwarp.cc:(.text+0x35c): undefined reference to `Parameter::AddInt(char const*, int&, int, int, int, int, char const*, char const*)'
ppmunwarp.cc:(.text+0x3a2): undefined reference to `Parameter::AddInt(char const*, int&, int, int, int, int, char const*, char const*)'
ppmunwarp.cc:(.text+0x3e8): undefined reference to `Parameter::AddInt(char const*, int&, int, int, int, int, char const*, char const*)'
ppmunwarp.cc:(.text+0x42e): undefined reference to `Parameter::AddInt(char const*, int&, int, int, int, int, char const*, char const*)'
ppmunwarp.cc:(.text+0x43f): undefined reference to `Parameter::ExtraUsage(char const*)'
/tmp/ccV6Zmlj.o: In function `ParameterUnwarp::Check()':
ppmunwarp.cc:(.text+0x4f8): undefined reference to `Parameter::Usage(int)'
ppmunwarp.cc:(.text+0x529): undefined reference to `Parameter::Usage(int)'
ppmunwarp.cc:(.text+0x639): undefined reference to `Parameter::Usage(int)'
/tmp/ccV6Zmlj.o: In function `Grid::Read(char const*, _IO_FILE*)':
ppmunwarp.cc:(.text+0xa6c): undefined reference to `Error(char const*, ...)'
ppmunwarp.cc:(.text+0xcc6): undefined reference to `Error(char const*, ...)'
/tmp/ccV6Zmlj.o: In function `Grid::Write(char const*, _IO_FILE*)':
ppmunwarp.cc:(.text+0xd2f): undefined reference to `Error(char const*, ...)'
/tmp/ccV6Zmlj.o: In function `Mesh::FindIndices()':
ppmunwarp.cc:(.text+0x3e7a): undefined reference to `Print(char const*, ...)'
/tmp/ccV6Zmlj.o: In function `Picture::FilterRedPoints()':
ppmunwarp.cc:(.text+0x4332): undefined reference to `Print(char const*, ...)'
/tmp/ccV6Zmlj.o: In function `Picture::Calibrate(Grid&)':
ppmunwarp.cc:(.text+0x53b0): undefined reference to `Print(char const*, ...)'
/tmp/ccV6Zmlj.o: In function `Deformation::Reset(long, long)':
ppmunwarp.cc:(.text+0x544c): undefined reference to `Error(char const*, ...)'
/tmp/ccV6Zmlj.o: In function `Deformation::Read(char const*, _IO_FILE*)':
ppmunwarp.cc:(.text+0x57cc): undefined reference to `Error(char const*, ...)'
/tmp/ccV6Zmlj.o: In function `Deformation::Write(char const*, _IO_FILE*)':
ppmunwarp.cc:(.text+0x595f): undefined reference to `Error(char const*, ...)'
/tmp/ccV6Zmlj.o: In function `Deformation::SetFlattenedPictureSize(Grid&)':
ppmunwarp.cc:(.text+0x5ccd): undefined reference to `Print(char const*, ...)'
/tmp/ccV6Zmlj.o: In function `Deformation::Calculate(Grid&, int, int, double, double)':
ppmunwarp.cc:(.text+0x66d0): undefined reference to `Print(char const*, ...)'
ppmunwarp.cc:(.text+0x671f): undefined reference to `Print(char const*, ...)'
/tmp/ccV6Zmlj.o: In function `Deformation::Flatten(Picture&, Picture&)':
ppmunwarp.cc:(.text+0x69ac): undefined reference to `Image::Reset(long, long, long)'
ppmunwarp.cc:(.text+0x6a50): undefined reference to `Interpolation1::Set(double)'
ppmunwarp.cc:(.text+0x6a80): undefined reference to `Interpolation1::Set(double)'
ppmunwarp.cc:(.text+0x6a9d): undefined reference to `Interpolation2<int>::operator()(int*)'
ppmunwarp.cc:(.text+0x6aff): undefined reference to `Interpolation1::Set(double)'
ppmunwarp.cc:(.text+0x6b20): undefined reference to `Interpolation2<int>::operator()(int*)'
ppmunwarp.cc:(.text+0x6b86): undefined reference to `Interpolation1::Set(double)'
ppmunwarp.cc:(.text+0x6bbd): undefined reference to `Interpolation2<unsigned short>::operator()(unsigned short*)'
/tmp/ccV6Zmlj.o: In function `Main()':
ppmunwarp.cc:(.text+0x6d2d): undefined reference to `Image::Read(char const*, _IO_FILE*)'
ppmunwarp.cc:(.text+0x6d4a): undefined reference to `Image::Read(char const*, _IO_FILE*)'
ppmunwarp.cc:(.text+0x6f88): undefined reference to `Image::Read(char const*, _IO_FILE*)'
ppmunwarp.cc:(.text+0x6fa5): undefined reference to `Image::Read(char const*, _IO_FILE*)'
/tmp/ccV6Zmlj.o: In function `Image::Image()':
ppmunwarp.cc:(.text._ZN5ImageC2Ev[_ZN5ImageC5Ev]+0x2f): undefined reference to `Image::Reset(long, long, long)'
/tmp/ccV6Zmlj.o: In function `Image::~Image()':
ppmunwarp.cc:(.text._ZN5ImageD2Ev[_ZN5ImageD5Ev]+0x23): undefined reference to `Image::Reset(long, long, long)'
/tmp/ccV6Zmlj.o: In function `Picture::Write(char const*, _IO_FILE*)':
ppmunwarp.cc:(.text._ZN7Picture5WriteEPKcP8_IO_FILE[_ZN7Picture5WriteEPKcP8_IO_FILE]+0x2b): undefined reference to `Image::Write(char const*, _IO_FILE*, char const*)'
collect2: error: ld returned 1 exit status