Hi,
I installed 5.5 on Ubuntu 12.04 with a GeForce GTX 670.
After the installation I tried to compile the examples with ‘make’, which works w/o problem till jpegNPP where it stops with an error.
jpegNPP.cpp:689:5: error: cannot convert ‘Npp8u** {aka unsigned char**}’ to ‘NppiEncodeHuffmanSpec**’ for argument ‘10’ to ‘NppStatus nppiEncodeHuffmanScan_JPEG_8u16s_P3R(Npp16s**, Npp32s*, Npp32s, Npp32s, Npp32s, Npp32s, Npp32s, Npp8u*, Npp32s*, NppiEncodeHuffmanSpec**, NppiEncodeHuffmanSpec**, NppiSize*, Npp8u*)’
What could be the source of the error? It looks like a type error in the source code, but that seems unrealistic given
Here the full error message:
make[1]: Entering directory `/home/me/cuda5.5/NVIDIA_CUDA-5.5_Samples/7_CUDALibraries/jpegNPP'
/usr/local/cuda-5.5/bin/nvcc -ccbin g++ -I../../common/inc -I../common/UtilNPP -I../common/FreeImage/include -m64 -o jpegNPP.o -c jpegNPP.cpp
jpegNPP.cpp: In function ‘int main(int, char**)’:
jpegNPP.cpp:568:13: error: cannot convert ‘Npp8u** {aka unsigned char**}’ to ‘NppiDecodeHuffmanSpec**’ for argument ‘10’ to ‘NppStatus nppiDecodeHuffmanScanHost_JPEG_8u16s_P3R(const Npp8u*, Npp32s, Npp32s, Npp32s, Npp32s, Npp32s, Npp32s, Npp16s**, Npp32s*, NppiDecodeHuffmanSpec**, NppiDecodeHuffmanSpec**, NppiSize*)’
jpegNPP.cpp:689:5: error: cannot convert ‘Npp8u** {aka unsigned char**}’ to ‘NppiEncodeHuffmanSpec**’ for argument ‘10’ to ‘NppStatus nppiEncodeHuffmanScan_JPEG_8u16s_P3R(Npp16s**, Npp32s*, Npp32s, Npp32s, Npp32s, Npp32s, Npp32s, Npp8u*, Npp32s*, NppiEncodeHuffmanSpec**, NppiEncodeHuffmanSpec**, NppiSize*, Npp8u*)’
make[1]: *** [jpegNPP.o] Error 1
make[1]: Leaving directory `/home/me/cuda5.5/NVIDIA_CUDA-5.5_Samples/7_CUDALibraries/jpegNPP'
make: *** [7_CUDALibraries/jpegNPP/Makefile.ph_build] Error 2