[android-beginners] Re: SDL init failure, reason is: No available video device

2009-05-27 Thread David Turner
One possibility is that the emulator is a 32-bit program that expects to use
the 32-bit libX11 shared library. You might want to install this if you run
on a 64-bit system.

On Wed, May 27, 2009 at 11:52 PM, David Turner  wrote:

> then it means the emulator could not find your X11 library (libX11.so.6)
> through dlopen().
> this is really weird, what kind of setup are you using ?
>
>
> On Wed, May 27, 2009 at 7:43 AM, arunjith g  wrote:
>
>> hi
>>  I have no enviornment variable as SDL_VIDEODRIVER. Im running the
>> emulator in a ubuntu machine (32 bit) . I have installed my sdl libraries
>> properly. please suggest me how to proceed
>>
>>
>> On Wed, May 27, 2009 at 2:25 AM, David Turner  wrote:
>>
>>> Try unsetting SDL_VIDEODRIVER in your environment before launching the
>>> emulator.
>>> That should generally fix the issue. If not, please tell me more about
>>> your system.
>>>
>>>
>>> On Tue, May 26, 2009 at 7:09 AM, arunjith  wrote:
>>>

 Hi

  When im trying to  run the emulator i have this following error
 comes
  SDL init failure, reason is: No available video device. I have
 updated and installed all the necessary packages . i tried using both
 java5 and java6 . Can any one guide me , how to solve this problem




>>>
>>>
>>>
>>
>> >>
>>
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: SDL init failure, reason is: No available video device

2009-05-27 Thread David Turner
then it means the emulator could not find your X11 library (libX11.so.6)
through dlopen().
this is really weird, what kind of setup are you using ?

On Wed, May 27, 2009 at 7:43 AM, arunjith g  wrote:

> hi
>  I have no enviornment variable as SDL_VIDEODRIVER. Im running the emulator
> in a ubuntu machine (32 bit) . I have installed my sdl libraries properly.
> please suggest me how to proceed
>
>
> On Wed, May 27, 2009 at 2:25 AM, David Turner  wrote:
>
>> Try unsetting SDL_VIDEODRIVER in your environment before launching the
>> emulator.
>> That should generally fix the issue. If not, please tell me more about
>> your system.
>>
>>
>> On Tue, May 26, 2009 at 7:09 AM, arunjith  wrote:
>>
>>>
>>> Hi
>>>
>>>  When im trying to  run the emulator i have this following error
>>> comes
>>>  SDL init failure, reason is: No available video device. I have
>>> updated and installed all the necessary packages . i tried using both
>>> java5 and java6 . Can any one guide me , how to solve this problem
>>>
>>>
>>>
>>>
>>
>>
>>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: SDL init failure, reason is: No available video device

2009-05-26 Thread arunjith g
hi
 I have no enviornment variable as SDL_VIDEODRIVER. Im running the emulator
in a ubuntu machine (32 bit) . I have installed my sdl libraries properly.
please suggest me how to proceed

On Wed, May 27, 2009 at 2:25 AM, David Turner  wrote:

> Try unsetting SDL_VIDEODRIVER in your environment before launching the
> emulator.
> That should generally fix the issue. If not, please tell me more about your
> system.
>
>
> On Tue, May 26, 2009 at 7:09 AM, arunjith  wrote:
>
>>
>> Hi
>>
>>  When im trying to  run the emulator i have this following error
>> comes
>>  SDL init failure, reason is: No available video device. I have
>> updated and installed all the necessary packages . i tried using both
>> java5 and java6 . Can any one guide me , how to solve this problem
>>
>>
>>
>>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: SDL init failure, reason is: No available video device

2009-05-26 Thread David Turner
Try unsetting SDL_VIDEODRIVER in your environment before launching the
emulator.
That should generally fix the issue. If not, please tell me more about your
system.

On Tue, May 26, 2009 at 7:09 AM, arunjith  wrote:

>
> Hi
>
>  When im trying to  run the emulator i have this following error
> comes
>  SDL init failure, reason is: No available video device. I have
> updated and installed all the necessary packages . i tried using both
> java5 and java6 . Can any one guide me , how to solve this problem
>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: SDL init failure, reason is: No available video device

2009-01-15 Thread Anri Lau
Dave,

Thank you, it is very clear. I have fixed it. It is caused by the python
module version conflict.


2009/1/14 David Turner 

> You don't need to have SDL_VIDEODRIVER defined in your environment, the
> emulator will by default try to find the X11 libraries on your system and
> use them (then an error means that the libraries are not properly installed
> or reachable by the application. this may be possible to installation
> oddities on mixed 32/64 bit systems).
>
> A good way to check this is to use "strace emulator" to see which
> files/libraries the program is trying to open (it uses dlopen/dlsym to do
> that)
>
> A long time ago, someone reported a similar issue. the problem came from
> the fact that they had SDL_VIDEODRIVER=directfb in their environment. This
> variable is normally used to direct the SDL library to use a specific video
> driver. But the one that comes with the Android emulator (statically linked
> to it for ease of deployment) only supports X11.
>
> hope this clarifies :-)
>
> On Wed, Jan 14, 2009 at 10:46 AM, Anri Lau  wrote:
>
>> All,
>>
>> Thank you Dave. I guess I did not set SDL_VIDEODRIVER. Could you show me
>> where I can found the instruction to set the building environment?
>>
>> I have no any idea of how to start.
>>
>>
>> 2009/1/14 David Turner 
>>
>>> hmmm. do you have SDL_VIDEODRIVER defined in your environment ?
>>>
>>> On Tue, Jan 13, 2009 at 1:18 PM, superspider  wrote:
>>>

 When I run android-sdk-linux_x86-1.0_r2/tools/emulator on linux-centos
 it happened.




>>>
>>>
>>>
>>
>>
>> --
>> Best regards to you and your family
>>
>>
>>
>>
>
> >
>


-- 
Best regards to you and your family

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: SDL init failure, reason is: No available video device

2009-01-14 Thread David Turner
You don't need to have SDL_VIDEODRIVER defined in your environment, the
emulator will by default try to find the X11 libraries on your system and
use them (then an error means that the libraries are not properly installed
or reachable by the application. this may be possible to installation
oddities on mixed 32/64 bit systems).

A good way to check this is to use "strace emulator" to see which
files/libraries the program is trying to open (it uses dlopen/dlsym to do
that)

A long time ago, someone reported a similar issue. the problem came from the
fact that they had SDL_VIDEODRIVER=directfb in their environment. This
variable is normally used to direct the SDL library to use a specific video
driver. But the one that comes with the Android emulator (statically linked
to it for ease of deployment) only supports X11.

hope this clarifies :-)

On Wed, Jan 14, 2009 at 10:46 AM, Anri Lau  wrote:

> All,
>
> Thank you Dave. I guess I did not set SDL_VIDEODRIVER. Could you show me
> where I can found the instruction to set the building environment?
>
> I have no any idea of how to start.
>
>
> 2009/1/14 David Turner 
>
>> hmmm. do you have SDL_VIDEODRIVER defined in your environment ?
>>
>> On Tue, Jan 13, 2009 at 1:18 PM, superspider  wrote:
>>
>>>
>>> When I run android-sdk-linux_x86-1.0_r2/tools/emulator on linux-centos
>>> it happened.
>>>
>>>
>>>
>>>
>>
>>
>>
>
>
> --
> Best regards to you and your family
>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: SDL init failure, reason is: No available video device

2009-01-14 Thread Anri Lau
All,

Thank you Dave. I guess I did not set SDL_VIDEODRIVER. Could you show me
where I can found the instruction to set the building environment?

I have no any idea of how to start.


2009/1/14 David Turner 

> hmmm. do you have SDL_VIDEODRIVER defined in your environment ?
>
> On Tue, Jan 13, 2009 at 1:18 PM, superspider  wrote:
>
>>
>> When I run android-sdk-linux_x86-1.0_r2/tools/emulator on linux-centos
>> it happened.
>>
>>
>>
>>
>
> >
>


-- 
Best regards to you and your family

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: SDL init failure, reason is: No available video device

2009-01-13 Thread David Turner
hmmm. do you have SDL_VIDEODRIVER defined in your environment ?

On Tue, Jan 13, 2009 at 1:18 PM, superspider  wrote:

>
> When I run android-sdk-linux_x86-1.0_r2/tools/emulator on linux-centos
> it happened.
>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---