Record Detail

Compile Error

cmake: 
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.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

make: 
Scanning dependencies of target P3_C__
[ 25%] Building CXX object CMakeFiles/P3_C__.dir/main.cpp.o
/in/main.cpp:2:10: fatal error: windows.h: No such file or directory
 #include <windows.h>
          ^~~~~~~~~~~
compilation terminated.
CMakeFiles/P3_C__.dir/build.make:62: recipe for target 'CMakeFiles/P3_C__.dir/main.cpp.o' failed
make[2]: *** [CMakeFiles/P3_C__.dir/main.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/P3_C__.dir/all' failed
make[1]: *** [CMakeFiles/P3_C__.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

Information

Submit By
Type
Submission
Homework
Project 3
Language
C++
Submit At
2018-08-06 13:25:44
Judged At
2018-08-06 13:25:44
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes