Ask Your Question

Kenzo warbayasa's profile - activity

2017-02-10 11:25:19 -0600 commented question How to link Library opencv with other our custom libraries??

already edited... Please help :(((

2017-02-10 11:06:06 -0600 received badge  Editor (source)
2017-02-10 11:05:47 -0600 asked a question How to link Library opencv with other our custom libraries??

I have a problem with linking and calling my custom library to opencv library, anyone can help me pleasee?

This my linking code :

$(TARGET): custom.a $(OBJECTS)
   g++ -o main main.o  `pkg-config  --cflags opencv` ../../../lib/custom.a -o `pkg-config --libs opencv`
   chmod 755 $(TARGET)

This error :

make

make -C ../../build make[1]: Entering directory /home/onta/Untitled Folder/DARwIn-OP_ROBOTIS_v1.5.0/Linux/build' 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/motion/JointData.o ../../Framework/src/motion/Kinematics.o ../../Framework/src/motion/MotionManager.o ../../Framework/src/motion/MotionStatus.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/BallTracker.o ../../Framework/src/vision/ColorFinder.o ../../Framework/src/vision/Image.o ../../Framework/src/vision/ImgProcess.o ../../Framework/src/minIni/minIni.o streamer/httpd.o streamer/jpeg_utils.o streamer/mjpg_streamer.o LinuxActionScript.o LinuxCamera.o LinuxCM730.o LinuxMotionTimer.o LinuxNetwork.o make[1]: Leaving directory/home/onta/Untitled Folder/DARwIn-OP_ROBOTIS_v1.5.0/Linux/build' g++ -O2 -DLINUX -Wall -I../../include -I../../../Framework/include -c -o main.o main.cpp main.cpp:50:1: error: ‘LinuxCM730’ does not name a type main.cpp:51:1: error: ‘CM730’ does not name a type main.cpp:53:5: error: ‘Magneto’ has not been declared

Thank you very much