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
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so   
-- Found GLUT: /usr/lib/x86_64-linux-gnu/libglut.so  
-- Configuring done
-- Generating done
-- Build files have been written to: /out

make: 
Scanning dependencies of target p3_part1
[  5%] Building CXX object CMakeFiles/p3_part1.dir/part1.cpp.o
[ 11%] Building CXX object CMakeFiles/p3_part1.dir/parkinglot.cpp.o
[ 17%] Building CXX object CMakeFiles/p3_part1.dir/vehicles.cpp.o
[ 23%] Linking CXX executable p3_part1
[ 23%] Built target p3_part1
Scanning dependencies of target p3_part2
[ 29%] Building CXX object CMakeFiles/p3_part2.dir/part2.cpp.o
[ 35%] Building CXX object CMakeFiles/p3_part2.dir/arrow.cpp.o
[ 41%] Building CXX object CMakeFiles/p3_part2.dir/car.cpp.o
/in/car.cpp:3:10: fatal error: logic.h: No such file or directory
 #include "logic.h"
          ^~~~~~~~~
compilation terminated.
CMakeFiles/p3_part2.dir/build.make:110: recipe for target 'CMakeFiles/p3_part2.dir/car.cpp.o' failed
make[2]: *** [CMakeFiles/p3_part2.dir/car.cpp.o] Error 1
CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/p3_part2.dir/all' failed
make[1]: *** [CMakeFiles/p3_part2.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-05 09:36:49
Judged At
2018-08-05 09:36:49
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes