puku0x / cvdrone

CV Drone (= OpenCV + AR.Drone)
https://github.com/puku0x/cvdrone/wiki/How-to-build
Other
202 stars 94 forks source link

Linker Error #15

Closed ghost closed 8 years ago

ghost commented 9 years ago

Hello. I am using cvdrone for my research. I am using Linux 12.04 and I have ARDrone 2.0. I successfully installed "makefile" (./test.a perfectly worked!). As I tried to run sample code files in the sample folder, I am getting many errors. For instance, as I compile:

include "ardrone/ardrone.h"

int main(int argc, char *argv[]) { ARDrone ardrone; return 0; }

it gives me the following error: /tmp/ccXbG4uI.o: In function main': test.cpp:(.text+0x33): undefined reference toARDrone::ARDrone()' test.cpp:(.text+0x44): undefined reference to `ARDrone::~ARDrone()'

Could you help me? Thank you!

ghost commented 9 years ago

Sorry! I solved this issue by making another makefile! :D

puku0x commented 9 years ago

Oh, it solved ? That's good.