How can I develop an sdl program on a linux system with sdl installed on another linux system without sdl installed?

Source: Internet
Author: User
How can I develop an sdl program on a linux system with sdl installed on another linux system without sdl installed? -- Linux general technology-Linux programming and kernel information. The following is a detailed description. For example, I used apt-get to install the sdl software package on ubuntu9.04 and wrote an sdl test program. I want it to run in puppy without installing sdl at all, how to achieve this.

I tried it but failed. It is like this:
For example:
In ubuntu9.04: compile an sdl test program. The test program is testsdl. cpp, enter the command line to compile: g ++-o testsdl. cpp $ (sdl-config -- cflags -- libs )? The executable file testsdl is generated.
Run testsdl in puppy. At the beginning, it prompted me to missing some library files: libSDL-1.2.so.0, libdirectfb-1.0.so.0, libfusion-1.0.so.0, libdirectfb-1.0.so.0. After copying these library files to the/lib directory, it prompts me:/lib/libc. so.6: vesion 'glibc _ 100' not found (required by/lib/libdirect-1.0.so.0 ). I checked that glibc in lib is version 2.6. How can this be done?
Has anyone done this? Give me some guidance.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.