Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~/windows/sfml/build $ cmake -DCMAKE_C_COMPILER=x86_64-w64-mingw32-gcc-posix -DCMAKE_CXX_COMPILER=x86_64-w64-mingw32-g++-posix ..
- -- The C compiler identification is GNU 10.0.0
- -- The CXX compiler identification is GNU 10.0.0
- -- Check for working C compiler: /usr/bin/x86_64-w64-mingw32-gcc-posix
- -- Check for working C compiler: /usr/bin/x86_64-w64-mingw32-gcc-posix -- broken
- CMake Error at /usr/share/cmake-3.16/Modules/CMakeTestCCompiler.cmake:60 (message):
- The C compiler
- "/usr/bin/x86_64-w64-mingw32-gcc-posix"
- is not able to compile a simple test program.
- It fails with the following output:
- Change Dir: /home/grzesiek11/windows/sfml/build/CMakeFiles/CMakeTmp
- Run Build Command(s):/usr/bin/gmake cmTC_788c5/fast && /usr/bin/gmake -f CMakeFiles/cmTC_788c5.dir/build.make CMakeFiles/cmTC_788c5.dir/build
- gmake[1]: Wejście do katalogu '/home/grzesiek11/windows/sfml/build/CMakeFiles/CMakeTmp'
- Building C object CMakeFiles/cmTC_788c5.dir/testCCompiler.c.o
- /usr/bin/x86_64-w64-mingw32-gcc-posix -o CMakeFiles/cmTC_788c5.dir/testCCompiler.c.o -c /home/grzesiek11/windows/sfml/build/CMakeFiles/CMakeTmp/testCCompiler.c
- Linking C executable cmTC_788c5
- /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_788c5.dir/link.txt --verbose=1
- /usr/bin/x86_64-w64-mingw32-gcc-posix -rdynamic CMakeFiles/cmTC_788c5.dir/testCCompiler.c.o -o cmTC_788c5
- x86_64-w64-mingw32-gcc-posix: error: unrecognized command-line option ‘-rdynamic’
- gmake[1]: *** [CMakeFiles/cmTC_788c5.dir/build.make:87: cmTC_788c5] Błąd 1
- gmake[1]: Opuszczenie katalogu '/home/grzesiek11/windows/sfml/build/CMakeFiles/CMakeTmp'
- gmake: *** [Makefile:121: cmTC_788c5/fast] Błąd 2
- CMake will not be able to correctly generate this project.
- Call Stack (most recent call first):
- CMakeLists.txt:45 (project)
- -- Configuring incomplete, errors occurred!
- See also "/home/grzesiek11/windows/sfml/build/CMakeFiles/CMakeOutput.log".
- See also "/home/grzesiek11/windows/sfml/build/CMakeFiles/CMakeError.log".
- ~/windows/sfml/build $
Advertisement
Add Comment
Please, Sign In to add comment