error while building JFX 8udev for iOS (2)

Tobias Bley tobi at ultramixer.com
Tue Jul 29 12:51:07 UTC 2014


@Oracle, can you help me?


> Anfang der weitergeleiteten Nachricht:
> 
> Von: Tobias Bley <tobi at ultramixer.com>
> Betreff: error while building JFX 8udev for iOS
> Datum: 15. Juli 2014 13:52:11 MESZ
> An: "openjfx-dev at openjdk.java.net Mailing" <openjfx-dev at openjdk.java.net>
> 
> 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 identifier 'GL_RENDERBUFFER'
>     [[EAGLContext currentContext] presentRenderbuffer:GL_RENDERBUFFER];
>                                                       ^
> 6 warnings and 1 error generated.
> /Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSGLFactory.c:55:5: warning: implicit declaration of function 'makeCurrentContext' is invalid in C99 [-Wimplicit-function-declaration]
>     makeCurrentContext(NULL);
>     ^
> /Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSGLFactory.c:57:9: warning: implicit declaration of function 'deletePixelFormat' is invalid in C99 [-Wimplicit-function-declaration]
>         deletePixelFormat((void *) (intptr_t) pf);
>         ^
> /Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSGLFactory.c:60:9: warning: implicit declaration of function 'deleteContext' is invalid in C99 [-Wimplicit-function-declaration]
>         deleteContext((void *) (intptr_t) ctx);
>         ^
> /Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSGLFactory.c:93:38: warning: implicit declaration of function 'createPixelFormat' is invalid in C99 [-Wimplicit-function-declaration]
>     pixelFormat = (jlong) (intptr_t) createPixelFormat(attrs);
>                                      ^
> /Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/ios/IOSGLFactory.c:96:34: warning: implicit declaration of function 'createContext' is invalid in C99 [-Wimplicit-function-declaration]
>     context = (jlong) (intptr_t) createContext(NULL, NULL,
>                                  ^
> 5 warnings generated.
> /Applications/Developer/Java/open-jfx-graphics-8u-dev2/rt/modules/graphics/src/main/native-prism-es2/GLFactory.c:81:11: warning: unused variable 'next_token' [-Wunused-variable]
>     char *next_token = NULL;
>           ^
> 1 warning generated.
> :graphics:ccIosPrismES2Arm FAILED



More information about the openjfx-dev mailing list