问题标签 [pandaboard]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
821 浏览

ubuntu - 使用 Qt 在 Pandaboard 上创建和运行应用程序

我希望在 x86 Ubuntu Dist 上使用 Qt 创建应用程序,并且我想为 ARM7 Pandaboard 创建应用程序。我一直在联系 Qt 的技术人员,他们对在 Linux x86 计算机上初始安装和设置 Qt 有很大帮助。

我目前可以exe使用 Yacto 工具链通过 QtCreator 创建一个。

Qt Tech 解释exe说它是使用 GCC 4.6 创建的,应该可以在运行基于 Yocto 的图像的 Pandaboard 上工作。

如果我将该文件直接移动到运行 Ubuntu 12.4 的 pandaboard 并尝试运行它,我会收到错误消息:No Command Found

我现在很确定我需要在熊猫板上安装 Yacto。
我尝试按照列出的说明进行操作:

“http://www.yoctoproject.org/docs/1.3/poky-ref-manual/poky-ref-manual.html#ref-images”和“http://maniacbug.wordpress.com/2012/08/03 /pandayocto/"

此处发生故障:time bitbake -c fetchall core-image-satobitbake care-image-sato

通常的错误包括:

无法确定架构“armv7l”的字节顺序请将您的架构添加到 siteinfo.bbclass 和其他一些

我的根本问题

  1. 我是否走上了在熊猫板上运行 Qt 应用程序的正确道路?
  2. 我需要哪个版本的 yocto?
  3. 是否有一套工作说明来完成此安装?(我是 Linux 新手)
  4. 有谁知道如何将应用程序从 x86 Linux 机器分发和运行到连接的熊猫板上,如 Qt 开发人员这样做的视频所示? 优酷链接

任何人可以提供的帮助将不胜感激。我知道这是可能的,但似乎有一些问题需要首先解决。

0 投票
1 回答
481 浏览

embedded-linux - 使用 CodeSourcery 和 Pandaboard 的交叉编译问题

我是 Pandaboard 开发的新手。我正在使用 CodeSourcery 交叉编译器来交叉编译我的应用程序代码。我的应用程序是一个简单的“hello world”应用程序。我正在使用它进行交叉编译:

我能够生成app.out. 但是当我将这个 app.out 复制到我的熊猫板并尝试执行它时,我得到了这个异常:

我该如何解决这个问题?

0 投票
1 回答
1294 浏览

android - 在 Pandaboard 上安装 Busybox

我正在尝试在具有 ICS android 内核的熊猫板上安装繁忙的盒子

步骤低于我使用的

  1. 下载的熊猫板支持的二进制文件

  2. 将其推入 system/busybox/ 文件夹

  3. 通过在引导的文件系统上执行以下命令,在目标上安装 busybox 命令行工具:

    /li>
  4. 通过重命名保存原始 sh 可执行文件,然后创建一个到 busybox sh 的软链接:

    /li>
  5. 之后导出

    导出 PATH=$PATH:/system/busybox:/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin

我想将 Busybox shell 作为默认 shell,这样我就可以在 Panda board 上运行脚本,但是在我在那里提到的第 3 步中出现错误。

0 投票
1 回答
612 浏览

android - 熊猫板上的android jellybean预建二进制文件无法启动

我正在尝试使用我从 linaro.org (http://releases.linaro.org/12.12/android/panda/) 下载的 Android jellybean 预构建二进制文件来启动 panda-board omap4430。我正在将 SD 卡上的两个分区创建到文件系统中。首先是包含 boot.tar.bz2 和 u-boot.img 的可引导 FAT32,其他 ext3 分区包含 userdata.tar.bz2 和 system.tar.bz2。将我的 SD 卡放入熊猫板并通过我的 Ubuntu 电脑上的 minicom 将其连接后,我什至看不到去皮或其他东西或任何日志的单个字符。我是不是错过了什么。我之前已经成功地在 Beagle 板上完成了 Ubuntu 移植。

0 投票
1 回答
2340 浏览

ubuntu - 在 ubuntu 上使用 C++ opencv:cvCaptureFromAVI() 不起作用

我正在尝试在 pandaboard ubuntu 12.04 上使用 OpenCV 库。

所以我安装了Opencv2.4.2版本,代码在下面。

问题是这个程序不能从 avi 文件中抓取帧。(此代码在 VS2010 C++ 上运行良好)

当我使用 gdb 在 shell 上运行程序时,它只返回消息“Inferior 1 (process nnnn) exited with code 01”

我用谷歌搜索了这个错误,发现一个与我有类似问题的人发布的页面,但 cvCaptureFromAVI() 目前无法正常工作。

有人能告诉我我能从这里做些什么来使 cvaptureFromAVI() 工作吗?

0 投票
2 回答
1442 浏览

neon - 编译 Qt 嵌入式熊猫板时出错:[.moc/release-shared-emb-arm/moc_qabstractanimation.cpp] 错误 1

我正在尝试为熊猫板(OMAP4、4430)编译 Qt 嵌入式。我为 armv7 安装了这个交叉编译器:

我下载了最后一个 qt-embedded 源并将它们解压缩到文件夹中:

/opt/qt-everywhere-opensource-src-4.6.4

我复制了配置文件:

我修改了 mkspecs/qws/linux-arm-gnueabihf-g++/qmake.conf 如下:

我运行了配置:

但是,使用 make 命令编译当然会失败:

怎么了?

0 投票
1 回答
1050 浏览

linux - Linux 包交叉编译

我正在使用运行 Arch Linux 的单板计算机 (Pandaboard) 构建非视觉监视 (声纳) 平台。问题是,当我需要在我的安装中添加一个功能时,这些make进程make install会永远在低功耗计算机上运行。我希望有类似经验的人指出一个解决方案,用于在另一个 linux 机器(也运行 Arch)上编译包,然后将它们移植到 SBC。

0 投票
1 回答
372 浏览

android - Panda Board 上的 Android 4.0 - 安装自定义应用时 --> 缺少共享库

我有一个熊猫板,上面运行着 Android 4.0。现在我想通过 ADB 在板上安装我的自定义应用程序,但出现错误INSTALL_FAILED_MISSING_SHARED_LIBRARY
原因是我的自定义应用程序使用谷歌地图和谷歌应用程序,谷歌库 a 没有集成在 android 构建中。

  1. 以后可以安装谷歌应用程序/库吗?
  2. 通常可以将谷歌库带到嵌入式板上还是不允许?

谢谢

0 投票
1 回答
2341 浏览

android - 在 Pandaboard 上启动 Android 4.2.1

我正在尝试Android 4.2.1启动PandaBoard。我从这里得到了资源。虽然在构建时没有问题,但在启动时它会崩溃。

我在 Panda4430 和 Panda4460 板上都试过了。

当我在 Panda4430 中尝试时,它没有进入内核启动阶段。

控制台输出是,

我为 Panda4430 使用了以下引导参数:

当我在 Panda4460 中尝试时,它崩溃了。

以下是使用logcat获取的日志。

然后日志从这一行重复。

我对 Panda4460 使用了以下引导参数:

请指导我解决这个问题。

0 投票
1 回答
11551 浏览

opencv - 在 Pandaboard 上使用静态链接进行 OpenCV 编译的问题

我使用 BUILD_SHARED_LIBS=0 选项在熊猫板上安装了带有静态链接的 opencv。我正在使用 ubuntu 11.10。我还构建了 3rd 方库 png、jpeg、jasper 和 zlib。(cmake 选项 BUILD_PNG=ON BUILD_JASPER=ON BUILD_JPEG=ON BUILD_ZLIB=ON WITH_JPEG=ON WITH_PNG=ON WITH_JASPER=ON)。我的opencv安装成功。然而,当我编译一个测试程序时,我得到了许多未定义的错误引用。所有这些错误似乎都与 jpeg、png 和 jasper 库有关,但我不明白为什么当我明确链接它们时 libhighgui 无法引用第 3 方库。这是我编译程序的方式:

g++ -static face_recognition.cpp -o fcarm -I/home/nandhini/opencv/2.4.2static/include/opencv -I/home/nandhini/opencv/2.4.2static/include -L/home/nandhini/opencv/2.4.2static/lib/ -L/home/nandhini/opencv/2.4.2static/share/OpenCV/3rdparty/lib -llibjpeg -llibjasper -llibpng -lzlib -lopencv_core -lopencv_contrib -lopencv_imgproc -lopencv_highgui -lopencv_ml -lopencv_video -lopencv_features2d -lopencv_calib3d -lopencv_objdetect -lopencv_flann -lopencv_photo -lopencv_legacy -pthread -lm -lrt -lstdc++ -ldl

我已经被这个问题困扰了很长时间,如果有人能帮助我解决这个问题,我将不胜感激。请帮忙,谢谢!

这是我的错误列表:

/home/nandhini/opencv/2.4.2static/lib//libopencv_core.a(persistence.cpp.o): In functionicvGets(CvFileStorage*, char*, int)': persistence.cpp:(.text._ZL7icvGetsP13CvFileStoragePci+0x7e): 未定义引用gzgets' /home/nandhini/opencv/2.4.2static/lib//libopencv_core.a(persistence.cpp.o): In function_ZL16icvYMLSkipSpacesP13CvFileStoragePcii.constprop.61': persistence.cpp:(.text._ZL16icvYMLSkipSpacesP13CvFileStoragePci.61CvFileStoragePci+0x7e ): 对gzeof' /home/nandhini/opencv/2.4.2static/lib//libopencv_core.a(persistence.cpp.o): In functionicvPuts(CvFileStorage*, char const*)'的未定义引用:persistence.cpp:(.text._ZL7icvPutsP13CvFileStoragePKc+0x138): 对gzputs' /home/nandhini/opencv/2.4.2static/lib//libopencv_core.a(persistence.cpp.o): In functionicvXMLSkipSpaces(CvFileStorage*, char*, int)'的未定义引用:persistence.cpp:(。 text._ZL16icvXMLSkipSpacesP13CvFileStoragePci+0x1a2): 对gzeof' /home/nandhini/opencv/2.4.2static/lib//libopencv_core.a(persistence.cpp.o): In functionicvClose 的未定义引用(CvFileStorage*, std::basic_string, std::allocator >*)': persistence.cpp:(.text._ZL8icvCloseP13CvFileStoragePSs+0x132): 未定义引用gzclose' /home/nandhini/opencv/2.4.2static/lib//libopencv_core.a(persistence.cpp.o): In functioncvOpenFileStorage':persistence.cpp:(.text.cvOpenFileStorage+0x1b0):未定义的gzclose引用gzrewind' persistence.cpp:(.text.cvOpenFileStorage+0x6b6): undefined reference topersistence.cpp:(.text.cvOpenFileStorage+0x734):未定义的gzopen' persistence.cpp:(.text.cvOpenFileStorage+0xcd4): undefined reference togzclose引用/home/nandhini/opencv/2.4.2static/ lib//libopencv_highgui.a(grfmt_jpeg2000.cpp.o): 在函数cv::JasperInitializer::~JasperInitializer()': grfmt_jpeg2000.cpp:(.text._ZN2cv17JasperInitializerD2Ev[_ZN2cv17JasperInitializerD5Ev]+0x4): undefined reference tojas_cleanup'/home/nandhini/opencv/2.4.2static/lib//libopencv_highgui.a(grfmt_jpeg2000.cpp.o): 在函数cv::Jpeg2KDecoder::close()': grfmt_jpeg2000.cpp:(.text._ZN2cv13Jpeg2KDecoder5closeEv+0x8): undefined reference tojas_stream_close' grfmt_jpeg2000.cpp :(.text._ZN2cv13Jpeg2KDecoder5closeEv+0x14): 未定义引用jas_image_destroy' /home/nandhini/opencv/2.4.2static/lib//libopencv_highgui.a(grfmt_jpeg2000.cpp.o): In functioncv::Jpeg2KDecoder::readHeader()': grfmt_jpeg2000.cpp:(.text._ZN2cv13Jpeg2KDecoder10readHeaderEv+0xe): 未定义引用jas_stream_fopen' grfmt_jpeg2000.cpp:(.text._ZN2cv13Jpeg2KDecoder10readHeaderEv+0x1e): undefined reference tojas_image_decode' /home/nandhini/opencv/2.4 .2static/lib//libopencv_highgui.a(grfmt_jpeg2000.cpp.o):在函数中cv::Jpeg2KDecoder::readData(cv::Mat&)': grfmt_jpeg2000.cpp:(.text._ZN2cv13Jpeg2KDecoder8readDataERNS_3MatE+0x5c): undefined reference tojas_image_getcmptbytype' grfmt_jpeg2000.cpp:(.text._ZN2cv13Jpeg2KDecoder8readDataERNS_3MatE+0x68): undefined reference to jas_image_getcmptbytype' grfmt_jpeg2000.cpp:(.text._ZN2cv13Jpeg2KDecoder8readDataERNS_3MatE+0x74): undefined reference tojas_image_getcmptbytype' grfmt_jpeg2000.cpp:(.text._ZN2cv13Jpeg2KDecoder8readDataERNS_3MatE+0xb8): undefined reference to jas_image_getcmptbytype' grfmt_jpeg2000.cpp:(.text._ZN2cv13Jpeg2KDecoder8readDataERNS_3MatE+0x126): undefined reference tojas_matrix_create' grfmt_jpeg2000.cpp:(.text._ZN2cv13Jpeg2KDecoder8readDataERNS_3MatE+0x13e) : undefined reference to jas_image_readcmpt' grfmt_jpeg2000.cpp:(.text._ZN2cv13Jpeg2KDecoder8readDataERNS_3MatE+0x16e): undefined reference tojas_matrix_destroy' grfmt_jpeg2000.cpp:(.text._ZN2cv13Jpeg2KDecoder8readDataERNS_3MatE+0x184): undefined reference to jas_cmprof_createfromclrspc' grfmt_jpeg2000.cpp:(.text._ZN2cv13Jpeg2KDecoder8readDataERNS_3MatE+0x194): undefined reference tojas_image_chclrspc' grfmt_jpeg2000.cpp:(.text._ZN2cv13Jpeg2KDecoder8readDataERNS_3MatE+0x1a2): undefined reference to jas_image_destroy' grfmt_jpeg2000.cpp:(.text._ZN2cv13Jpeg2KDecoder8readDataERNS_3MatE+0x1ac): undefined reference tojas_cmprof_destroy' grfmt_jpeg2000.cpp:(.text. _ZN2cv13Jpeg2KDecoder8readDataERNS_3MatE+0x220):未定义的引用jas_cmprof_destroy' /home/nandhini/opencv/2.4.2static/lib//libopencv_highgui.a(grfmt_jpeg2000.cpp.o): In functioncv::Jpeg2KEncoder::writeComponent8u(void*, cv::Mat const&)': grfmt_jpeg2000.cpp:(.text._ZN2cv13Jpeg2KEncoder16writeComponent8uEPvRKNS_3MatE+0x1c): undefined reference to jas_matrix_create' grfmt_jpeg2000.cpp:(.text._ZN2cv13Jpeg2KEncoder16writeComponent8uEPvRKNS_3MatE+0x86): undefined reference tojas_image_writecmpt' grfmt_jpeg2000.cpp:(.text._ZN2cv13Jpeg2KEncoder16writeComponent8uEPvRKNS_3MatE+0xa0): undefined reference to jas_matrix_destroy' /home/nandhini/opencv/2.4.2static/lib//libopencv_highgui.a(grfmt_jpeg2000.cpp.o): In functioncv::Jpeg2KEncoder::writeComponent16u(void*, cv::Mat const&)': grfmt_jpeg2000.cpp:(.text._ZN2cv13Jpeg2KEncoder17writeComponent16uEPvRKNS_3MatE+0x1c): undefined reference to jas_matrix_create' grfmt_jpeg2000.cpp:(.text._ZN2cv13Jpeg2KEncoder17writeComponent16uEPvRKNS_3MatE+0x86): undefined reference tojas_image_writecmpt' grfmt_jpeg2000.cpp:(.text._ZN2cv13Jpeg2KEncoder17writeComponent16uEPvRKNS_3MatE+ 0xa0): 对jas_matrix_destroy' /home/nandhini/opencv/2.4.2static/lib//libopencv_highgui.a(grfmt_jpeg2000.cpp.o): In functioncv::Jpeg2KEncoder::write(cv::Mat const&, std::vector > const&)' 的未定义引用:grfmt_jpeg2000.cpp:(.text._ZN2cv13Jpeg2KEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0x5a):未定义的引用jas_image_create' grfmt_jpeg2000.cpp:(.text._ZN2cv13Jpeg2KEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0x8c): undefined reference tojas_image_destroy' grfmt_jpeg2000.cpp:(.text._ZN2cv13Jpeg2KEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0xbe): undefined reference to jas_stream_fopen' grfmt_jpeg2000.cpp:(.text._ZN2cv13Jpeg2KEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0xcc): undefined reference tojas_image_strtofmt' grfmt_jpeg2000.cpp:(.text._ZN2cv13Jpeg2KEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0xda): undefined reference to jas_image_encode' grfmt_jpeg2000.cpp:(.text._ZN2cv13Jpeg2KEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0xe8): undefined reference tojas_stream_close' /home/nandhini/opencv/2.4.2static/lib //libopencv_highgui.a(grfmt_jpeg2000.cpp.o): 在函数_GLOBAL__sub_I_grfmt_jpeg2000.cpp': grfmt_jpeg2000.cpp:(.text.startup._GLOBAL__sub_I_grfmt_jpeg2000.cpp+0x2): undefined reference tojas_init'/home/nandhini/opencv/2.4.2static/lib//libopencv_imgproc.a(templmatch.cpp.o): 在函数cv::crossCorr(cv::Mat const&, cv::Mat const&, cv::Mat&, cv::Size_<int>, int, cv::Point_<int>, double, int)': templmatch.cpp:(.text._ZN2cv9crossCorrERKNS_3MatES2_RS0_NS_5Size_IiEEiNS_6Point_IiEEdi+0x318): undefined reference tocv::getOptimalDFTSize(int )' templmatch.cpp:(.text._ZN2cv9crossCorrERKNS_3MateES2_RS0_NS_5Size_IiEEiNS_6Point_IiEEdi+0x33c): 未定义引用cv::getOptimalDFTSize(int)' templmatch.cpp:(.text._ZN2cv9crossCorrERKNS_3MatES2_RS0_NS_5Size_IiEEiNS_6Point_IiEEdi+0x7c4): undefined reference tocv::dft(cv::_InputArray const&, cv::_OutputArray const&, int, int)' templmatch.cpp:(.text._ZN2cv9crossCorrERKNS_3MatES2_RS0_NS_5Size_IiEEiNS_6Point_IiEEdi+0xefc): 未定义对cv::dft(cv::_InputArray const&, cv::_OutputArray const&, int, int)' templmatch.cpp:(.text._ZN2cv9crossCorrERKNS_3MatES2_RS0_NS_5Size_IiEEiNS_6Point_IiEEdi+0xf66): undefined reference tocv::mulSpectrums(cv::_InputArray const&, cv ::_InputArray const&, cv::_OutputArray const&, int, bool)' templmatch.cpp:(.text._ZN2cv9crossCorrERKNS_3MateES2_RS0_NS_5Size_IiEEiNS_6Point_IiEEdi+0xf8e): 对cv::dft(cv::_InputArray const&, cv::_OutputArray const&, int, int)' /home/nandhini/opencv/2.4.2static/lib//libopencv_highgui.a(grfmt_png.cpp.o): In functioncv::PngDecoder::readDataFromBuf(void*, unsigned char*, unsigned int)的未定义引用': grfmt_png.cpp:(.text._ZN2cv10PngDecoder15readDataFromBufEPvPhj+0xc): 未定义的对png_get_io_ptr' grfmt_png.cpp:(.text._ZN2cv10PngDecoder15readDataFromBufEPvPhj+0x10a): undefined reference topng_error 的引用' /home/nandhini/opencv/2.4.2static/lib//libopencv_highgui.a(grfmt_png.cpp.o): 在函数cv::PngDecoder::close()': grfmt_png.cpp:(.text._ZN2cv10PngDecoder5closeEv+0x26): undefined reference topng_destroy_read_struct' /主页/nandhini/opencv/2.4.2static/lib//libopencv_highgui.a(grfmt_png.cpp.o): 在函数中cv::PngDecoder::readHeader()': grfmt_png.cpp:(.text._ZN2cv10PngDecoder10readHeaderEv+0x18): undefined reference topng_create_read_struct' grfmt_png.cpp:(.text._ZN2cv10PngDecoder10readHeaderEv+0x22): 未定义对png_create_info_struct' grfmt_png.cpp:(.text._ZN2cv10PngDecoder10readHeaderEv+0x2a): undefined reference topng_create_info_struct' grfmt_png.cpp 的引用:(.text._ZN2cv10PngDecoder10readHeaderEv+0x6a): 未定义对png_set_longjmp_fn' grfmt_png.cpp:(.text._ZN2cv10PngDecoder10readHeaderEv+0xae): undefined reference topng_init_io' grfmt_png.cpp+00xdngDecoder:(.text._ZN2 : 对png_read_info' grfmt_png.cpp:(.text._ZN2cv10PngDecoder10readHeaderEv+0xf0): undefined reference topng_get_IHDR 的未定义引用 grfmt_png.cpp:(.text._ZN2cv10PngDecoder10readHeaderEv+0x166): 对png_set_read_fn' /home/nandhini/opencv/2.4.2static/lib//libopencv_highgui.a(grfmt_png.cpp.o): In functioncv::PngEncoder::write(cv::Mat const&, std::vector > const&)' 的未定义引用: grfmt_png.cpp:( .text._ZN2cv10PngEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0x18): 未定义对png_create_write_struct' grfmt_png.cpp:(.text._ZN2cv10PngEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0x7a): undefined reference topng_create_info_struct 的引用 grfmt_png.cpp:(.text._ZN2cv10PngEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0x9e): 未定义引用png_set_longjmp_fn' grfmt_png.cpp:(.text._ZN2cv10PngEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0xce): undefined reference topng_set_write_fn' grfmt_png.cpp:(.text._ZN2cv10PngEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0x14a): undefined reference to png_set_compression_mem_level' grfmt_png.cpp:(.text._ZN2cv10PngEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0x158): undefined reference topng_set_compression_strategy' grfmt_png.cpp:(.text._ZN2cv10PngEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0x19a): undefined reference to png_set_IHDR' grfmt_png.cpp:(.text._ZN2cv10PngEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0x1ae): undefined reference topng_write_info' grfmt_png.cpp:(.text._ZN2cv10PngEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0x1ba) : undefined reference to png_set_bgr' grfmt_png.cpp:(.text._ZN2cv10PngEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0x1ce): undefined reference topng_set_swap' grfmt_png.cpp:(.text._ZN2cv10PngEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0x208): undefined reference to png_write_image' grfmt_png.cpp:(.text._ZN2cv10PngEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0x21c): undefined reference topng_write_end' grfmt_png.cpp:(.text._ZN2cv10PngEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0x22e): undefined reference to png_destroy_write_struct' grfmt_png.cpp:(.text._ZN2cv10PngEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0x284): undefined reference topng_init_io' grfmt_png.cpp:(.text. _ZN2cv10PngEncoder5writeERKNS_3MateERKSt6vectorIiSaIiEE+0x2c6): 未定义的引用png_set_filter' grfmt_png.cpp:(.text._ZN2cv10PngEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0x2d4): undefined reference topng_set_compression_level' /home/nandhini/opencv/2.4.2static/lib//libopencv_highgui.a(grfmt_png.cpp.o): 在函数cv::PngDecoder::readData(cv::Mat&)': grfmt_png.cpp:(.text._ZN2cv10PngDecoder8readDataERNS_3MatE+0x8c): undefined reference topng_set_longjmp_fn' grfmt_png.cpp:(.text._ZN2cv10PngDecoder8readDataERNS_3MatE+0xfa): 未定义对png_set_gray_to_rgb' grfmt_png.cpp:(.text._ZN2cv10PngDecoder8readDataERNS_3MatE+0x102): undefined reference topng_read_update_info' grfmt_png 的引用.cpp:(.text._ZN2cv10PngDecoder8readDataERNS_3MatE+0x126): undefined reference to png_read_image' grfmt_png.cpp:(.text._ZN2cv10PngDecoder8readDataERNS_3MatE+0x12e): undefined reference topng_read_end' grfmt_png.cpp:(.text._ZN2cv10PngDecoder8readDataERNS_3MatE+0x14e): undefined reference to png_set_palette_to_rgb' grfmt_png.cpp:(.text._ZN2cv10PngDecoder8readDataERNS_3MatE+0x16a): undefined reference topng_set_rgb_to_gray' grfmt_png.cpp:(.text._ZN2cv10PngDecoder8readDataERNS_3MatE+0x170): undefined reference to png_set_bgr' grfmt_png.cpp:(.text._ZN2cv10PngDecoder8readDataERNS_3MatE+0x178): undefined reference topng_set_strip_alpha' grfmt_png.cpp:(.text._ZN2cv10PngDecoder8readDataERNS_3MatE+0x180): 未定义的参考png_set_swap' grfmt_png.cpp:(.text._ZN2cv10PngDecoder8readDataERNS_3MatE+0x18c): undefined reference topng_set_expand_gray_1_2_4_to_8' grfmt_png.cpp:(.text._ZN2cv10PngDecoder8readDataERNS_3MatE+0x194): 未定义引用png_set_strip_16' /home/nandhini/opencv/2.4.2static/lib//libopencv_highgui.a(grfmt_png.cpp.o): In functioncv::PngEncoder::writeDataToBuf(void*, unsigned char*, unsigned int)': grfmt_png.cpp:(.text._ZN2cv10EPngEncodertext._ZN2cv10EPPhj+0x016) : undefined reference to png_get_io_ptr' /home/nandhini/opencv/2.4.2static/lib//libopencv_highgui.a(grfmt_jpeg.cpp.o): In function_ZN2cvL16my_jpeg_load_dhtEP22jpeg_decompress_structPhPP9JHUFF_TBLS5_.constprop.30': grfmt_jpeg.cpp:(.text.unlikely._ZN2cvL16my_jpeg_load_dhtEP22jpeg_decompress_structPhPP9JHUFF_TBLS5_.constprop.30+0xa4): undefined reference to jpeg_alloc_huff_table' /home/nandhini/opencv/2.4.2static/lib//libopencv_highgui.a(grfmt_jpeg.cpp.o): In functioncv::JpegEncoder::write(cv::Mat const&, std:: vector > const&)': grfmt_jpeg.cpp:(.text._ZN2cv11JpegEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0x6e): 未定义的引用jpeg_CreateCompress' grfmt_jpeg.cpp:(.text._ZN2cv11JpegEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0x78): undefined reference tojpeg_std_error' grfmt_jpeg.cpp:(.text._ZN2cv11JpegEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0xdc): undefined reference to jpeg_destroy_compress' grfmt_jpeg.cpp:(.text._ZN2cv11JpegEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0x194): undefined reference tojpeg_set_defaults' grfmt_jpeg.cpp:(.text._ZN2cv11JpegEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0x1a2): undefined reference to jpeg_set_quality' grfmt_jpeg.cpp:(.text._ZN2cv11JpegEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0x1ae): undefined reference tojpeg_start_compress' grfmt_jpeg.cpp:(.text._ZN2cv11JpegEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0x1f6) : undefined reference to jpeg_write_scanlines' grfmt_jpeg.cpp:(.text._ZN2cv11JpegEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0x208): undefined reference tojpeg_finish_compress' grfmt_jpeg.cpp:(.text._ZN2cv11JpegEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0x25e): undefined reference to jpeg_stdio_dest' grfmt_jpeg.cpp:(.text._ZN2cv11JpegEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0x2a6): undefined reference tojpeg_write_scanlines' grfmt_jpeg.cpp:(.text._ZN2cv11JpegEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0x2fa): undefined reference to jpeg_write_scanlines' /home/nandhini/opencv/2.4.2static/lib//libopencv_highgui.a(grfmt_jpeg.cpp.o): In functioncv::JpegDecoder::close()' : grfmt_jpeg.cpp:(.text._ZN2cv11JpegDecoder5closeEv+0xa): 未定义的引用jpeg_destroy_decompress' /home/nandhini/opencv/2.4.2static/lib//libopencv_highgui.a(grfmt_jpeg.cpp.o): In functioncv::JpegDecoder::readData(cv::Mat&)': grfmt_jpeg.cpp:(.text._ZN2cv11JpegDecoder8readDataERNS_3MatE+0x90): 未定义参考jpeg_read_scanlines jpeg_start_decompress' grfmt_jpeg.cpp:(.text._ZN2cv11JpegDecoder8readDataERNS_3MatE+0x10a): undefined reference to' grfmt_jpeg.cpp:(.text._ZN2cv11JpegDecoder8readDataERNS_3MatE+0x15): 未定义参考jpeg_finish_decompress' /home/nandhini/opencv/2.4.2static/lib//libopencv_highgui.a(grfmt_jpeg.cpp.o): In function::JpegDecoder::readHeader()': grfmt_jpeg.cpp:(.text._ZN2cv11JpegDecoder10readHeaderEv+0x20): 未定义引用jpeg_std_error' grfmt_jpeg.cpp:(.text._ZN2cv11JpegDecoder10readHeaderEv+0x56): undefined reference tojpeg_CreateDecompress' grfmt_jpeg.cpp:(.text._ZN2cv11JpegDecoder10readHeaderEv+0x92): 未定义引用jpeg_stdio_src' grfmt_jpeg.cpp:(.text._ZN2cv11JpegDecoder10readHeaderEv+0x9a): undefined reference tojpeg_read_header_cpp': grfm (.text._ZN2cv11JpegDecoder10readHeaderEv+0x13c):未定义的引用jpeg_resync_to_restart' collect2: ld returned 1 exit status