Record Detail

Compile Error

prepare (1/3): 
finished

cmake (2/3): 
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /out/build
finished

make (3/3): 
Scanning dependencies of target Project2
[ 50%] Building CXX object CMakeFiles/Project2.dir/game.cpp.o
c++: error: unrecognized command line option '-02'
CMakeFiles/Project2.dir/build.make:62: recipe for target 'CMakeFiles/Project2.dir/game.cpp.o' failed
make[2]: *** [CMakeFiles/Project2.dir/game.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/Project2.dir/all' failed
make[1]: *** [CMakeFiles/Project2.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

build failed

Information

Submit By
Type
Submission
Homework
Project 2 Compilation Test
Language
CMake
Submit At
2022-08-05 15:26:31
Judged At
2022-08-05 15:26:31
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes