I am trying to install Super Tux from source on Linux Mint (Ubuntu based). I get the following error:
In file included from /home/osama/Downloads/Compressed/supertux-0.4.0/build/CMakeFiles/CMakeTmp/src.cxx:2:0:
/usr/include/iconv.h:42:15: error: ambiguates old declaration ‘size_t iconv(iconv_t, char**, size_t*, char**, size_t*)’
extern size_t iconv (iconv_t __cd, char **__restrict __inbuf,
^
make[1]: Leaving directory `/home/osama/Downloads/Compressed/supertux-0.4.0/build/CMakeFiles/CMakeTmp'
make[1]: *** [CMakeFiles/cmTryCompileExec2267656386.dir/src.cxx.o] Error 1
make: *** [cmTryCompileExec2267656386/fast] Error 2
Source file was:
#include <iconv.h>
// this declaration will fail when there already exists a non const char** version which returns size_t
double iconv(iconv_t cd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft);
int main() { return 0; }
The complete CMakeOutput and CMakeError log files are also attached
Thanks