Comment #2 on issue 125 by akurtakov: Compilation failure in swt module
under linux
http://code.google.com/p/piccolo2d/issues/detail?id=125
That's because you're using swt:swt-win32:3.0m8 as a dependency in the pom.
Just try changing it to org.eclipse.swt.gtk.linux:x86:3.3.0-v3346 and
you'll see the
difference. Note that locally I'm compiling with swt 3.5 which gives the
same error.
From the swt javadoc:
float height
The height of the font data in points (Warning: This field is
platform
dependent) IMPORTANT: This field is not part of the SWT public API.
Error log I'm seeing:
[loading
org/eclipse/swt/graphics/RGB.class(org/eclipse/swt/graphics:RGB.class)]
/home/akurtakov/tmp/piccolo2d.java/swt/src/main/java/edu/umd/cs/piccolox/swt/SWTGraphics2D.java:276:
cannot find symbol
symbol : constructor Font(java.lang.String,int,float)
location: class java.awt.Font
return new Font(fd[0].getName(), style, fd[0].height);
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en
-~----------~----~----~----~------~----~------~--~---