Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » aplha just for windows?
aplha just for windows? [message #189982] Mon, 01 August 2005 07:27 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:Editpart selection
Next Topic:How to expand all the tree node in GEF TreeViewer
Goto Forum:
  


Current Time: Thu Dec 12 16:58:12 GMT 2024

Powered by FUDForum. Page generated in 0.03639 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top