2
« on: February 22, 2013, 01:38:14 pm »
Hello,
So, I've been trying to compile sfml2 (woo camelCase!), and I configure and generate with CMake. However, when I try and comple the .cbp file, It gives me this:
-------------- Build: all in SFML (compiler: GNU GCC Compiler)---------------
Running command: c:/MinGW/bin/mingw32-make.exe -f "C:/Users/James/Code/sfml2/binary/Makefile" VERBOSE=1 all
"C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -HC:\Users\James\Code\sfml2 -BC:\Users\James\Code\sfml2\binary --check-build-system CMakeFiles\Makefile.cmake 0
"C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -E cmake_progress_start C:\Users\James\Code\sfml2\binary\CMakeFiles C:\Users\James\Code\sfml2\binary\CMakeFiles\progress.marks
c:/MinGW/bin/mingw32-make.exe -f CMakeFiles\Makefile2 all
mingw32-make.exe[1]: Entering directory 'C:/Users/James/Code/sfml2/binary'
c:/MinGW/bin/mingw32-make.exe -f src\SFML\System\CMakeFiles\sfml-system.dir\build.make src/SFML/System/CMakeFiles/sfml-system.dir/depend
mingw32-make.exe[2]: Entering directory 'C:/Users/James/Code/sfml2/binary'
"C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -E cmake_depends "MinGW Makefiles" C:\Users\James\Code\sfml2 C:\Users\James\Code\sfml2\src\SFML\System C:\Users\James\Code\sfml2\binary C:\Users\James\Code\sfml2\binary\src\SFML\System C:\Users\James\Code\sfml2\binary\src\SFML\System\CMakeFiles\sfml-system.dir\DependInfo.cmake --color=
mingw32-make.exe[2]: Leaving directory 'C:/Users/James/Code/sfml2/binary'
c:/MinGW/bin/mingw32-make.exe -f src\SFML\System\CMakeFiles\sfml-system.dir\build.make src/SFML/System/CMakeFiles/sfml-system.dir/build
mingw32-make.exe[2]: Entering directory 'C:/Users/James/Code/sfml2/binary'
"C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -E cmake_progress_report C:\Users\James\Code\sfml2\binary\CMakeFiles 53
[ 1%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Err.cpp.obj
cd /d C:\Users\James\Code\sfml2\binary\src\SFML\System && c:\MinGW\bin\g++.exe -DSFML_SYSTEM_EXPORTS -O3 -DNDEBUG @CMakeFiles/sfml-system.dir/includes_CXX.rsp -o CMakeFiles\sfml-system.dir\Err.cpp.obj -c C:\Users\James\Code\sfml2\src\SFML\System\Err.cpp
In file included from C:\Users\James\Code\sfml2\src\SFML\System\Err.cpp:30:0:
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:98:11: error: '::fpos_t' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:100:11: error: '::clearerr' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:101:11: error: '::fclose' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:102:11: error: '::feof' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:103:11: error: '::ferror' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:104:11: error: '::fflush' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:105:11: error: '::fgetc' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:106:11: error: '::fgetpos' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:107:11: error: '::fgets' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:108:11: error: '::fopen' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:109:11: error: '::fprintf' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:110:11: error: '::fputc' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:111:11: error: '::fputs' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:112:11: error: '::fread' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:113:11: error: '::freopen' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:114:11: error: '::fscanf' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:115:11: error: '::fseek' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:116:11: error: '::fsetpos' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:117:11: error: '::ftell' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:118:11: error: '::fwrite' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:119:11: error: '::getc' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:120:11: error: '::getchar' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:121:11: error: '::gets' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:122:11: error: '::perror' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:123:11: error: '::printf' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:124:11: error: '::putc' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:125:11: error: '::putchar' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:126:11: error: '::puts' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:127:11: error: '::remove' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:128:11: error: '::rename' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:129:11: error: '::rewind' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:130:11: error: '::scanf' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:131:11: error: '::setbuf' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:132:11: error: '::setvbuf' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:133:11: error: '::sprintf' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:134:11: error: '::sscanf' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:135:11: error: '::tmpfile' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:136:11: error: '::tmpnam' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:137:11: error: '::ungetc' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:138:11: error: '::vfprintf' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:139:11: error: '::vprintf' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:140:11: error: '::vsprintf' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:169:11: error: '::snprintf' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:170:11: error: '::vfscanf' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:171:11: error: '::vscanf' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:172:11: error: '::vsnprintf' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:173:11: error: '::vsscanf' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:179:22: error: '__gnu_cxx::snprintf' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:180:22: error: '__gnu_cxx::vfscanf' has not been declared
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/cstdio:181:22: error: '__gnu_cxx::vscanf' has not been declared
Process terminated with status 2 (0 minutes, 1 seconds)
Please help, as I can't use 1.6 in the meantime.
Any help appreciated,
James