0

libgstreamer0.10-dev我在这些教程中看到了OpenGL 和Ubuntu 13.04 64bit :

  1. 在 Ubuntu 上安装 ARToolKit
  2. 带有 USB 摄像头的 Linux(Ubuntu) 上的 ARToolKit

但是,我不断收到此错误代码:

cc -o ../../bin/videoTest videoTest.o -pthread -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lxml2 -lglib-2.0 -L/usr/X11R6/lib -L/ usr/local/lib -L../../lib -lARgsub -lARvideo -lAR -lpthread -lglut -lGLU -lGL -lXi -lX11 -lm
../../lib/libARvideo.a(video.o):在函数“cb_have_data”中:
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:66:未定义对“gst_pad_get_negotiated_caps”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:67:未定义对“gst_caps_get_structure”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:70:未定义对“gst_structure_get_int”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:71:未定义对“gst_structure_get_int”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:72:未定义对“gst_structure_get_double”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:74:未定义对“g_print”的引用
../../lib/libARvideo.a(video.o):在函数“testing_pad”中:
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:103:未定义对“gst_pad_get_negotiated_caps”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:106:未定义对“gst_caps_get_structure”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:109:未定义对“gst_structure_get_int”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:110:未定义对“gst_structure_get_int”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:111:未定义对“gst_structure_get_double”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:113:未定义对“g_print”的引用
../../lib/libARvideo.a(video.o):在函数“ar2VideoOpen”中:
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:199:未定义对“g_printf”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:202:未定义对“g_printf”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:206:未定义对“g_printf”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:210:未定义对“gst_init”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:219:未定义对“gst_version_string”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:219:未定义对“g_print”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:236:未定义对“gst_parse_launch”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:239:未定义对“g_print”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:244:未定义对“gst_bin_get_type”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:244:未定义对“g_type_check_instance_cast”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:244:未定义对“gst_bin_get_by_name”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:247:未定义对“g_print”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:252:未定义对“gst_element_get_pad”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:256:未定义对“gst_pad_add_buffer_probe”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:273:未定义对“gst_element_set_state”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:275:未定义对“gst_pad_get_peer”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:280:未定义对“gst_object_unref”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:283:未定义对“gst_element_get_state”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:284:未定义对“g_log”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:286:未定义对“g_print”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:294:未定义对“gst_element_set_state”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:297:未定义对“gst_element_get_state”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:298:未定义对“g_log”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:300:未定义对“g_print”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:304:未定义对“gst_element_set_state”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:307:未定义对“gst_element_get_state”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:308:未定义对“g_log”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:310:未定义对“g_print”的引用
../../lib/libARvideo.a(video.o):在函数“ar2VideoClose”中:
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:328:未定义对“gst_element_set_state”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:331:未定义对“gst_object_get_type”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:331:未定义对“g_type_check_instance_cast”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:331:未定义对“gst_object_unref”的引用
../../lib/libARvideo.a(video.o):在函数“ar2VideoCapStart”中:
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:349:未定义对“gst_element_set_state”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:355:未定义对“gst_element_get_state”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:358:未定义对“g_log”的引用
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:362:未定义对“g_print”的引用
../../lib/libARvideo.a(video.o):在函数“ar2VideoCapStop”中:
/home/ved/Downloads/ARToolKit/lib/SRC/VideoGStreamer/video.c:371:未定义对“gst_element_set_state”的引用
collect2:错误:ld 返回 1 个退出状态
make[2]: *** [../../bin/videoTest] 错误 1
make[2]: 离开目录`/home/ved/Downloads/ARToolKit/util/videoTest'
make[1]: *** [all] 错误 2
make[1]: 离开目录`/home/ved/Downloads/ARToolKit/util'
make: *** [全部] 错误 2

我从 SourceForge 和相应的站点下载了源文件,但没有一个有效。
我应该怎么办?

4

1 回答 1

0

我很幸运地在这些网站上找到了解决方案。两个站点的说明都是成功安装所必需的。

在 Ubuntu 10.10 中
安装 ARToolKit 2.72.1 在 Ubuntu 11.10 和 12.04 中安装 ARToolKit 2.72.1

于 2013-09-06T19:23:54.457 回答