cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
5,178 Views
Registered: ‎11-02-2014

sdl library porting on zc702

Hi,

 

   we are run a code on zc702 board, we need the sdl library support for execution time, how can we add sdl library for the execution 

0 Kudos
3 Replies
Highlighted
Scholar
Scholar
5,169 Views
Registered: ‎09-05-2011

To add Libraries and Library paths in SDK, please refer to the link below:

http://www.xilinx.com/support/documentation/sw_manuals/xilinx2014_4/SDK_Doc/tasks/sdk_t_proj_libraries.htm

 

The eclipse based tutorial below will also help:

http://lazyfoo.net/SDL_tutorials/lesson01/windows/eclipse/index.php

0 Kudos
Highlighted
Adventurer
Adventurer
5,161 Views
Registered: ‎11-02-2014

 Thanks for reply

 

     i think adding library paths will work, when we run sdl or any library in the operating system,

 

   but i am working on petalinux which is on sdcard,

 

   tell me whether i need to compile library with arm linux gcc compiler and place in sdcard to provide path for project or 

  do i need to do any thing for compilation..

please suggest me

0 Kudos
Highlighted
Scholar
Scholar
5,155 Views
Registered: ‎09-05-2011

Are these libraries already compiled? 

If you have pre-compiled libraries, you can check the following discussion:

http://forums.xilinx.com/t5/Embedded-Linux/Adding-pre-compiled-libraries-to-Petalinux-rootfs/td-p/501500 

http://www.xilinx.com/support/answers/55976.html

 

If not, you will need to compile these libraries using 'arm-xilinx-linux-gnueabi' toolchain. I have attached a document that describes the procedure to create a shared object file (*.so) using SDK.  

You can also create the libraries in petalinux using petalinux-create command

 

 

0 Kudos