Code: Select all
sameh@sameh-pc:~/GPUSURF64/gpusurf$ sudo make
g++ -fPIC -o bin/Release/gpusurf obj/Release/src/main.cpp.o -L../libsurf/lib/Release -lsurf -L/usr/local/cuda/lib64 -L/home/sameh/NVIDIA_GPU_Computing_SDK/C/lib -L/home/sameh/NVIDIA_GPU_Computing_SDK/C/common/lib -lcuda -lcudart -lcutil -lcublas -L../libncgl/lib/Release -lncgl -L/usr/lib -lglut -L/usr/lib -lGLEW -L/usr/lib -lCg -lCgGL -L/usr/lib -lGL -lpthread -lMagick++
../libsurf/lib/Release/libsurf.a(surfobject.cpp.o): In function `SurfObject::loadImage(char const*)':
surfobject.cpp:(.text+0x8603): undefined reference to `Magick::Image::write(int, int, unsigned int, unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, MagickCore::StorageType, void*)'
../libncgl/lib/Release/libncgl.a(image.cpp.o): In function `ncglImage::write(unsigned int, unsigned int, Magick::Image*, int, bool)':
image.cpp:(.text+0x9ec): undefined reference to `Magick::Image::read(unsigned int, unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, MagickCore::StorageType, void const*)'
../libncgl/lib/Release/libncgl.a(image.cpp.o): In function `ncglImage::write(unsigned int, unsigned int, Magick::Blob*, int, bool, char*, int)':
image.cpp:(.text+0xc73): undefined reference to `Magick::Image::quality(unsigned int)'
../libncgl/lib/Release/libncgl.a(image.cpp.o): In function `ncglImage::load(Magick::Image*, unsigned int, unsigned int, bool)':
image.cpp:(.text+0xed8): undefined reference to `Magick::Image::write(int, int, unsigned int, unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, MagickCore::StorageType, void*)'
image.cpp:(.text+0xf6e): undefined reference to `Magick::Image::write(int, int, unsigned int, unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, MagickCore::StorageType, void*)'
image.cpp:(.text+0x1008): undefined reference to `Magick::Image::write(int, int, unsigned int, unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, MagickCore::StorageType, void*)'
collect2: ld returned 1 exit status
make: *** [bin/Release/gpusurf] Error 1
GPUSURF64: http://homes.esat.kuleuven.be/~ncorneli/gpusurf/