compiler identification is AppleClang 11.0.0.11000033 -- The CXX compiler identification is AppleClang 11.0.0.11000033 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done Using CppUTest found in /usr/local/Cellar/cpputest/4.0 -- Configuring done -- Generating done -- Build files have been written to: /Users/k-abe/evkart/evkart_tdd/build $ ls CMakeCache.txt Makefile cmake_install.cmake src CMakeFiles bin lib tests TDDͬͯΈΔ 24 Makefile͕ग़དྷͨ
[ 50%] Built target HallSensorLedDriver Consolidate compiler generated dependencies of target tdd_test [ 62%] Building CXX object tests/CMakeFiles/tdd_test.dir/HallSensorLedDriver/HallSensorLedDriverTest.cpp.o /Users/k-abe/evkart/evkart_tdd/tests/HallSensorLedDriver/HallSensorLedDriverTest.cpp:34:3: error: use of undeclared identifier 'HallSensorLedDriver_TurnOn'; did you mean 'HallSensorLedDriver_Create'? HallSensorLedDriver_TurnOn(0x04); ^~~~~~~~~~~~~~~~~~~~~~~~~~ HallSensorLedDriver_Create /Users/k-abe/evkart/evkart_tdd/include/HallSensorLedDriver/HallSensorLedDriver.h:10:6: note: 'HallSensorLedDriver_Create' declared here void HallSensorLedDriver_Create(unsigned char* address); ^ /Users/k-abe/evkart/evkart_tdd/tests/HallSensorLedDriver/HallSensorLedDriverTest.cpp:34:30: error: cannot initialize a parameter of type 'unsigned char *' with an rvalue of type 'int' HallSensorLedDriver_TurnOn(0x04); ^~~~ /Users/k-abe/evkart/evkart_tdd/include/HallSensorLedDriver/HallSensorLedDriver.h:10:48: note: passing argument to parameter 'address' here void HallSensorLedDriver_Create(unsigned char* address); ^ 2 errors generated. make[2]: *** [tests/CMakeFiles/tdd_test.dir/HallSensorLedDriver/HallSensorLedDriverTest.cpp.o] Error 1 make[1]: *** [tests/CMakeFiles/tdd_test.dir/all] Error 2 make: *** [all] Error 2 TDDͬͯΈΔ 44