Re: Poor font rendering..

2014-03-07 Thread Robert Fisher
Hi Felipe, Hi Phil,

Thanks for the tips. Phil, your program yielded the following output:

Text-specific antialiasing enable key : LCD HRGB antialiasing text mode
Text-specific LCD contrast key : 120

 I tried all of the 5 settings that Felix mentioned. Here are my results for 
the default font (Segoe UI 9pt, black):

http://i.imgur.com/45FewcL.png

The difference in quality between the JavaFX images and the rest is too great 
to be chalked up to personal preferences. Whether it's the fault of JavaFX, or 
the native rendering mechanism being used, or my own configuration is another 
question. 

Cheers,
Rob




[8u20] Review request for RT-20434: Image loading in j2d incorrectly handles gray scale

2014-03-07 Thread Vadim Pakhnushev

Jim, Kevin,
Please review the fix:

https://javafx-jira.kenai.com/browse/RT-20434
http://cr.openjdk.java.net/~vadim/RT-20434/webrev.00/

Thanks,
Vadim


hg: openjfx/8u-dev/rt: RT-8628: JPEGImageLoader_decompressIndirect has incorrect text in exception message.

2014-03-07 Thread hang . vo
Changeset: b2217904cc6a
Author:vadim
Date:  2014-03-07 16:45 +0400
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/b2217904cc6a

RT-8628: JPEGImageLoader_decompressIndirect has incorrect text in exception 
message.
Summary: fix exception message

! modules/graphics/src/main/native-iio/jpegloader.c



hg: openjfx/8u-dev/rt: 4 new changesets

2014-03-07 Thread hang . vo
Changeset: 050af50b4a0e
Author:Anthony Petrov 
Date:  2014-03-07 17:09 +0400
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/050af50b4a0e

RT-36132: [Windows] Shift+Scroll Wheel should do horizontal scrolling on Windows
Summary: Emulate horizontal scrolling if Shift is pressed

! modules/graphics/src/main/native-glass/win/ViewContainer.cpp

Changeset: 04b694f43543
Author:Kirill Kirichenko 
Date:  2014-03-07 17:11 +0400
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/04b694f43543

RT-36058: segfault when streaming mp3

! 
modules/media/src/main/native/gstreamer/plugins/progressbuffer/progressbuffer.c
! modules/media/src/main/native/gstreamer/projects/linux/fxplugins/Makefile

Changeset: d3e5f81ba638
Author:David Grieve
Date:  2014-03-03 08:56 -0500
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/d3e5f81ba638

[DOCS-ONLY] RT-36081: fix broken link to javafx.css package-summary.html

! modules/graphics/src/main/docs/javafx/scene/doc-files/cssref.html

Changeset: 6b2634b9f3bc
Author:David Grieve
Date:  2014-03-06 11:06 -0500
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/6b2634b9f3bc

RT-33073: MenuItem is wrapped in a container. Need to return MenuItem as the 
container's styleable parent

! 
modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ContextMenuContent.java
! modules/controls/src/main/java/javafx/scene/control/ContextMenu.java
! modules/controls/src/main/java/javafx/scene/control/MenuItem.java
! modules/controls/src/main/java/javafx/scene/control/PopupControl.java



Moved samples 3DViewer and Modena from experiments to samples

2014-03-07 Thread David Hill


A heads up.
I just moved samples 3DViewer and Modena from experiments to samples.

If you are going to work on these samples, you may want to sync up soon to 
avoid later fun.

Dave

--
David Hill 
Java Embedded Development

"We trained hard, but it seemed that every time we were beginning
to form up into teams, we would be reorganized. I was to learn later
in life that we tend to meet any new situation by reorganizing;
and a wonderful method it can be for creating the illusion of progress
while producing confusion, inefficiency, and demoralization."
-- Unknown (misattributed to Petronius Arbiter, 210AD).



hg: openjfx/8u-dev/rt: RT-36000 Move 3DViewer and Modena from experiments to samples

2014-03-07 Thread hang . vo
Changeset: c859882323e3
Author:ddhill
Date:  2014-03-07 11:13 -0500
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/c859882323e3

RT-36000 Move 3DViewer and Modena from experiments to samples
Reviewed-by: kcr

- apps/experiments/3DViewer/.idea/.name
- apps/experiments/3DViewer/.idea/compiler.xml
- apps/experiments/3DViewer/.idea/copyright/profiles_settings.xml
- apps/experiments/3DViewer/.idea/encodings.xml
- apps/experiments/3DViewer/.idea/misc.xml
- apps/experiments/3DViewer/.idea/modules.xml
- apps/experiments/3DViewer/.idea/runConfigurations/3DViewer.xml
- apps/experiments/3DViewer/.idea/scopes/scope_settings.xml
- apps/experiments/3DViewer/.idea/vcs.xml
- apps/experiments/3DViewer/3DViewer.iml
- apps/experiments/3DViewer/build.gradle
- apps/experiments/3DViewer/build.xml
- apps/experiments/3DViewer/manifest.mf
- apps/experiments/3DViewer/nbproject/build-impl.xml
- apps/experiments/3DViewer/nbproject/genfiles.properties
- apps/experiments/3DViewer/nbproject/project.properties
- apps/experiments/3DViewer/nbproject/project.xml
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/exporters/fxml/FXMLExporter.java
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/exporters/javasource/JavaSourceExporter.java
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/height2normal/Height2NormalApp.java
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/height2normal/Height2NormalConverter.java
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/importers/Importer.java
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/importers/Importer3D.java
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/importers/ImporterFinder.java
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/importers/Optimizer.java
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/importers/SmoothingGroups.java
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/importers/Validator.java
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/importers/dae/DaeImporter.java
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/importers/max/MaxAseParser.java
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/importers/max/MaxAseTokenizer.java
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/importers/max/MaxData.java
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/importers/max/MaxLoader.java
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/importers/maya/Frame.java
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/importers/maya/Joint.java
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/importers/maya/Loader.java
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/importers/maya/MAttribute.java
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/importers/maya/MConnection.java
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/importers/maya/MEnv.java
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/importers/maya/MNode.java
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/importers/maya/MNodeType.java
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/importers/maya/MObject.java
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/importers/maya/MPath.java
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/importers/maya/MayaAnimationCurveInterpolator.java
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/importers/maya/MayaGroup.java
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/importers/maya/MayaImporter.java
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/importers/maya/Xform.java
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/importers/maya/parser/MParser.java
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/importers/maya/types/MArrayType.java
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/importers/maya/types/MAttributeAliasType.java
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/importers/maya/types/MBoolType.java
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/importers/maya/types/MCharacterMappingType.java
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/importers/maya/types/MComponentListType.java
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/importers/maya/types/MCompoundType.java
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/importers/maya/types/MDataType.java
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/importers/maya/types/MFloat2ArrayType.java
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/importers/maya/types/MFloat2Type.java
- 
apps/experiments/3DViewer/src/main/java/com/javafx/experiments/im

No split-cursor inside JFXPanel

2014-03-07 Thread Werner Lehmann

Hi,

inside a JFXPanel we don't see the split-cursors (e.g. east/west). This 
is a known issue:


[#RT-26235] SplitPane in JFXPanel: Mouse cursor not changed
https://javafx-jira.kenai.com/browse/RT-26235

This affects regular splitpanes as well as custom nodes which just use 
those cursors. The fix version for this is 9. This is going to be a 
highly visible issue in our application when we convert more parts to 
JFXPanels this year. Can this fix be done for one of the upcoming 8uXX 
releases instead?


Thanks,
Werner


hg: openjfx/8u-dev/rt: 3 new changesets

2014-03-07 Thread hang . vo
Changeset: 8388fcf240cd
Author:snorthov
Date:  2014-03-07 12:56 -0500
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/8388fcf240cd

INTELLIJ ONLY: fix project files for 3DViewer and Modena

! .idea/3DViewer.iml
! .idea/Modena.iml

Changeset: 53915091d14c
Author:snorthov
Date:  2014-03-07 12:57 -0500
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/53915091d14c

ECLIPSE ONLY: fix project files for 3DViewer and Modena

! apps/experiments/.classpath
! apps/samples/.classpath

Changeset: 5a127bee1479
Author:snorthov
Date:  2014-03-07 12:59 -0500
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/5a127bee1479

INTELLIJ ONLY: remove unused project file (all files are in .idea)

- apps/samples/3DViewer/3DViewer.iml



hg: openjfx/8u-dev/rt: Complete work for RT-35243. Cursor now works, rendering works.

2014-03-07 Thread hang . vo
Changeset: 600a63b0323c
Author:lisa.se...@oracle.com
Date:  2014-03-07 13:31 -0500
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/600a63b0323c

Complete work for RT-35243.  Cursor now works, rendering works.

Reviewed by dblaukopf

! buildSrc/armv6hf.gradle
! modules/graphics/src/main/java/com/sun/glass/ui/monocle/AcceleratedScreen.java
! modules/graphics/src/main/java/com/sun/glass/ui/monocle/NativePlatform.java
! 
modules/graphics/src/main/java/com/sun/glass/ui/monocle/NativePlatformFactory.java
+ 
modules/graphics/src/main/java/com/sun/glass/ui/monocle/dispman/DispmanAcceleratedScreen.java
+ 
modules/graphics/src/main/java/com/sun/glass/ui/monocle/dispman/DispmanCursor.java
+ 
modules/graphics/src/main/java/com/sun/glass/ui/monocle/dispman/DispmanPlatform.java
+ 
modules/graphics/src/main/java/com/sun/glass/ui/monocle/dispman/DispmanPlatformFactory.java
+ 
modules/graphics/src/main/java/com/sun/glass/ui/monocle/dispman/DispmanScreen.java
! modules/graphics/src/main/native-glass/monocle/EGL.c
+ 
modules/graphics/src/main/native-glass/monocle/dispman/DispmanAcceleratedScreen.c
+ modules/graphics/src/main/native-glass/monocle/dispman/DispmanCursor.c
+ modules/graphics/src/main/native-glass/monocle/dispman/DispmanScreen.c
+ modules/graphics/src/main/native-glass/monocle/dispman/wrapped_bcm.h



ReactFX, UndoFX, RichTextFX in Sonatype repository

2014-03-07 Thread Tomas Mikula
Hi all,

I just want to quickly inform that all my JavaFX-related projects,
ReactFX [1], UndoFX [2] and RichTextFX [3] (previously known as
CodeAreaFX), now have snapshots deployed to the Sonatype OSS
repository.

[1] http://www.reactfx.org
[2] https://github.com/TomasMikula/UndoFX
[3] https://github.com/TomasMikula/RichTextFX

Tomas


[announce] FXMisc: umbrella project for various JavaFX-related projects.

2014-03-07 Thread Tomas Mikula
I started FXMisc (www.fxmisc.org) to help developers get their project
artifacts to Sonatype/Maven repositories under
'org.fxmisc.yourproject' groupId.

If you
 * don't think that your project deserves a dedicated domain name (yet);
 * find 'org.fxmisc.yourproject' more appealing than
'com.github.yourname.yourproject';
 * don't want or cannot contribute your project to another
JavaFX-related project,
then FXMisc might be for you.

Any JavaFX-related project is welcome to join (Scala, Groovy, ...
projects are welcome as well).

I have put two of my projects under FXMisc so far.

Best regards,
Tomas


hg: openjfx/8u-dev/rt: [TOYS-ONLY] Add HelloDatePicker to toys

2014-03-07 Thread hang . vo
Changeset: 12161db2a30a
Author:David Grieve
Date:  2014-03-07 14:00 -0500
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/12161db2a30a

[TOYS-ONLY] Add HelloDatePicker to toys

+ apps/toys/Hello/src/main/java/hello/HelloDatePicker.java



Build Errors on Windows 8.1 / VS2010 Pro / JDK 1.8.0-b132

2014-03-07 Thread Kay McCormick
Here is what I see as the relevant portions of the build log. This is
beyond my ability to fix easily at this point. I would attach the entire
compile log but I compiled with --debug and its 4mb. Let me know if I
should provide more information, file a bug, or direct my problem to
another forum.

Kay

12:35:16.275 [INFO] [org.gradle.process.internal.DefaultExecHandle]
Successfully started process 'command 'C:/Program Files (x86)/Microsoft
Visual Studio 12.0/VC/BIN/amd64/link.exe''
12:35:16.329 [QUIET] [system.out] libcpmt.lib(xthrow.obj) : error LNK2038:
mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't
match value 'MD_DynamicRelease' in directwrite.obj
12:35:16.332 [QUIET] [system.out] libcpmt.lib(syserror.obj) : error
LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease'
doesn't match value 'MD_DynamicRelease' in directwrite.obj
12:35:16.336 [QUIET] [system.out]Creating library
C:\Users\kay\Documents\current\openjfx\rt\modules\graphics\build\libs\font\win\javafx_font.lib
and object
C:\Users\kay\Documents\current\openjfx\rt\modules\graphics\build\libs\font\win\javafx_font.exp
12:35:16.362 [QUIET] [system.out]
C:\Users\kay\Documents\current\openjfx\rt\modules\graphics\build\libs\font\win\javafx_font.dll
: fatal error LNK1319: 2 mismatches detected
12:35:16.368 [DEBUG] [org.gradle.process.internal.DefaultExecHandle]
Changing state to: FAILED
12:35:16.368 [INFO] [org.gradle.process.internal.DefaultExecHandle] Process
'command 'C:/Program Files (x86)/Microsoft Visual Studio
12.0/VC/BIN/amd64/link.exe'' finished with exit value 1319 (state: FAILED)
12:35:16.368 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer]
Finished configuring with level: DEBUG, configurers:
[org.gradle.logging.internal.OutputEventRenderer@1593948d,
org.gradle.logging.internal.logback.LogbackLoggingConfigurer@1b604f19,
org.gradle.logging.internal.JavaUtilLoggingConfigurer@7823a2f9]
12:35:16.369 [DEBUG]
[org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter]
Finished executing task ':graphics:linkWinFont'
12:35:16.369 [LIFECYCLE] [org.gradle.TaskExecutionLogger]
:graphics:linkWinFont FAILED
12:35:16.369 [INFO]
[org.gradle.execution.taskgraph.AbstractTaskPlanExecutor]
:graphics:linkWinFont (Thread[main,5,main]) completed. Took 0.104 secs.
12:35:16.369 [DEBUG]
[org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] Task worker
[Thread[main,5,main]] finished, busy: 3 mins 14.44 secs, idle: 0.017 secs
12:35:16.390 [LIFECYCLE] [org.gradle.BuildResultLogger]
12:35:16.390 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED
12:35:16.390 [LIFECYCLE] [org.gradle.BuildResultLogger]
12:35:16.390 [LIFECYCLE] [org.gradle.BuildResultLogger] Total time: 3 mins
29.213 secs


Build Errors on Windows 8.1 / VS2012 Pro / JDK 1.8.0-b132 [was: Build Errors on Windows 8.1 / VS2010 Pro / JDK 1.8.0-b132]

2014-03-07 Thread Kevin Rushforth

Hi Kay,

It looks like you are using VS2012 not 2010. We build JavaFX with VS 
2010, and have some issues with 2012. However, we will need to resolve 
them at some point.


Maybe someone else on the list has had luck building with VS 2012?

-- Kevin


Kay McCormick wrote:

Here is what I see as the relevant portions of the build log. This is
beyond my ability to fix easily at this point. I would attach the entire
compile log but I compiled with --debug and its 4mb. Let me know if I
should provide more information, file a bug, or direct my problem to
another forum.

Kay

12:35:16.275 [INFO] [org.gradle.process.internal.DefaultExecHandle]
Successfully started process 'command 'C:/Program Files (x86)/Microsoft
Visual Studio 12.0/VC/BIN/amd64/link.exe''
12:35:16.329 [QUIET] [system.out] libcpmt.lib(xthrow.obj) : error LNK2038:
mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't
match value 'MD_DynamicRelease' in directwrite.obj
12:35:16.332 [QUIET] [system.out] libcpmt.lib(syserror.obj) : error
LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease'
doesn't match value 'MD_DynamicRelease' in directwrite.obj
12:35:16.336 [QUIET] [system.out]Creating library
C:\Users\kay\Documents\current\openjfx\rt\modules\graphics\build\libs\font\win\javafx_font.lib
and object
C:\Users\kay\Documents\current\openjfx\rt\modules\graphics\build\libs\font\win\javafx_font.exp
12:35:16.362 [QUIET] [system.out]
C:\Users\kay\Documents\current\openjfx\rt\modules\graphics\build\libs\font\win\javafx_font.dll
: fatal error LNK1319: 2 mismatches detected
12:35:16.368 [DEBUG] [org.gradle.process.internal.DefaultExecHandle]
Changing state to: FAILED
12:35:16.368 [INFO] [org.gradle.process.internal.DefaultExecHandle] Process
'command 'C:/Program Files (x86)/Microsoft Visual Studio
12.0/VC/BIN/amd64/link.exe'' finished with exit value 1319 (state: FAILED)
12:35:16.368 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer]
Finished configuring with level: DEBUG, configurers:
[org.gradle.logging.internal.OutputEventRenderer@1593948d,
org.gradle.logging.internal.logback.LogbackLoggingConfigurer@1b604f19,
org.gradle.logging.internal.JavaUtilLoggingConfigurer@7823a2f9]
12:35:16.369 [DEBUG]
[org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter]
Finished executing task ':graphics:linkWinFont'
12:35:16.369 [LIFECYCLE] [org.gradle.TaskExecutionLogger]
:graphics:linkWinFont FAILED
12:35:16.369 [INFO]
[org.gradle.execution.taskgraph.AbstractTaskPlanExecutor]
:graphics:linkWinFont (Thread[main,5,main]) completed. Took 0.104 secs.
12:35:16.369 [DEBUG]
[org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] Task worker
[Thread[main,5,main]] finished, busy: 3 mins 14.44 secs, idle: 0.017 secs
12:35:16.390 [LIFECYCLE] [org.gradle.BuildResultLogger]
12:35:16.390 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED
12:35:16.390 [LIFECYCLE] [org.gradle.BuildResultLogger]
12:35:16.390 [LIFECYCLE] [org.gradle.BuildResultLogger] Total time: 3 mins
29.213 secs
  


Re: Build Errors on Windows 8.1 / VS2013 Pro / JDK 1.8.0-b132 [was: Build Errors on Windows 8.1 / VS2010 Pro / JDK 1.8.0-b132]

2014-03-07 Thread Kevin Rushforth

Actually, I misread that. You are trying to build with Visual Studio 2013.

2010 == Microsoft Visual Studio 10.0
2012 == Microsoft Visual Studio 11.0
2013 == Microsoft Visual Studio 12.0

You might want to get VS 2010 to build JavaFX.

-- Kevin


Kevin Rushforth wrote:

Hi Kay,

It looks like you are using VS2012 not 2010. We build JavaFX with VS 
2010, and have some issues with 2012. However, we will need to resolve 
them at some point.


Maybe someone else on the list has had luck building with VS 2012?

-- Kevin


Kay McCormick wrote:

Here is what I see as the relevant portions of the build log. This is
beyond my ability to fix easily at this point. I would attach the entire
compile log but I compiled with --debug and its 4mb. Let me know if I
should provide more information, file a bug, or direct my problem to
another forum.

Kay

12:35:16.275 [INFO] [org.gradle.process.internal.DefaultExecHandle]
Successfully started process 'command 'C:/Program Files (x86)/Microsoft
Visual Studio 12.0/VC/BIN/amd64/link.exe''
12:35:16.329 [QUIET] [system.out] libcpmt.lib(xthrow.obj) : error 
LNK2038:

mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't
match value 'MD_DynamicRelease' in directwrite.obj
12:35:16.332 [QUIET] [system.out] libcpmt.lib(syserror.obj) : error
LNK2038: mismatch detected for 'RuntimeLibrary': value 
'MT_StaticRelease'

doesn't match value 'MD_DynamicRelease' in directwrite.obj
12:35:16.336 [QUIET] [system.out]Creating library
C:\Users\kay\Documents\current\openjfx\rt\modules\graphics\build\libs\font\win\javafx_font.lib 


and object
C:\Users\kay\Documents\current\openjfx\rt\modules\graphics\build\libs\font\win\javafx_font.exp 


12:35:16.362 [QUIET] [system.out]
C:\Users\kay\Documents\current\openjfx\rt\modules\graphics\build\libs\font\win\javafx_font.dll 


: fatal error LNK1319: 2 mismatches detected
12:35:16.368 [DEBUG] [org.gradle.process.internal.DefaultExecHandle]
Changing state to: FAILED
12:35:16.368 [INFO] [org.gradle.process.internal.DefaultExecHandle] 
Process

'command 'C:/Program Files (x86)/Microsoft Visual Studio
12.0/VC/BIN/amd64/link.exe'' finished with exit value 1319 (state: 
FAILED)
12:35:16.368 [DEBUG] 
[org.gradle.logging.internal.DefaultLoggingConfigurer]

Finished configuring with level: DEBUG, configurers:
[org.gradle.logging.internal.OutputEventRenderer@1593948d,
org.gradle.logging.internal.logback.LogbackLoggingConfigurer@1b604f19,
org.gradle.logging.internal.JavaUtilLoggingConfigurer@7823a2f9]
12:35:16.369 [DEBUG]
[org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter]
Finished executing task ':graphics:linkWinFont'
12:35:16.369 [LIFECYCLE] [org.gradle.TaskExecutionLogger]
:graphics:linkWinFont FAILED
12:35:16.369 [INFO]
[org.gradle.execution.taskgraph.AbstractTaskPlanExecutor]
:graphics:linkWinFont (Thread[main,5,main]) completed. Took 0.104 secs.
12:35:16.369 [DEBUG]
[org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] Task worker
[Thread[main,5,main]] finished, busy: 3 mins 14.44 secs, idle: 0.017 
secs

12:35:16.390 [LIFECYCLE] [org.gradle.BuildResultLogger]
12:35:16.390 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED
12:35:16.390 [LIFECYCLE] [org.gradle.BuildResultLogger]
12:35:16.390 [LIFECYCLE] [org.gradle.BuildResultLogger] Total time: 3 
mins

29.213 secs
  


Re: Build Errors on Windows 8.1 / VS2012 Pro / JDK 1.8.0-b132 [was: Build Errors on Windows 8.1 / VS2010 Pro / JDK 1.8.0-b132]

2014-03-07 Thread Kay McCormick
Great catch - I have both IDEs installed. Prior to installing VS2010, I had
changed rt/buildSrc/genVSproperties.bat to reference VS120COMNTOOLS instead
of VS100COMNTOOLS and forgot to back out that change. I did have to make
some changes to win.gradle to adjust the windows sdk tool paths: Further,
VS2010 express failed to compile, so I installed Pro.

--- a/buildSrc/win.gradle   Thu Mar 06 17:50:58 2014 -0500
+++ b/buildSrc/win.gradle   Fri Mar 07 21:32:49 2014 +
@@ -131,10 +131,18 @@
   : "$WINDOWS_VS_VSINSTALLDIR/VC/BIN")
 def compiler = IS_COMPILE_PARFAIT ? "cl.exe" :
cygpath("$msvcBinDir/cl.exe")
 def linker = IS_COMPILE_PARFAIT ? "link.exe" :
cygpath("$msvcBinDir/link.exe")
-ext.RC = cygpath("$WINDOWS_SDK_DIR/Bin/RC.Exe")
-def rcCompiler = cygpath("$WINDOWS_SDK_DIR/Bin/RC.Exe")
+ext.RC = (IS_64
+  ? cygpath("$WINDOWS_SDK_DIR/Bin/x64/RC.Exe")
+  : cygpath("$WINDOWS_SDK_DIR/Bin/x86/RC.Exe"))
+def rcCompiler = (IS_64
+  ? cygpath("$WINDOWS_SDK_DIR/Bin/x64/RC.Exe")
+  : cygpath("$WINDOWS_SDK_DIR/Bin/x86/RC.Exe"))
+
 ext.FXC = cygpath("$WINDOWS_DXSDK_DIR/utilities/bin/x86/fxc.exe")
-ext.MC = cygpath("$WINDOWS_SDK_DIR/Bin/mt.exe")
+ext.MC = (IS_64
+  ? cygpath("$WINDOWS_SDK_DIR/Bin/x64/mt.exe")
+  : cygpath("$WINDOWS_SDK_DIR/Bin/x86/mt.exe"))
+
 // This next line is based on a line in the ant build scripts, but doesn't
seem to point to the right place
 //ext.MSVCR = cygpath("${WINDOWS_VS_MSVCDIR}/redist/${IS_64 ? 'x64' :
'x86'}/Microsoft.VC${WINDOWS_VS_VER}.CRT/msvcr${WINDOWS_VS_VER}.dll")




On Fri, Mar 7, 2014 at 1:04 PM, Kevin Rushforth
wrote:

> Hi Kay,
>
> It looks like you are using VS2012 not 2010. We build JavaFX with VS 2010,
> and have some issues with 2012. However, we will need to resolve them at
> some point.
>
> Maybe someone else on the list has had luck building with VS 2012?
>
> -- Kevin
>
>
> Kay McCormick wrote:
>
>> Here is what I see as the relevant portions of the build log. This is
>> beyond my ability to fix easily at this point. I would attach the entire
>> compile log but I compiled with --debug and its 4mb. Let me know if I
>> should provide more information, file a bug, or direct my problem to
>> another forum.
>>
>> Kay
>>
>> 12:35:16.275 [INFO] [org.gradle.process.internal.DefaultExecHandle]
>> Successfully started process 'command 'C:/Program Files (x86)/Microsoft
>> Visual Studio 12.0/VC/BIN/amd64/link.exe''
>> 12:35:16.329 [QUIET] [system.out] libcpmt.lib(xthrow.obj) : error LNK2038:
>> mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't
>> match value 'MD_DynamicRelease' in directwrite.obj
>> 12:35:16.332 [QUIET] [system.out] libcpmt.lib(syserror.obj) : error
>> LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease'
>> doesn't match value 'MD_DynamicRelease' in directwrite.obj
>> 12:35:16.336 [QUIET] [system.out]Creating library
>> C:\Users\kay\Documents\current\openjfx\rt\modules\
>> graphics\build\libs\font\win\javafx_font.lib
>> and object
>> C:\Users\kay\Documents\current\openjfx\rt\modules\
>> graphics\build\libs\font\win\javafx_font.exp
>> 12:35:16.362 [QUIET] [system.out]
>> C:\Users\kay\Documents\current\openjfx\rt\modules\
>> graphics\build\libs\font\win\javafx_font.dll
>> : fatal error LNK1319: 2 mismatches detected
>> 12:35:16.368 [DEBUG] [org.gradle.process.internal.DefaultExecHandle]
>> Changing state to: FAILED
>> 12:35:16.368 [INFO] [org.gradle.process.internal.DefaultExecHandle]
>> Process
>> 'command 'C:/Program Files (x86)/Microsoft Visual Studio
>> 12.0/VC/BIN/amd64/link.exe'' finished with exit value 1319 (state: FAILED)
>> 12:35:16.368 [DEBUG] [org.gradle.logging.internal.
>> DefaultLoggingConfigurer]
>> Finished configuring with level: DEBUG, configurers:
>> [org.gradle.logging.internal.OutputEventRenderer@1593948d,
>> org.gradle.logging.internal.logback.LogbackLoggingConfigurer@1b604f19,
>> org.gradle.logging.internal.JavaUtilLoggingConfigurer@7823a2f9]
>> 12:35:16.369 [DEBUG]
>> [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter]
>> Finished executing task ':graphics:linkWinFont'
>> 12:35:16.369 [LIFECYCLE] [org.gradle.TaskExecutionLogger]
>> :graphics:linkWinFont FAILED
>> 12:35:16.369 [INFO]
>> [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor]
>> :graphics:linkWinFont (Thread[main,5,main]) completed. Took 0.104 secs.
>> 12:35:16.369 [DEBUG]
>> [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] Task worker
>> [Thread[main,5,main]] finished, busy: 3 mins 14.44 secs, idle: 0.017 secs
>> 12:35:16.390 [LIFECYCLE] [org.gradle.BuildResultLogger]
>> 12:35:16.390 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED
>> 12:35:16.390 [LIFECYCLE] [org.gradle.BuildResultLogger]
>> 12:35:16.390 [LIFECYCLE] [org.gradle.BuildResultLogger] Total time: 3 mins
>> 29.213 secs
>>
>>
>