Author Topic: [2.6.7] Fix libva build on saucy/32 bits  (Read 4738 times)

mean

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10852
[2.6.7] Fix libva build on saucy/32 bits
« on: December 08, 2013, 03:09:16 PM »
If you have error cannot find symbol chk_ in cxx_non_shared etc..
Use the following patch (just one line to add)
Code: [Select]
diff --git a/avidemux_core/ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/CMakeLists.txt b/avidemux_core/ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/CMakeLists.txt
index e8c1af4..7d6f33e 100644
--- a/avidemux_core/ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/CMakeLists.txt
+++ b/avidemux_core/ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/CMakeLists.txt
@@ -8,4 +8,5 @@ ADM_ADD_SHARED_LIBRARY(ADM_coreLibVA6 ${ADM_libva_SRCS})
 INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/ADM_coreLibVA/include)
 TARGET_LINK_LIBRARIES(ADM_coreLibVA6 va va-x11)
 TARGET_LINK_LIBRARIES(ADM_coreLibVA6 ADM_core6 ADM_coreUI6 ADM_coreImage6)
+TARGET_LINK_LIBRARIES(ADM_coreLibVA6 "c")
 ADM_INSTALL_LIB(ADM_coreLibVA6)

mean

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10852
Re: [2.6.7] Fix libva build on saucy/32 bits
« Reply #1 on: December 08, 2013, 03:10:28 PM »
patch attached

tomatoma

  • Newbie
  • *
  • Posts: 4
Re: [2.6.7] Fix libva build on saucy/32 bits
« Reply #2 on: December 15, 2013, 10:31:11 AM »
Hi,

Thanks for this patch.
How shall one use it?  :-[
I am trying to open avi files created with my canon A720is, but every time I click play avidemux crashes (2.6.7, win7 32 bit).
Just trying to see if this patch can solve my problem.

Many thanks.
Regards
PS: first time I use avidemux. Not the best start!  :o

mean

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10852
Re: [2.6.7] Fix libva build on saucy/32 bits
« Reply #3 on: December 15, 2013, 12:01:36 PM »
Not i wont help you
Please make a post in the general section with a sample

tomatoma

  • Newbie
  • *
  • Posts: 4
Re: [2.6.7] Fix libva build on saucy/32 bits
« Reply #4 on: December 15, 2013, 02:05:23 PM »
Hi,

Thanks for your reply.
I have made a post in section "Main version 2.6", subject: version 2.6.7 crashes when playing canon A720is camera videos (avi)

Regards,
Matteo