OpenCV中文网站

 找回密码
 立即注册
搜索
热搜: 安装 配置
查看: 3425|回复: 0

H264移植C6A8168,求助

[复制链接]
发表于 2012-4-13 17:04:54 | 显示全部楼层 |阅读模式
大家好,有个问题想向大家请教。我在做H264编码的C6A8168移植,使用codec engine框架。在编译codec时,调试顺利通过了,但是在server链接阶段出现了很多undefined symbol,请问会是什么原因呢?代码已经按照xDM标准封装好了,会是XDC配置问题么?如果是的话,有谁可以指教可能是哪里出错呢?谢谢大家啦~周末愉快~
  1. /*
  2. * Copyright (c) 2009, Texas Instruments Incorporated
  3. * All rights reserved.
  4. *
  5. * Redistribution and use in source and binary forms, with or without
  6. * modification, are permitted provided that the following conditions
  7. * are met:
  8. *
  9. * *  Redistributions of source code must retain the above copyright
  10. *    notice, this list of conditions and the following disclaimer.
  11. *
  12. * *  Redistributions in binary form must reproduce the above copyright
  13. *    notice, this list of conditions and the following disclaimer in the
  14. *    documentation and/or other materials provided with the distribution.
  15. *
  16. * *  Neither the name of Texas Instruments Incorporated nor the names of
  17. *    its contributors may be used to endorse or promote products derived
  18. *    from this software without specific prior written permission.
  19. *
  20. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  21. * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
  22. * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  23. * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
  24. * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
  25. * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
  26. * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
  27. * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
  28. * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
  29. * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
  30. * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  31. *
  32. */
  33. /*
  34. *  ======== package.bld ========
  35. */
  36. var Build = xdc.useModule('xdc.bld.BuildEnvironment');
  37. var Pkg = xdc.useModule('xdc.bld.PackageContents');
  38. /* when constructing a release, release everything */
  39. Pkg.attrs.exportAll = true;
  40. var srcs=["analyse","cabac","cavlc","encoder","eval","macroblock","me","ratecontrol","set"];
  41. for (var i = 0; i < Build.targets.length; i++) {
  42.     var targ = Build.targets&#91;i&#93;;
  43. for (var profile in targ.profiles) {
  44.         var libName = &quot;lib/&quot; + profile + &quot;/encoder&quot;;
  45.         Pkg.addLibrary(libName, targ, {
  46.             profile: profile
  47.         }).addObjects(srcs);
  48.     }
  49. }
  50. /*
  51. *  @(#) ti.sdo.ce.examples.codecs.videnc_264; 1, 0, 0,188; 4-21-2009 18:17:11; /db/atree/library/trees/ce/ce-m06x/src/
  52. */
复制代码
还有两个package.bld写法类似,就不贴来了。
第一次做,还望大家指教。需要什么信息我再贴上来。谢谢了。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|OpenCV中文网站

GMT+8, 2024-5-6 19:34 , Processed in 0.008622 second(s), 16 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表