Problems building
Kevin Rushforth
kevin.rushforth at oracle.com
Mon Apr 29 06:05:40 PDT 2013
It looks like you've stumbled on one of the oddities of our build system.
> [echo] OS arch: amd64
> [echo] Build arch: x86
I think this is the problem.
If you are building on Windows with a 64-bit JDK, you need to specify
"ant -Dbuild.arch=x64 ..." (now one might ask why we don't either set
this automatically, or at least do an early check and abort with an
informative error message, but we currently don't; the gradle build will
do this automatically).
-- Kevin
Artem Ananiev wrote:
> Hi, Jann,
>
> you don't need SWT/Qt installed on your system, they are only required
> to build JavaFX web component and JavaFX/SWT interoperability classes
> (FXCanvas).
>
> Something is wrong with your configuration, it's hard to say what
> exactly. Could you provide contents of your master/build/vs.properties
> file, please? Do you have Windows SDK 7.1 installed, or just 7.0a,
> which is shipeed with VS 2010 Express?
>
> Thanks,
>
> Artem
>
> On 4/26/2013 9:01 PM, Jann Schneider wrote:
>> Hi All,
>>
>> I have some issues building the rt project. I tried both variants:
>> ant and
>> gradle (dunno how fahr the gradle support is currently). First of all I
>> installed the latest cygwin incl. g++ and make and all these things
>> which
>> where mentioned on the wiki page. Then Icloned the master and the rt
>> stuff,
>> copied the jfxrt.jar from my jdk 1.8 and launched ant. This is what
>> it said
>> (running from the cygwin shell):
>>
>> Buildfile: C:\Users\jann\open-jfx\master\rt\build.xml
>>
>> -init-nativelibs-dir:
>>
>> -init-platform:
>> [echo] OS name: windows
>> [echo] OS arch: amd64
>> [echo] Build arch: x86
>> [echo] Build nativelib dir: bin
>>
>> -init-defs:
>> [echo] Property=Value
>> [echo] --------------
>> [echo] jfx.root.dir = C:\Users\jann\open-jfx\master
>> [echo] jfx.sdk.dir = C:\Users\jann\open-jfx\master/artifacts/sdk
>> [echo] jfx.deployed.dir =
>> C:\Users\jann\open-jfx\master/artifacts/deployed
>> [echo] platform.home = C:\Program Files\Java\jdk1.8.0
>> [echo] platform6u10.home = C:\Program Files\Java\jdk1.8.0
>> [echo] dxsdk.path =
>> [echo] qtsdk.path =
>> [echo] wmsdk.path =
>> [echo] swt.path =
>>
>> needs-vs-properties:
>>
>> needs-gplusplus:
>>
>> needs-make:
>>
>> needs-devenv:
>> [echo] Using C:\VCExpress.exe.
>>
>> BUILD FAILED
>> C:\Users\jann\open-jfx\master\build-src\build-windows-defs.xml:232: The
>> following error occurred while executing this line:
>> C:\Users\jann\open-jfx\master\build-defs.xml:187: ERROR: File check
>> failed,
>> missing: C:\VCExpress.exe
>>
>> Total time: 0 seconds
>>
>> Do I need to install all these libs like QT and SWT and these things
>> which
>> are mentioned in the properties section of the output? Also I'm a
>> little bit
>> confused bc it says: os arch = amd 64 but build arch x86 ??? I've also
>> checked that %VS100COMNTOoLS% points to the directory of Visual Studio.
>>
>> I used this environment:
>> OS: windows 7 X64
>> JDK: 1.8.0 X64
>> Ant: 1.9.0
>> Visual Studio: 2010 Express
>> G++: 4.5
>>
>> What else do you need to know about my setup?
>>
>> - Jann
>>
More information about the openjfx-dev
mailing list