aplha just for windows? [message #189982] |
Mon, 01 August 2005 07:27 |
Eclipse User |
|
|
|
Originally posted by: smoreno.business-innovations.biz
Hello
when i try to use the setAlpha from org.eclipse.draw2d.Graphics
works fine in windows but in linux throws and exception:
Unable to load graphics library [Cairo is required]
(java.lang.UnsatisfiedLinkError:
is there a way to solve this problem???
--
Sergio Moreno
|
|
|
Re: aplha just for windows? [message #190023 is a reply to message #189982] |
Mon, 01 August 2005 16:45 |
Eclipse User |
|
|
|
Originally posted by: none.unknown.com
Using advanced graphics requires advanced graphics libraries on various
platforms. You'll run into this exception when the advanced graphics
library is not found (gdi+ on win32, cairo on linux). SWT is shipping cairo
with its 3.1 release for linux. I think you just need to add the cairo lib
to LD_LIBRARY_PATH for this to work. Windows XP comes with GDI+, but
Windows 2000 doesn't. So, this will still fail on Win2K unless you have
explicitly installed GDI+.
Pursue this further on the SWT newsgroup.
"Sergio Moreno" <smoreno@business-innovations.biz> wrote in message
news:dcl7va$n5q$2@news.eclipse.org...
> Hello
> when i try to use the setAlpha from org.eclipse.draw2d.Graphics
> works fine in windows but in linux throws and exception:
> Unable to load graphics library [Cairo is required]
> (java.lang.UnsatisfiedLinkError:
>
> is there a way to solve this problem???
> --
> Sergio Moreno
|
|
|
Powered by
FUDForum. Page generated in 0.03639 seconds