Thanks, Artem.

Yes, the version of Visual Studio that we build JavaFX with must be tied to that of the JDK. VS 2010 SP1 for JDK 8 and 8u. Probably VS 2013 for JDK 9.

Prior to that, we may want to fix any issues that prevent developers from building on VS 2012 or 2013.

-- Kevin

Artem Ananiev wrote:

On 3/8/2014 1:04 AM, 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?

I was able to build FX with VS 2012 some time ago. The changes were mostly cosmetic (caused by different Visual Studio and Platform SDK directory layouts), except static C++ runtime linkage. And, of course, FX should be aligned with JDK, which is shipped with VS 2010 runtime (will it be changed in JDK9?), otherwise FX will have to ship with its own runtime libraries.



-- 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.


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
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

and object

12:35:16.362 [QUIET] [system.out]

: 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]
'command 'C:/Program Files (x86)/Microsoft Visual Studio
12.0/VC/BIN/amd64/link.exe'' finished with exit value 1319 (state:
12:35:16.368 [DEBUG]
Finished configuring with level: DEBUG, configurers:
12:35:16.369 [DEBUG]
Finished executing task ':graphics:linkWinFont'
12:35:16.369 [LIFECYCLE] [org.gradle.TaskExecutionLogger]
:graphics:linkWinFont FAILED
12:35:16.369 [INFO]
: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
29.213 secs

Reply via email to