UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Observer zwl6600233
Observer
228 Views
Registered: ‎10-30-2018

How to link boost/gflags/glog library whth SDSoC

I want to migrate an application from VS2013 to SDsoc.

The application worked well in VS2013 windows 10 ,but  how to migrate it  to SDSoC.

When running in windows the application needs many compiled libraries ,the libraries were compiled to  .dll files.

Whether the sdsoc have  ability to read the .dll files for cross compilation.

if it can't read the .dll files, what should i do to migrate program . Copy the source code for each library and compile together?

Or some suggestion.

0 Kudos
3 Replies
Explorer
Explorer
177 Views
Registered: ‎10-21-2015

Re: How to link boost/gflags/glog library whth SDSoC

Hi 

You should build sysroot including those libraries using petalinux

Add the following to <your petalinux project>/project-spec/meta-user/recipes-core/images/petalinux-user-image.bbappend

 

IMAGE_INSTALL_append = " boost-dev gflags-dev glog-dev"

After petalinux-build, use <your petalinux project>/images/linux/rootfs.tar.gz as sysroot

 

0 Kudos
Observer zwl6600233
Observer
154 Views
Registered: ‎10-30-2018

Re: How to link boost/gflags/glog library whth SDSoC

emmmm, how to generate those libxxxx.so?

compile the lib source code with the arm-linux-gnueabihf-g++ ?

and

what's the differences between the arm-xilinx-linux-gnueabi-gcc   and  arm-linux-gnueabihf-gcc ?

Thanks.

0 Kudos
Explorer
Explorer
137 Views
Registered: ‎10-21-2015

Re: How to link boost/gflags/glog library whth SDSoC

Use petalinux tool

It is not easy to use g++  or make to compile those libraries because they have complicated library dependencies and you should also install all dependent libraries

0 Kudos