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? Dev c++ opengl build error.
May 16, 2019 DEV C项目,Makefile.win recipe for target 'main.o' failed 我来答 新人答题领红包.
![Dev C++ Recipe For Target Main O Failed Dev C++ Recipe For Target Main O Failed](/uploads/1/2/6/0/126068469/192610755.jpg)
Steven
here the screen
Html Target
![Main Main](/uploads/1/2/6/0/126068469/657783417.png)
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 linux_cm730('/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);
^
: recipe for target 'main.o' failed
make: *_* [main.o] Error 1
root@Robo-Steven:~/HROS1-Framework/Linux/project/dxl_monitor#
root@Robo-Steven:
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 linux_cm730('/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);
^
: recipe for target 'main.o' failed
make: *_* [main.o] Error 1
root@Robo-Steven:~/HROS1-Framework/Linux/project/dxl_monitor#
Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upRecipe For Target World Failed
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community. 3utools change imei.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Download cooking tycoon. Download the latest version of Cooking Tycoon for Android. You're in charge of the kitchen in this virtual restaurant. Cooking Tycoon is a fun cooking game.
Already on GitHub? Sign in to your account
Comments
commented Jul 8, 2017
I'm trying to install Backyard Brains' 'Spike-Recorder'. I have the dependencies installed, but I'm still getting an error. But I'm still having problems~/Spike-Recorder$ make I'm running Ubuntu 16.10 Gnome |
commented Jul 9, 2017 •
The problem seems to be a lot of undefined references You can see the full output here https://hastebin.com/ijevavebob.pas |
closed this Jul 9, 2017
commented Jul 12, 2017
A final version of the working code with an edited OBJECTS list in Makefile is here https://hastebin.com/lahapahule.tex |
Recipe For Target Main O Failed Dev C++
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment