While making 'dxl_monitor" after re-fleshing the Edison (edison-image-ww18-15, as well as updating my kernel to ver 3.10.17-yocto-standard #1 SMP PREEMPT Sat May 23 20:03:39 CEST 2015 i686 GNU/Linux), a 'recipe for target 'main.o' failed' keeps on popping up, any solutions?
Steven
here the screen
root@Robo-Steven:~/HROS1-Framework/Linux/project/dxl_monitor#
root@Robo-Steven:~/HROS1-Framework/Linux/project/dxl_monitor# make
make -C ../../build
make[1]: Entering directory '/home/root/HROS1-Framework/Linux/build'
mkdir -p ../lib/
ar cr ../lib/darwin.a ../../Framework/src/CM730.o ../../Framework/src/math/Matrix.o ../../Framework/src/math/Plane.o ../../Framework/src/math/Point.o ../../Framework/src/math/Vector.o ../../Framework/src/math/QuadraticStateTransform.o ../../Framework/src/math/MotionState.o ../../Framework/src/motion/JointData.o ../../Framework/src/motion/Kinematics.o ../../Framework/src/motion/MotionManager.o ../../Framework/src/motion/MotionStatus.o ../../Framework/src/motion/AngleEstimator.o ../../Framework/src/motion/modules/Action.o ../../Framework/src/motion/modules/Head.o ../../Framework/src/motion/modules/Walking.o ../../Framework/src/vision/BallFollower.o ../../Framework/src/vision/PS3BallFollower.o ../../Framework/src/vision/LineFollower.o ../../Framework/src/vision/RobotFollower.o ../../Framework/src/vision/ConnectRegions.o ../../Framework/src/vision/RadonTransform.o ../../Framework/src/vision/BallTracker.o ../../Framework/src/vision/ColorFinder.o ../../Framework/src/vision/Image.o ../../Framework/src/vision/ImgProcess.o ../../Framework/src/minIni/minIni.o ../../Framework/src/controller/PS3Controller.o ../../Framework/src/commander/SerialInputCommander.o LinuxActionScript.o LinuxCamera.o LinuxCM730.o LinuxMotionTimer.o LinuxNetwork.o
make[1]: Leaving directory '/home/root/HROS1-Framework/Linux/build'
g++ -g -O2 -shared -D_GNU_SOURCE -DLINUX -Wall -I../../include -I../../../Framework/include -c -o cmd_process.o cmd_process.cpp
g++ -g -O2 -shared -D_GNU_SOURCE -DLINUX -Wall -I../../include -I../../../Framework/include -c -o main.o main.cpp
main.cpp:14:12: error: cannot declare variable 'linux_cm730' to be of abstract type 'Robot::LinuxCM730'
LinuxCM730 linuxcm730("/dev/ttyUSB0");
^
In file included from ../../include/LinuxDARwIn.h:13:0,
from main.cpp:5:
../../include/LinuxCM730.h:17:8: note: because the following virtual functions are pure within 'Robot::LinuxCM730':
class LinuxCM730 : public PlatformCM730
^
In file included from ../../../Framework/include/DARwIn.h:11:0,
from ../../include/LinuxDARwIn.h:11,
from main.cpp:5:
../../../Framework/include/CM730.h:39:23: note: virtual bool Robot::PlatformCM730::SetBaud(int)
virtual bool SetBaud(int baud) = 0;
^
main.cpp: In function 'int main()':
main.cpp:48:4: warning: 'char* gets(char)' is deprecated (declared at /usr/include/stdio.h:638) [-Wdeprecated-declarations]
gets(input);
^
main.cpp:48:14: warning: 'char gets(char)' is deprecated (declared at /usr/include/stdio.h:638) [-Wdeprecated-declarations]
gets(input);
^
While making 'dxl_monitor" after re-fleshing the Edison (edison-image-ww18-15, as well as updating my kernel to ver 3.10.17-yocto-standard #1 SMP PREEMPT Sat May 23 20:03:39 CEST 2015 i686 GNU/Linux), a 'recipe for target 'main.o' failed' keeps on popping up, any solutions?
Steven
here the screen
root@Robo-Steven:~/HROS1-Framework/Linux/project/dxl_monitor# root@Robo-Steven:~/HROS1-Framework/Linux/project/dxl_monitor# make
make -C ../../build make[1]: Entering directory '/home/root/HROS1-Framework/Linux/build' mkdir -p ../lib/ ar cr ../lib/darwin.a ../../Framework/src/CM730.o ../../Framework/src/math/Matrix.o ../../Framework/src/math/Plane.o ../../Framework/src/math/Point.o ../../Framework/src/math/Vector.o ../../Framework/src/math/QuadraticStateTransform.o ../../Framework/src/math/MotionState.o ../../Framework/src/motion/JointData.o ../../Framework/src/motion/Kinematics.o ../../Framework/src/motion/MotionManager.o ../../Framework/src/motion/MotionStatus.o ../../Framework/src/motion/AngleEstimator.o ../../Framework/src/motion/modules/Action.o ../../Framework/src/motion/modules/Head.o ../../Framework/src/motion/modules/Walking.o ../../Framework/src/vision/BallFollower.o ../../Framework/src/vision/PS3BallFollower.o ../../Framework/src/vision/LineFollower.o ../../Framework/src/vision/RobotFollower.o ../../Framework/src/vision/ConnectRegions.o ../../Framework/src/vision/RadonTransform.o ../../Framework/src/vision/BallTracker.o ../../Framework/src/vision/ColorFinder.o ../../Framework/src/vision/Image.o ../../Framework/src/vision/ImgProcess.o ../../Framework/src/minIni/minIni.o ../../Framework/src/controller/PS3Controller.o ../../Framework/src/commander/SerialInputCommander.o LinuxActionScript.o LinuxCamera.o LinuxCM730.o LinuxMotionTimer.o LinuxNetwork.o make[1]: Leaving directory '/home/root/HROS1-Framework/Linux/build' g++ -g -O2 -shared -D_GNU_SOURCE -DLINUX -Wall -I../../include -I../../../Framework/include -c -o cmd_process.o cmd_process.cpp g++ -g -O2 -shared -D_GNU_SOURCE -DLINUX -Wall -I../../include -I../../../Framework/include -c -o main.o main.cpp main.cpp:14:12: error: cannot declare variable 'linux_cm730' to be of abstract type 'Robot::LinuxCM730' LinuxCM730 linuxcm730("/dev/ttyUSB0"); ^ In file included from ../../include/LinuxDARwIn.h:13:0, from main.cpp:5: ../../include/LinuxCM730.h:17:8: note: because the following virtual functions are pure within 'Robot::LinuxCM730': class LinuxCM730 : public PlatformCM730 ^ In file included from ../../../Framework/include/DARwIn.h:11:0, from ../../include/LinuxDARwIn.h:11, from main.cpp:5: ../../../Framework/include/CM730.h:39:23: note: virtual bool Robot::PlatformCM730::SetBaud(int) virtual bool SetBaud(int baud) = 0; ^ main.cpp: In function 'int main()': main.cpp:48:4: warning: 'char* gets(char)' is deprecated (declared at /usr/include/stdio.h:638) [-Wdeprecated-declarations] gets(input); ^ main.cpp:48:14: warning: 'char gets(char)' is deprecated (declared at /usr/include/stdio.h:638) [-Wdeprecated-declarations] gets(input); ^