【求助】converting to ‘short unsigned int’ from ‘float’出现的错误,请高手指点修改
TMap.h:68: error: extra qualification ‘TMap::’ on member ‘Read’ TMap.cc: In member function ‘short unsigned int* TMap::getCompressedData(float&, float&)’:
TMap.cc:1403: warning: converting to ‘short unsigned int’ from ‘float’
TMap.cc:1419: warning: converting to ‘short unsigned int’ from ‘float’
make[1]: *** [TMap.o] Error 1
make[1]: Leaving directory '~/PointGrid/src'
make: *** [libPPG] Error 2
想在Debian下面安装个软件。
./configure的时候显示成功了。
执行make时出现了上面的错误,我想能不能把提示错误的地方简单修改一下,好让编译能够成功?!用make编译程序时出现了上述错误,应该是'~/PointGrid/src'下的TMap.h和TMap.cc文件里的错误,里面有一行代码“unsigned short* getCompressedData( float& fmax, float& fmin);”,和错误提示很类似。我对编程不太熟悉,请指点下我改怎么修改一下,让程序能够顺利通过编译?!这个问题对于高手来说应该很简单的,多谢了。
另外make: *** [libPPG] Error 2是哪里出了问题啊,不太明白