Lib can not be found when build with S32V234 SDK

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Lib can not be found when build with S32V234 SDK

1,938 Views
kingw
Contributor I

Hi,

      When I compile S32V234 demo application, some lib can not be  found.

      The log is as follws:

e:/work/nxp/visionsdk_s32v2xx_rtm_1_1_1/compilers/gcc-linaro-6.3.1-2017.05-i686-         mingw32_aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/6.3.1/../../../../aar         ch64-linux-gnu/bin/ld.exe: cannot find -lavcodec
e:/work/nxp/visionsdk_s32v2xx_rtm_1_1_1/compilers/gcc-linaro-6.3.1-2017.05-i686-         mingw32_aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/6.3.1/../../../../aar         ch64-linux-gnu/bin/ld.exe: cannot find -lavdevice
e:/work/nxp/visionsdk_s32v2xx_rtm_1_1_1/compilers/gcc-linaro-6.3.1-2017.05-i686-         mingw32_aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/6.3.1/../../../../aar         ch64-linux-gnu/bin/ld.exe: cannot find -lavfilter
e:/work/nxp/visionsdk_s32v2xx_rtm_1_1_1/compilers/gcc-linaro-6.3.1-2017.05-i686-         mingw32_aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/6.3.1/../../../../aar         ch64-linux-gnu/bin/ld.exe: cannot find -lavformat
e:/work/nxp/visionsdk_s32v2xx_rtm_1_1_1/compilers/gcc-linaro-6.3.1-2017.05-i686-         mingw32_aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/6.3.1/../../../../aar         ch64-linux-gnu/bin/ld.exe: cannot find -lavutil
e:/work/nxp/visionsdk_s32v2xx_rtm_1_1_1/compilers/gcc-linaro-6.3.1-2017.05-i686-         mingw32_aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/6.3.1/../../../../aar         ch64-linux-gnu/bin/ld.exe: cannot find -lswresample
e:/work/nxp/visionsdk_s32v2xx_rtm_1_1_1/compilers/gcc-linaro-6.3.1-2017.05-i686-         mingw32_aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/6.3.1/../../../../aar         ch64-linux-gnu/bin/ld.exe: cannot find -lswscale
collect2.exe: error: ld returned 1 exit status

      How should I solve this?

Thanks&regards.

Labels (1)
0 Kudos
7 Replies

1,510 Views
578294688
Contributor II

So do I,I can not compile at S32 Design  Studio for Power,can not find the SDK,but it is OK that I create a new project.What is the problem?

0 Kudos

1,510 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

Normally users create new thread when the topic doesn't match existing thread. So - anyway, please install updates for your S32DS:

pastedImage_3.png

pastedImage_1.png

Hope it helps. 

Jiri

0 Kudos

1,510 Views
578294688
Contributor II

I don't know what happen?I tried to compile the demo project again,I found it is complete.What happen?

Thank for your help!

0 Kudos

1,510 Views
578294688
Contributor II

Thank for your help,but now,it is that I have installed the SDK,I can use the SDK API to code,just in demo project,can't find the SDK.pastedImage_1.png

0 Kudos

1,510 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

which particular application you are trying to build? Are you using the msys shell provided by VSDK  - runshell.cmd located in s32v234_sdk root? I randomly picked up demo called - avb_isp_h264_1stream - and this one can be build without any error by make allsub command. 

Jiri 

0 Kudos

1,510 Views
kingw
Contributor I

Hi,

   I compile the demo by using msys shell. I tried to compile avb_isp_h264_1stream, and I this demo can be compiled successfully.

   Can you try the demo apex_isp_face_detection_cv?

   Thanks&Regards.

0 Kudos

1,510 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

It looks like that you did not build libraries for ffmpeg.  Please follow the README.txt located in s32v234_sdk\3rdparty\ffmpeg\

Hope it helps. 

Jiri 

0 Kudos