Re: error while building JFX 8udev for iOS (2)

2014-07-29 Thread Stephen F Northover

Belay that.  This works for me in 8u-dev:

gradle -PCOMPILE_TARGETS=ios -PUSE_LIPO=true -PIOS_VERSION=7.1

As far as I know, RoboVM does not support lambdas so the result will not 
run.


Steve

On 2014-07-29, 8:51 AM, Tobias Bley wrote:

@Oracle, can you help me?



Anfang der weitergeleiteten Nachricht:

Von: Tobias Bley 
Betreff: error while building JFX 8udev for iOS
Datum: 15. Juli 2014 13:52:11 MESZ
An: "openjfx-dev@openjdk.java.net Mailing" 

Hi folks,

when I try to build JFX for iOS using „gradle sdk…“ i’m getting the following 
errors - is it a known issue?

Best regards,
Tobi



:graphics:ccIosPrismES2Arm
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSGLContext.c:67:34:
 warning: implicit declaration of function 'createContext' is invalid in C99 
[-Wimplicit-function-declaration]
 context = (jlong) (intptr_t) createContext((void *) (intptr_t) 
nativeShareCtxHandle,
  ^
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSGLContext.c:76:14:
 warning: implicit declaration of function 'makeCurrentContext' is invalid in 
C99 [-Wimplicit-function-declaration]
 result = makeCurrentContext((void *) (intptr_t) context);
  ^
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSGLContext.c:78:9:
 warning: implicit declaration of function 'printAndReleaseResources' is 
invalid in C99 [-Wimplicit-function-declaration]
 printAndReleaseResources(0, context,
 ^
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSGLContext.c:137:13:
 warning: implicit declaration of function 
'getProcAddress' is invalid in C99 [-Wimplicit-function-declaration]
 getProcAddress("glActiveTexture");
 ^
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSGLContext.c:239:5:
 warning: implicit declaration of function 'setSwapInterval' is invalid in C99 
[-Wimplicit-function-declaration]
 setSwapInterval((void *) jlong_to_ptr(ctxInfo->context), 0);
 ^
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSGLContext.c:59:22:
 warning:unused variable 'pfInfo' [-Wunused-variable]
 PixelFormatInfo* pfInfo =  (PixelFormatInfo* )jlong_to_ptr(nativePFInfo);
  ^
6 warnings generated.
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSGLDrawable.c:108:5:
 warning: implicit declaration of function 'flushBuffer' is invalid in C99 
[-Wimplicit-function-declaration]
 flushBuffer((void *) (intptr_t) ctxInfo->context);
 ^
1 warning generated.
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSWindowSystemInterface.m:42:13:
 warning: format specifies type 'unsigned int' but the argument has type 'void 
*' [-Wformat]
 shareContext, view, pixelFormat, viewNotReady);
 ^~~~
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSWindowSystemInterface.m:42:27:
 warning: format specifies type 'unsigned int' but the argument has type 'void 
*' [-Wformat]
 shareContext, view, pixelFormat, viewNotReady);
   ^~~~
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSWindowSystemInterface.m:41:70:
 warning: flag ' ' results in undefined behavior with 'n' conversion specifier 
[-Wformat]
 fprintf(stderr, "IOSWindowSystemInterface : share %x view %x pf % notready 
%\n",
 ~^~
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSWindowSystemInterface.m:42:33:
 warning: format specifies type 'int *' but the argument has type 'void *' 
[-Wformat]
 shareContext, view, pixelFormat, viewNotReady);
 ^~~
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSWindowSystemInterface.m:41:81:
 warning:invalid conversion specifier '
' [-Wformat-invalid-specifier]
 fprintf(stderr, "IOSWindowSystemInterface : share %x view %x pf % notready 
%\n",

~^
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-pris

Re: error while building JFX 8udev for iOS (2)

2014-07-29 Thread Stephen F Northover

Hi Tobias,

We are not building iOS regularly and it is quite possible that the 
build is broken.  Please enter a JIRA and we will look into fixing the 
build.


Steve

On 2014-07-29, 8:51 AM, Tobias Bley wrote:

@Oracle, can you help me?



Anfang der weitergeleiteten Nachricht:

Von: Tobias Bley 
Betreff: error while building JFX 8udev for iOS
Datum: 15. Juli 2014 13:52:11 MESZ
An: "openjfx-dev@openjdk.java.net Mailing" 

Hi folks,

when I try to build JFX for iOS using „gradle sdk…“ i’m getting the following 
errors - is it a known issue?

Best regards,
Tobi



:graphics:ccIosPrismES2Arm
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSGLContext.c:67:34:
 warning: implicit declaration of function 'createContext' is invalid in C99 
[-Wimplicit-function-declaration]
 context = (jlong) (intptr_t) createContext((void *) (intptr_t) 
nativeShareCtxHandle,
  ^
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSGLContext.c:76:14:
 warning: implicit declaration of function 'makeCurrentContext' is invalid in 
C99 [-Wimplicit-function-declaration]
 result = makeCurrentContext((void *) (intptr_t) context);
  ^
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSGLContext.c:78:9:
 warning: implicit declaration of function 'printAndReleaseResources' is 
invalid in C99 [-Wimplicit-function-declaration]
 printAndReleaseResources(0, context,
 ^
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSGLContext.c:137:13:
 warning: implicit declaration of function 
'getProcAddress' is invalid in C99 [-Wimplicit-function-declaration]
 getProcAddress("glActiveTexture");
 ^
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSGLContext.c:239:5:
 warning: implicit declaration of function 'setSwapInterval' is invalid in C99 
[-Wimplicit-function-declaration]
 setSwapInterval((void *) jlong_to_ptr(ctxInfo->context), 0);
 ^
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSGLContext.c:59:22:
 warning:unused variable 'pfInfo' [-Wunused-variable]
 PixelFormatInfo* pfInfo =  (PixelFormatInfo* )jlong_to_ptr(nativePFInfo);
  ^
6 warnings generated.
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSGLDrawable.c:108:5:
 warning: implicit declaration of function 'flushBuffer' is invalid in C99 
[-Wimplicit-function-declaration]
 flushBuffer((void *) (intptr_t) ctxInfo->context);
 ^
1 warning generated.
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSWindowSystemInterface.m:42:13:
 warning: format specifies type 'unsigned int' but the argument has type 'void 
*' [-Wformat]
 shareContext, view, pixelFormat, viewNotReady);
 ^~~~
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSWindowSystemInterface.m:42:27:
 warning: format specifies type 'unsigned int' but the argument has type 'void 
*' [-Wformat]
 shareContext, view, pixelFormat, viewNotReady);
   ^~~~
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSWindowSystemInterface.m:41:70:
 warning: flag ' ' results in undefined behavior with 'n' conversion specifier 
[-Wformat]
 fprintf(stderr, "IOSWindowSystemInterface : share %x view %x pf % notready 
%\n",
 ~^~
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSWindowSystemInterface.m:42:33:
 warning: format specifies type 'int *' but the argument has type 'void *' 
[-Wformat]
 shareContext, view, pixelFormat, viewNotReady);
 ^~~
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSWindowSystemInterface.m:41:81:
 warning:invalid conversion specifier '
' [-Wformat-invalid-specifier]
 fprintf(stderr, "IOSWindowSystemInterface : share %x view %x pf % notready 
%\n",

~^
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSWind

error while building JFX 8udev for iOS (2)

2014-07-29 Thread Tobias Bley
@Oracle, can you help me?


> Anfang der weitergeleiteten Nachricht:
> 
> Von: Tobias Bley 
> Betreff: error while building JFX 8udev for iOS
> Datum: 15. Juli 2014 13:52:11 MESZ
> An: "openjfx-dev@openjdk.java.net Mailing" 
> 
> Hi folks,
> 
> when I try to build JFX for iOS using „gradle sdk…“ i’m getting the following 
> errors - is it a known issue?
> 
> Best regards,
> Tobi
> 
> 
> 
> :graphics:ccIosPrismES2Arm
> /Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSGLContext.c:67:34:
>  warning: implicit declaration of function 'createContext' is invalid in C99 
> [-Wimplicit-function-declaration]
> context = (jlong) (intptr_t) createContext((void *) (intptr_t) 
> nativeShareCtxHandle,
>  ^
> /Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSGLContext.c:76:14:
>  warning: implicit declaration of function 'makeCurrentContext' is invalid in 
> C99 [-Wimplicit-function-declaration]
> result = makeCurrentContext((void *) (intptr_t) context);
>  ^
> /Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSGLContext.c:78:9:
>  warning: implicit declaration of function 'printAndReleaseResources' is 
> invalid in C99 [-Wimplicit-function-declaration]
> printAndReleaseResources(0, context,
> ^
> /Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSGLContext.c:137:13:
>  warning: implicit declaration of function 
> 'getProcAddress' is invalid in C99 [-Wimplicit-function-declaration]
> getProcAddress("glActiveTexture");
> ^
> /Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSGLContext.c:239:5:
>  warning: implicit declaration of function 'setSwapInterval' is invalid in 
> C99 [-Wimplicit-function-declaration]
> setSwapInterval((void *) jlong_to_ptr(ctxInfo->context), 0);
> ^
> /Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSGLContext.c:59:22:
>  warning:unused variable 'pfInfo' [-Wunused-variable]
> PixelFormatInfo* pfInfo =  (PixelFormatInfo* )jlong_to_ptr(nativePFInfo);
>  ^
> 6 warnings generated.
> /Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSGLDrawable.c:108:5:
>  warning: implicit declaration of function 'flushBuffer' is invalid in C99 
> [-Wimplicit-function-declaration]
> flushBuffer((void *) (intptr_t) ctxInfo->context);
> ^
> 1 warning generated.
> /Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSWindowSystemInterface.m:42:13:
>  warning: format specifies type 'unsigned int' but the argument has type 
> 'void *' [-Wformat]
> shareContext, view, pixelFormat, viewNotReady);
> ^~~~
> /Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSWindowSystemInterface.m:42:27:
>  warning: format specifies type 'unsigned int' but the argument has type 
> 'void *' [-Wformat]
> shareContext, view, pixelFormat, viewNotReady);
>   ^~~~
> /Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSWindowSystemInterface.m:41:70:
>  warning: flag ' ' results in undefined behavior with 'n' conversion 
> specifier [-Wformat]
> fprintf(stderr, "IOSWindowSystemInterface : share %x view %x pf % 
> notready %\n",
> ~^~
> /Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSWindowSystemInterface.m:42:33:
>  warning: format specifies type 'int *' but the argument has type 'void *' 
> [-Wformat]
> shareContext, view, pixelFormat, viewNotReady);
> ^~~
> /Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSWindowSystemInterface.m:41:81:
>  warning:invalid conversion specifier '
> ' [-Wformat-invalid-specifier]
> fprintf(stderr, "IOSWindowSystemInterface : share %x view %x pf % 
> notready %\n",
>

error while building JFX 8udev for iOS

2014-07-15 Thread Tobias Bley
Hi folks,

when I try to build JFX for iOS using „gradle sdk…“ i’m getting the following 
errors - is it a known issue?

Best regards,
Tobi



:graphics:ccIosPrismES2Arm
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSGLContext.c:67:34:
 warning: implicit declaration of function 'createContext' is invalid in C99 
[-Wimplicit-function-declaration]
context = (jlong) (intptr_t) createContext((void *) (intptr_t) 
nativeShareCtxHandle,
 ^
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSGLContext.c:76:14:
 warning: implicit declaration of function 'makeCurrentContext' is invalid in 
C99 [-Wimplicit-function-declaration]
result = makeCurrentContext((void *) (intptr_t) context);
 ^
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSGLContext.c:78:9:
 warning: implicit declaration of function 'printAndReleaseResources' is 
invalid in C99 [-Wimplicit-function-declaration]
printAndReleaseResources(0, context,
^
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSGLContext.c:137:13:
 warning: implicit declaration of function 
'getProcAddress' is invalid in C99 [-Wimplicit-function-declaration]
getProcAddress("glActiveTexture");
^
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSGLContext.c:239:5:
 warning: implicit declaration of function 'setSwapInterval' is invalid in C99 
[-Wimplicit-function-declaration]
setSwapInterval((void *) jlong_to_ptr(ctxInfo->context), 0);
^
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSGLContext.c:59:22:
 warning:unused variable 'pfInfo' [-Wunused-variable]
PixelFormatInfo* pfInfo =  (PixelFormatInfo* )jlong_to_ptr(nativePFInfo);
 ^
6 warnings generated.
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSGLDrawable.c:108:5:
 warning: implicit declaration of function 'flushBuffer' is invalid in C99 
[-Wimplicit-function-declaration]
flushBuffer((void *) (intptr_t) ctxInfo->context);
^
1 warning generated.
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSWindowSystemInterface.m:42:13:
 warning: format specifies type 'unsigned int' but the argument has type 'void 
*' [-Wformat]
shareContext, view, pixelFormat, viewNotReady);
^~~~
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSWindowSystemInterface.m:42:27:
 warning: format specifies type 'unsigned int' but the argument has type 'void 
*' [-Wformat]
shareContext, view, pixelFormat, viewNotReady);
  ^~~~
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSWindowSystemInterface.m:41:70:
 warning: flag ' ' results in undefined behavior with 'n' conversion specifier 
[-Wformat]
fprintf(stderr, "IOSWindowSystemInterface : share %x view %x pf % notready 
%\n",
~^~
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSWindowSystemInterface.m:42:33:
 warning: format specifies type 'int *' but the argument has type 'void *' 
[-Wformat]
shareContext, view, pixelFormat, viewNotReady);
^~~
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSWindowSystemInterface.m:41:81:
 warning:invalid conversion specifier '
' [-Wformat-invalid-specifier]
fprintf(stderr, "IOSWindowSystemInterface : share %x view %x pf % notready 
%\n",
   
~^
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSWindowSystemInterface.m:60:12:
 warning: incompatible integer to pointer conversion returning 'jlong' (aka 
'long long') from a function with result type 'void *' [-Wint-conversion]
return ptr_to_jlong(ctx);
   ^
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/ios-window-system.h:32:29:
 note: expanded from macro 'ptr_to_jlong'
#define ptr_to_jlong(value) (jlong)((long)(value))
^~
/Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSWindowSystemInterface.m:87:55:
 error: use of undeclared ident