Hello
I am currently installing JOGL but get strange errors. Basically, I managed to install JOGL dependencies (e.g apache-ant. jdk) and also successfully installed gluegen. The problem is when i attempt to install JOGL using ant command. Below is a piece of errors that am getting: setup.java.home.dir.nonmacosx: setup.java.home.dir.macosx: setup.java.home.dir: [echo] java.home.dir /usr/java/jdk1.8.0_25/jre/.. [echo] java.includes.dir /usr/java/jdk1.8.0_25/jre/../include gluegen.cpptasks.configure.compiler: gluegen.cpptasks.declare.compiler.environment: gluegen.cpptasks.declare.compiler.win32.vc6: gluegen.cpptasks.declare.compiler.win32.vc7: gluegen.cpptasks.declare.compiler.win32.vc8: gluegen.cpptasks.declare.compiler.win32.vc8_x64: gluegen.cpptasks.declare.compiler.win32.vc9: gluegen.cpptasks.declare.compiler.win32.mingw: gluegen.cpptasks.declare.compiler.win64.mingw: gluegen.cpptasks.declare.compiler.win32: gluegen.cpptasks.declare.compiler.linux.x86: [echo] Linux.x86 gluegen.cpptasks.declare.compiler.linux.amd64: gluegen.cpptasks.declare.compiler.linux.ia64: gluegen.cpptasks.declare.compiler.linux.armv6: gluegen.cpptasks.declare.compiler.linux.aarch64: gluegen.cpptasks.declare.compiler.linux.alpha: gluegen.cpptasks.declare.compiler.linux.hppa: gluegen.cpptasks.declare.compiler.linux.mips: gluegen.cpptasks.declare.compiler.linux.mipsel: gluegen.cpptasks.declare.compiler.linux.ppc: gluegen.cpptasks.declare.compiler.linux.s390: gluegen.cpptasks.declare.compiler.linux.s390x: gluegen.cpptasks.declare.compiler.linux.sparc: gluegen.cpptasks.declare.compiler.linux: gluegen.cpptasks.declare.compiler.solaris32: gluegen.cpptasks.declare.compiler.solaris.sparcv9: gluegen.cpptasks.declare.compiler.solaris.amd64: gluegen.cpptasks.declare.compiler.solaris: gluegen.cpptasks.declare.compiler.macosx: gluegen.cpptasks.declare.compiler.freebsd.x86: gluegen.cpptasks.declare.compiler.freebsd.amd64: gluegen.cpptasks.declare.compiler.freebsd: gluegen.cpptasks.declare.compiler.hpux: gluegen.cpptasks.declare.compiler: [echo] java.lib.dir.platform: /usr/java/jdk1.8.0_25/jre/../jre/lib/i386 gluegen.cpptasks.setup.compiler: c.configure.1: c.configure.win32.vc: c.configure.win32.mingw: c.configure.win64.mingw: c.configure.win32: c.configure.linux.x86: [echo] Linux.x86 [echo] linker.cfg.id.oswin linker.cfg.linux.x86.newt.x11 c.configure.linux.amd64: c.configure.linux.armv6: c.configure.linux.aarch64: c.configure.linux.hppa: c.configure.linux.mips: c.configure.linux.mipsel: c.configure.linux.ppc: c.configure.linux.s390: c.configure.linux.sparc: c.configure.linux.ia64: c.configure.x11: c.configure.linux: c.configure.android: c.configure.solaris32: c.configure.solaris.sparcv9: c.configure.solaris.amd64: c.configure.macosx: c.configure.freebsd.x86: c.configure.freebsd.amd64: c.configure.freebsd: c.configure.hpux: c.configure.2: c.configure: c.build.newt.prepare: c.build.newt.prepare.android: c.build.newt.windowlib: [echo] Output lib name = newt [echo] Compiling newt [cc] 8 total files to be compiled. [cc] cc1: warning: command line option ‘-fno-rtti’ is valid for C++/ObjC++ but not for C [enabled by default] [cc] cc1: warning: command line option ‘-fno-rtti’ is valid for C++/ObjC++ but not for C [enabled by default] [cc] cc1: warning: command line option ‘-fno-rtti’ is valid for C++/ObjC++ but not for C [enabled by default] [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11Window.c: In function ‘putPtrIn32Long’: [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11Window.c:72:9: warning: right shift count >= width of type [enabled by default] [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11Window.c: In function ‘getPtrOut32Long’: [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11Window.c:80:15: warning: left shift count >= width of type [enabled by default] [cc] cc1: warning: command line option ‘-fno-rtti’ is valid for C++/ObjC++ but not for C [enabled by default] [cc] cc1: warning: command line option ‘-fno-rtti’ is valid for C++/ObjC++ but not for C [enabled by default] [cc] cc1: warning: command line option ‘-fno-rtti’ is valid for C++/ObjC++ but not for C [enabled by default] [cc] cc1: warning: command line option ‘-fno-rtti’ is valid for C++/ObjC++ but not for C [enabled by default] [cc] cc1: warning: command line option ‘-fno-rtti’ is valid for C++/ObjC++ but not for C [enabled by default] [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c: In function ‘Java_jogamp_newt_driver_x11_RandR13_getScreenResources0’: [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:42:5: error: unknown type name ‘XRRScreenResources’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:42:31: warning: initialization makes pointer from integer without a cast [enabled by default] [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c: In function ‘Java_jogamp_newt_driver_x11_RandR13_freeScreenResources0’: [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:56:5: error: unknown type name ‘XRRScreenResources’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:56:38: error: ‘XRRScreenResources’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:56:38: note: each undeclared identifier is reported only once for each function it appears in [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:56:58: error: expected expression before ‘)’ token [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:56:71: error: expected ‘,’ or ‘;’ before ‘screenResources’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c: At top level: [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:64:59: error: unknown type name ‘XRRScreenResources’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:64:103: error: unknown type name ‘RROutput’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:81:26: error: unknown type name ‘XRRModeInfo’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c: In function ‘Java_jogamp_newt_driver_x11_RandR13_dumpInfo0’: [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:112:5: error: unknown type name ‘XRRScreenResources’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:112:38: error: ‘XRRScreenResources’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:112:58: error: expected expression before ‘)’ token [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:112:71: error: expected ‘,’ or ‘;’ before ‘screenResources’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:129:83: error: request for member ‘ncrtc’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:130:25: error: request for member ‘ncrtc’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:131:9: error: unknown type name ‘RRCrtc’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:131:32: error: request for member ‘crtcs’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:132:9: error: unknown type name ‘XRRCrtcInfo’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:132:36: warning: initialization makes pointer from integer without a cast [enabled by default] [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:134:27: error: request for member ‘x’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:134:43: error: request for member ‘y’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:134:59: error: request for member ‘width’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:134:79: error: request for member ‘height’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:134:100: error: request for member ‘rotations’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:134:124: error: request for member ‘mode’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:135:31: error: request for member ‘noutput’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:136:83: error: request for member ‘outputs’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:141:72: error: request for member ‘noutput’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:141:92: error: request for member ‘outputs’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:143:83: error: request for member ‘nmode’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:144:25: error: request for member ‘nmode’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:145:9: error: unknown type name ‘XRRModeInfo’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:145:39: error: request for member ‘modes’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:147:33: error: request for member ‘hTotal’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:147:48: error: request for member ‘vTotal’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:149:74: error: request for member ‘id’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:149:84: error: request for member ‘width’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:149:97: error: request for member ‘height’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:149:116: error: request for member ‘name’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:149:116: error: request for member ‘name’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c: In function ‘Java_jogamp_newt_driver_x11_RandR13_getMonitorDeviceCount0’: [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:161:5: error: unknown type name ‘XRRScreenResources’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:161:38: error: ‘XRRScreenResources’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:161:58: error: expected expression before ‘)’ token [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:161:71: error: expected ‘,’ or ‘;’ before ‘screenResources’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:162:45: error: request for member ‘ncrtc’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c: In function ‘Java_jogamp_newt_driver_x11_RandR13_getMonitorInfoHandle0’: [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:175:5: error: unknown type name ‘XRRScreenResources’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:175:38: error: ‘XRRScreenResources’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:175:58: error: expected expression before ‘)’ token [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:175:71: error: expected ‘,’ or ‘;’ before ‘screenResources’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:177:50: error: request for member ‘ncrtc’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:180:5: error: unknown type name ‘RRCrtc’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:180:28: error: request for member ‘crtcs’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:181:5: error: unknown type name ‘XRRCrtcInfo’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:181:32: warning: initialization makes pointer from integer without a cast [enabled by default] [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c: In function ‘Java_jogamp_newt_driver_x11_RandR13_freeMonitorInfoHandle0’: [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:194:5: error: unknown type name ‘XRRCrtcInfo’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:194:33: error: ‘XRRCrtcInfo’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:194:46: error: expected expression before ‘)’ token [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:194:59: error: expected ‘,’ or ‘;’ before ‘monitorInfo’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c: In function ‘Java_jogamp_newt_driver_x11_RandR13_getAvailableRotations0’: [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:208:5: error: unknown type name ‘XRRCrtcInfo’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:208:33: error: ‘XRRCrtcInfo’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:208:46: error: expected expression before ‘)’ token [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:208:59: error: expected ‘,’ or ‘;’ before ‘monitorInfo’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:212:47: error: request for member ‘rotations’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c: In function ‘Java_jogamp_newt_driver_x11_RandR13_getMonitorViewport0’: [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:252:5: error: unknown type name ‘XRRCrtcInfo’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:252:33: error: ‘XRRCrtcInfo’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:252:46: error: expected expression before ‘)’ token [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:252:59: error: expected ‘,’ or ‘;’ before ‘monitorInfo’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:259:28: error: request for member ‘mode’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:259:54: error: request for member ‘noutput’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:268:36: error: request for member ‘x’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:269:36: error: request for member ‘y’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:270:36: error: request for member ‘width’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:271:36: error: request for member ‘height’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c: In function ‘Java_jogamp_newt_driver_x11_RandR13_getMonitorMode0’: [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:290:5: error: unknown type name ‘XRRScreenResources’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:290:38: error: ‘XRRScreenResources’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:290:58: error: expected expression before ‘)’ token [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:290:71: error: expected ‘,’ or ‘;’ before ‘screenResources’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:292:51: error: request for member ‘nmode’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:296:5: error: unknown type name ‘XRRModeInfo’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:296:35: error: request for member ‘modes’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:297:29: error: request for member ‘hTotal’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:297:44: error: request for member ‘vTotal’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:300:13: error: request for member ‘modeFlags’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:300:27: error: ‘RR_Interlace’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:303:13: error: request for member ‘modeFlags’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:303:27: error: ‘RR_DoubleScan’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:311:29: error: request for member ‘width’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:312:29: error: request for member ‘height’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:316:29: error: request for member ‘id’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c: In function ‘Java_jogamp_newt_driver_x11_RandR13_getMonitorCurrentMode0’: [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:336:5: error: unknown type name ‘XRRScreenResources’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:336:38: error: ‘XRRScreenResources’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:336:58: error: expected expression before ‘)’ token [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:336:71: error: expected ‘,’ or ‘;’ before ‘screenResources’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:337:5: error: unknown type name ‘XRRCrtcInfo’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:337:33: error: ‘XRRCrtcInfo’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:337:46: error: expected expression before ‘)’ token [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:337:59: error: expected ‘,’ or ‘;’ before ‘monitorInfo’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:344:28: error: request for member ‘mode’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:344:54: error: request for member ‘noutput’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:349:29: error: request for member ‘mode’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:350:5: error: unknown type name ‘XRRModeInfo’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:352:25: error: request for member ‘nmode’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:353:9: error: unknown type name ‘XRRModeInfo’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:353:40: error: request for member ‘modes’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:354:18: error: request for member ‘id’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:364:29: error: request for member ‘hTotal’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:364:44: error: request for member ‘vTotal’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:367:13: error: request for member ‘modeFlags’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:367:27: error: ‘RR_Interlace’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:370:13: error: request for member ‘modeFlags’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:370:27: error: ‘RR_DoubleScan’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:378:29: error: request for member ‘width’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:379:29: error: request for member ‘height’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:383:29: error: request for member ‘id’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:384:69: error: request for member ‘rotation’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c: In function ‘Java_jogamp_newt_driver_x11_RandR13_getMonitorDevice0’: [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:404:5: error: unknown type name ‘XRRScreenResources’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:404:38: error: ‘XRRScreenResources’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:404:58: error: expected expression before ‘)’ token [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:404:71: error: expected ‘,’ or ‘;’ before ‘screenResources’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:405:5: error: unknown type name ‘XRRCrtcInfo’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:405:33: error: ‘XRRCrtcInfo’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:405:46: error: expected expression before ‘)’ token [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:405:59: error: expected ‘,’ or ‘;’ before ‘monitorInfo’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:407:73: error: request for member ‘ncrtc’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:412:28: error: request for member ‘mode’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:412:54: error: request for member ‘noutput’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:417:5: error: unknown type name ‘RROutput’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:417:34: error: request for member ‘outputs’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:418:5: error: unknown type name ‘XRROutputInfo’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:418:37: warning: initialization makes pointer from integer without a cast [enabled by default] [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:419:33: error: request for member ‘nmode’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:427:38: error: request for member ‘mm_width’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:428:38: error: request for member ‘mm_height’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:429:36: error: request for member ‘x’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:430:36: error: request for member ‘y’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:431:36: error: request for member ‘width’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:432:36: error: request for member ‘height’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:433:36: error: request for member ‘x’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:434:36: error: request for member ‘y’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:435:36: error: request for member ‘width’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:436:36: error: request for member ‘height’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:437:36: error: request for member ‘mode’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:438:69: error: request for member ‘rotation’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:442:42: error: request for member ‘modes’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c: In function ‘Java_jogamp_newt_driver_x11_RandR13_setMonitorMode0’: [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:465:5: error: unknown type name ‘XRRScreenResources’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:465:38: error: ‘XRRScreenResources’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:465:58: error: expected expression before ‘)’ token [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:465:71: error: expected ‘,’ or ‘;’ before ‘screenResources’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:466:5: error: unknown type name ‘XRRCrtcInfo’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:466:33: error: ‘XRRCrtcInfo’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:466:46: error: expected expression before ‘)’ token [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:466:59: error: expected ‘,’ or ‘;’ before ‘monitorInfo’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:469:73: error: request for member ‘ncrtc’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:474:28: error: request for member ‘mode’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:474:54: error: request for member ‘noutput’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:485:24: error: request for member ‘x’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:486:24: error: request for member ‘y’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:489:64: error: request for member ‘crtcs’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:491:50: error: request for member ‘outputs’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:491:72: error: request for member ‘noutput’ in something not a structure or union [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c: In function ‘Java_jogamp_newt_driver_x11_RandR13_setScreenViewport0’: [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:507:5: error: unknown type name ‘XRRScreenResources’ [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:507:38: error: ‘XRRScreenResources’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:507:58: error: expected expression before ‘)’ token [cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:507:71: error: expected ‘,’ or ‘;’ before ‘screenResources’ BUILD FAILED /opt/gridware/libraries/jogl/jogl-master/make/build.xml:79: The following error occurred while executing this line: /opt/gridware/libraries/jogl/jogl-master/make/build-newt.xml:737: The following error occurred while executing this line: /opt/gridware/libraries/jogl/jogl-master/make/build-newt.xml:656: gcc failed with return code 1 Total time: 3 minutes 15 seconds root@login02:/opt/gridware/libraries/jogl/jogl-master/make $ I have tried to use different gcc compilers 4.12 and 4.7.2 but that doesn't help. Can you please help me? Regards, Sticks |
Administrator
|
Hi
No you're building JOGL, there is no real "install", it's just a third party library, it has to be in the classpath. There is no strange error, you probably didn't strictly follow our instructions: http://jogamp.org/jogl/doc/HowToBuild.html You need the X11 and XRandR development packages.
Julien Gouesse | Personal blog | Website
|
Hello
X11 is already installed in the server. What is the rpm package for XR and R development package on Red Hat Centos? Is the packages part of xorg-x11-proto-devel that is shown in the build website? Secondly, do i need to login to the server using X session when compiling JOGL? Thanks for your help Regards, Sticks >>> "gouessej [via jogamp]" <[hidden email]> 2/3/2015 11:09 AM >>> Hi smabakane wrote > I am currently installing JOGL No you're building JOGL, there is no real "install", it's just a third party library, it has to be in the classpath. There is no strange error, you probably didn't strictly follow our instructions: http://jogamp.org/jogl/doc/HowToBuild.html <http://jogamp.org/jogl/doc/HowToBuild.html> You need the X11 and XRandR development packages. ----- Julien Gouesse | Personal blog | Website | Follow me on Identi.ca _______________________________________________ If you reply to this email, your message will be added to the discussion below: http://forum.jogamp.org/JOGL-s-Strange-errors-tp4033980p4033989.html To unsubscribe from JOGL's Strange errors, visit This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. Please consider the environment before printing this email. -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. Please consider the environment before printing this email. |
In reply to this post by gouessej
Hello
I have installed R-devel.x86_64 and OpenEXR.x86_64 (assume is XR) packages but am still getting the same BUILD FAILD errors as per attached document. Please advise Regards, Sticks >>> Sticks Mabakane 2/3/2015 11:44 AM >>> Hello X11 is already installed in the server. What is the rpm package for XR and R development package on Red Hat Centos? Is the packages part of xorg-x11-proto-devel that is shown in the build website? Secondly, do i need to login to the server using X session when compiling JOGL? Thanks for your help Regards, Sticks >>> "gouessej [via jogamp]" <[hidden email]> 2/3/2015 11:09 AM >>> Hi smabakane wrote > I am currently installing JOGL No you're building JOGL, there is no real "install", it's just a third party library, it has to be in the classpath. There is no strange error, you probably didn't strictly follow our instructions: http://jogamp.org/jogl/doc/HowToBuild.html <http://jogamp.org/jogl/doc/HowToBuild.html> You need the X11 and XRandR development packages. ----- Julien Gouesse | Personal blog | Website | Follow me on Identi.ca _______________________________________________ If you reply to this email, your message will be added to the discussion below: http://forum.jogamp.org/JOGL-s-Strange-errors-tp4033980p4033989.html To unsubscribe from JOGL's Strange errors, visit This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. Please consider the environment before printing this email. R-devel.x86_64 R-devel.x86_64 [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:466: error: XRRCrtcInfo undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:466: error: xrrCrtcInfo undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:466: error: expected expression before ) token [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:466: error: expected ; before monitorInfo [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c: In function Java_jogamp_newt_driver_x11_RandR13_setScreenViewport0: [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:507: error: XRRScreenResources undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:507: error: resources undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:507: error: expected expression before ) token [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:507: error: expected ; before screenResources BUILD FAILED /opt/gridware/libraries/jogl/jogl/make/build.xml:79: The following error occurred while executing this line: /opt/gridware/libraries/jogl/jogl/make/build-newt.xml:737: The following error occurred while executing this line: /opt/gridware/libraries/jogl/jogl/make/build-newt.xml:656: gcc failed with return code 1 Total time: 17 seconds root@login02:/opt/gridware/libraries/jogl/jogl/make $ [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:466: error: XRRCrtcInfo undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:466: error: xrrCrtcInfo undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:466: error: expected expression before ) token [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:466: error: expected ; before monitorInfo [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c: In function Java_jogamp_newt_driver_x11_RandR13_setScreenViewport0: [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:507: error: XRRScreenResources undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:507: error: resources undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:507: error: expected expression before ) token [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:507: error: expected ; before screenResources BUILD FAILED /opt/gridware/libraries/jogl/jogl/make/build.xml:79: The following error occurred while executing this line: /opt/gridware/libraries/jogl/jogl/make/build-newt.xml:737: The following error occurred while executing this line: /opt/gridware/libraries/jogl/jogl/make/build-newt.xml:656: gcc failed with return code 1 Total time: 17 seconds root@login02:/opt/gridware/libraries/jogl/jogl/make $ [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:466: error: XRRCrtcInfo undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:466: error: xrrCrtcInfo undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:466: error: expected expression before ) token [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:466: error: expected ; before monitorInfo [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c: In function Java_jogamp_newt_driver_x11_RandR13_setScreenViewport0: [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:507: error: XRRScreenResources undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:507: error: resources undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:507: error: expected expression before ) token [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:507: error: expected ; before screenResources BUILD FAILED /opt/gridware/libraries/jogl/jogl/make/build.xml:79: The following error occurred while executing this line: /opt/gridware/libraries/jogl/jogl/make/build-newt.xml:737: The following error occurred while executing this line: /opt/gridware/libraries/jogl/jogl/make/build-newt.xml:656: gcc failed with return code 1 Total time: 17 seconds root@login02:/opt/gridware/libraries/jogl/jogl/make $ [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:466: error: XRRCrtcInfo undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:466: error: xrrCrtcInfo undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:466: error: expected expression before ) token [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:466: error: expected ; before monitorInfo [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c: In function Java_jogamp_newt_driver_x11_RandR13_setScreenViewport0: [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:507: error: XRRScreenResources undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:507: error: resources undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:507: error: expected expression before ) token [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:507: error: expected ; before screenResources BUILD FAILED /opt/gridware/libraries/jogl/jogl/make/build.xml:79: The following error occurred while executing this line: /opt/gridware/libraries/jogl/jogl/make/build-newt.xml:737: The following error occurred while executing this line: /opt/gridware/libraries/jogl/jogl/make/build-newt.xml:656: gcc failed with return code 1 Total time: 17 seconds root@login02:/opt/gridware/libraries/jogl/jogl/make $ [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:466: error: XRRCrtcInfo undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:466: error: xrrCrtcInfo undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:466: error: expected expression before ) token [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:466: error: expected ; before monitorInfo [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c: In function Java_jogamp_newt_driver_x11_RandR13_setScreenViewport0: [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:507: error: XRRScreenResources undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:507: error: resources undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:507: error: expected expression before ) token [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:507: error: expected ; before screenResources BUILD FAILED /opt/gridware/libraries/jogl/jogl/make/build.xml:79: The following error occurred while executing this line: /opt/gridware/libraries/jogl/jogl/make/build-newt.xml:737: The following error occurred while executing this line: /opt/gridware/libraries/jogl/jogl/make/build-newt.xml:656: gcc failed with return code 1 Total time: 17 seconds root@login02:/opt/gridware/libraries/jogl/jogl/make $ [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:466: error: XRRCrtcInfo undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:466: error: xrrCrtcInfo undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:466: error: expected expression before ) token [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:466: error: expected ; before monitorInfo [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c: In function Java_jogamp_newt_driver_x11_RandR13_setScreenViewport0: [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:507: error: XRRScreenResources undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:507: error: resources undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:507: error: expected expression before ) token [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:507: error: expected ; before screenResources BUILD FAILED /opt/gridware/libraries/jogl/jogl/make/build.xml:79: The following error occurred while executing this line: /opt/gridware/libraries/jogl/jogl/make/build-newt.xml:737: The following error occurred while executing this line: /opt/gridware/libraries/jogl/jogl/make/build-newt.xml:656: gcc failed with return code 1 Total time: 17 seconds root@login02:/opt/gridware/libraries/jogl/jogl/make $ -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. Please consider the environment before printing this email. errors.txt (550K) Download Attachment |
Administrator
|
In reply to this post by smabakane
You need libXrandr-devel-1.4.1-2.1.el7.x86_64.rpm for Centos 7. Keep in mind that we can't know the exact naming of the packages required by all GNU Linux distros:
http://pkgs.org/centos-7/centos-x86_64/libXrandr-devel-1.4.1-2.1.el7.x86_64.rpm.html I have never talked about OpenEXR, I wrote "XRandR". I succeeded in compiling JOGL 2 under Centos 6 in 2010, it should work.
Julien Gouesse | Personal blog | Website
|
Hello
I have installed this library dependencies, XrandR, git, R-devel, X11. Below is the output of yum that shows the library are installed but am still getting the same error about compiling root@login02:~ $ yum list | grep Xrand libXrandr.i386 1.1.1-3.3 installed libXrandr.x86_64 1.1.1-3.3 installed libXrandr-devel.i386 1.1.1-3.3 installed libXrandr-devel.x86_64 1.1.1-3.3 installed root@login02:~ $ root@login02:~ $ yum list | grep git git.x86_64 1.8.2.1-1.el5 installed git-all.x86_64 1.8.2.1-1.el5 installed git-cvs.x86_64 1.8.2.1-1.el5 installed git-email.x86_64 1.8.2.1-1.el5 installed git-gui.x86_64 1.8.2.1-1.el5 installed git-p4.x86_64 1.8.2.1-1.el5 installed git-svn.x86_64 1.8.2.1-1.el5 installed gitk.x86_64 1.8.2.1-1.el5 installed root@login02:~ $ root@login02:~ $ yum list | grep R-devel. OpenEXR-devel.x86_64 1.4.0a-5.el5 installed R-devel.x86_64 3.1.2-1.el5 installed root@login02:~ $ root@login02:~ $ yum list | grep X11 libX11.i386 1.0.3-11.el5_7.1 installed libX11.x86_64 1.0.3-11.el5_7.1 installed libX11-devel.i386 1.0.3-11.el5_7.1 installed libX11-devel.x86_64 1.0.3-11.el5_7.1 installed perl-X11-Protocol.noarch 0.56-5.el5 installed vim-X11.x86_64 2:7.0.109-7.2.el5 installed root@login02:~ $ Below is the latest error when system compile X11RandR13.c file: c.build.newt.windowlib: [echo] Output lib name = newt [echo] Compiling newt [cc] 8 total files to be compiled. [cc] cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C [cc] cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C [cc] cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11Window.c: In function ‘putPtrIn32Long’: [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11Window.c:72: warning: right shift count >= width of type [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11Window.c: In function ‘getPtrOut32Long’: [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11Window.c:80: warning: left shift count >= width of type [cc] cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C [cc] cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C [cc] cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C [cc] cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C [cc] cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c: In function ‘Java_jogamp_newt_driver_x11_RandR13_getScreenResources0’: [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:42: error: ‘XRRScreenResources’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:42: error: (Each undeclared identifier is reported only once [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:42: error: for each function it appears in.) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:42: error: ‘res’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c: In function ‘Java_jogamp_newt_driver_x11_RandR13_freeScreenResources0’: [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:56: error: ‘XRRScreenResources’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:56: error: ‘resources’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:56: error: expected expression before ‘)’ token [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:56: error: expected ‘;’ before ‘screenResources’ [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c: At top level: [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:64: error: expected declaration specifiers or ‘...’ before ‘XRRScreenResources’ [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:64: error: expected declaration specifiers or ‘...’ before ‘RROutput’ [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c: In function ‘dumpOutputs’: [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:66: error: ‘resources’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:68: error: ‘RROutput’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:68: error: expected ‘;’ before ‘output’ [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:69: error: ‘XRROutputInfo’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:69: error: ‘xrrOutputInfo’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:69: error: ‘output’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c: At top level: [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:81: error: expected ‘)’ before ‘*’ token [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c: In function ‘Java_jogamp_newt_driver_x11_RandR13_dumpInfo0’: [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:112: error: ‘XRRScreenResources’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:112: error: ‘resources’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:112: error: expected expression before ‘)’ token [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:112: error: expected ‘;’ before ‘screenResources’ [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:131: error: ‘RRCrtc’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:131: error: expected ‘;’ before ‘crtc’ [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:132: error: ‘XRRCrtcInfo’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:132: error: ‘xrrCrtcInfo’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:132: error: ‘crtc’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:141: error: too many arguments to function ‘dumpOutputs’ [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:145: error: ‘XRRModeInfo’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:145: error: ‘mode’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c: In function ‘Java_jogamp_newt_driver_x11_RandR13_getMonitorDeviceCount0’: [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:161: error: ‘XRRScreenResources’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:161: error: ‘resources’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:161: error: expected expression before ‘)’ token [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:161: error: expected ‘;’ before ‘screenResources’ [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c: In function ‘Java_jogamp_newt_driver_x11_RandR13_getMonitorInfoHandle0’: [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:175: error: ‘XRRScreenResources’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:175: error: ‘resources’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:175: error: expected expression before ‘)’ token [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:175: error: expected ‘;’ before ‘screenResources’ [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:180: error: ‘RRCrtc’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:180: error: expected ‘;’ before ‘crtc’ [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:181: error: ‘XRRCrtcInfo’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:181: error: ‘xrrCrtcInfo’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:181: error: ‘crtc’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c: In function ‘Java_jogamp_newt_driver_x11_RandR13_freeMonitorInfoHandle0’: [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:194: error: ‘XRRCrtcInfo’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:194: error: ‘xrrCrtcInfo’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:194: error: expected expression before ‘)’ token [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:194: error: expected ‘;’ before ‘monitorInfo’ [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c: In function ‘Java_jogamp_newt_driver_x11_RandR13_getAvailableRotations0’: [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:208: error: ‘XRRCrtcInfo’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:208: error: ‘xrrCrtcInfo’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:208: error: expected expression before ‘)’ token [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:208: error: expected ‘;’ before ‘monitorInfo’ [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c: In function ‘Java_jogamp_newt_driver_x11_RandR13_getMonitorViewport0’: [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:252: error: ‘XRRCrtcInfo’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:252: error: ‘xrrCrtcInfo’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:252: error: expected expression before ‘)’ token [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:252: error: expected ‘;’ before ‘monitorInfo’ [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c: In function ‘Java_jogamp_newt_driver_x11_RandR13_getMonitorMode0’: [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:290: error: ‘XRRScreenResources’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:290: error: ‘resources’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:290: error: expected expression before ‘)’ token [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:290: error: expected ‘;’ before ‘screenResources’ [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:296: error: ‘XRRModeInfo’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:296: error: ‘mode’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:300: error: ‘RR_Interlace’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:303: error: ‘RR_DoubleScan’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c: In function ‘Java_jogamp_newt_driver_x11_RandR13_getMonitorCurrentMode0’: [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:336: error: ‘XRRScreenResources’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:336: error: ‘resources’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:336: error: expected expression before ‘)’ token [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:336: error: expected ‘;’ before ‘screenResources’ [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:337: error: ‘XRRCrtcInfo’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:337: error: ‘xrrCrtcInfo’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:337: error: expected expression before ‘)’ token [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:337: error: expected ‘;’ before ‘monitorInfo’ [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:350: error: ‘XRRModeInfo’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:350: error: ‘mode’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:353: error: ‘imode’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:367: error: ‘RR_Interlace’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:370: error: ‘RR_DoubleScan’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c: In function ‘Java_jogamp_newt_driver_x11_RandR13_getMonitorDevice0’: [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:404: error: ‘XRRScreenResources’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:404: error: ‘resources’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:404: error: expected expression before ‘)’ token [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:404: error: expected ‘;’ before ‘screenResources’ [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:405: error: ‘XRRCrtcInfo’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:405: error: ‘xrrCrtcInfo’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:405: error: expected expression before ‘)’ token [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:405: error: expected ‘;’ before ‘monitorInfo’ [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:417: error: ‘RROutput’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:417: error: expected ‘;’ before ‘output’ [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:418: error: ‘XRROutputInfo’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:418: error: ‘xrrOutputInfo’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:418: error: ‘output’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c: In function ‘Java_jogamp_newt_driver_x11_RandR13_setMonitorMode0’: [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:465: error: ‘XRRScreenResources’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:465: error: ‘resources’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:465: error: expected expression before ‘)’ token [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:465: error: expected ‘;’ before ‘screenResources’ [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:466: error: ‘XRRCrtcInfo’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:466: error: ‘xrrCrtcInfo’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:466: error: expected expression before ‘)’ token [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:466: error: expected ‘;’ before ‘monitorInfo’ [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c: In function ‘Java_jogamp_newt_driver_x11_RandR13_setScreenViewport0’: [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:507: error: ‘XRRScreenResources’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:507: error: ‘resources’ undeclared (first use in this function) [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:507: error: expected expression before ‘)’ token [cc] /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:507: error: expected ‘;’ before ‘screenResources’ BUILD FAILED /opt/gridware/libraries/jogl/jogl/make/build.xml:79: The following error occurred while executing this line: /opt/gridware/libraries/jogl/jogl/make/build-newt.xml:737: The following error occurred while executing this line: /opt/gridware/libraries/jogl/jogl/make/build-newt.xml:656: gcc failed with return code 1 Total time: 3 minutes 4 seconds root@login02:/opt/gridware/libraries/jogl/jogl/make $ Please advise Regards, Sticks >>> "gouessej [via jogamp]" <[hidden email]> 03/02/2015 14:43 >>> You need libXrandr-devel-1.4.1-2.1.el7.x86_64.rpm for Centos 7. Keep in mind that we can't know the exact naming of the packages required by all GNU Linux distros: http://pkgs.org/centos-7/centos-x86_64/libXrandr-devel-1.4.1-2.1.el7.x86_64.rpm.html <http://pkgs.org/centos-7/centos-x86_64/libXrandr-devel-1.4.1-2.1.el7.x86_64.rpm.html> I have never talked about OpenEXR, I wrote "XRandR". I succeeded in compiling JOGL 2 under Centos 6 in 2010, it should work. ----- Julien Gouesse | Personal blog | Website | Follow me on Identi.ca _______________________________________________ If you reply to this email, your message will be added to the discussion below: http://forum.jogamp.org/JOGL-s-Strange-errors-tp4033980p4033995.html To unsubscribe from JOGL's Strange errors, visit This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. Please consider the environment before printing this email. -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. Please consider the environment before printing this email. |
Administrator
|
On 02/03/2015 02:58 PM, smabakane [via jogamp] wrote:
> Hello > > I have installed this library dependencies, XrandR, git, R-devel, X11. > Below is the output of yum that shows the library are installed but am > still getting the same error about compiling > > root@login02:~ $ yum list | grep Xrand > libXrandr.i386 1.1.1-3.3 > installed > libXrandr.x86_64 1.1.1-3.3 > installed > libXrandr-devel.i386 1.1.1-3.3 > installed > libXrandr-devel.x86_64 1.1.1-3.3 > installed > Below is the latest error when system compile X11RandR13.c file: > > [cc] > /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c: In > function ‘Java_jogamp_newt_driver_x11_RandR13_getScreenResources0’: > [cc] > /opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:42: > error: ‘XRRScreenResources’ undeclared (first use in this function) > [cc] Interesting indeed. I do have: /usr/include/X11/extensions/Xrandr.h:typedef struct _XRRScreenResources { /usr/include/X11/extensions/Xrandr.h:} XRRScreenResources; On Debian 8, its: libxrandr-dev:amd64: /usr/include/X11/extensions/Xrandr.h libxrandr-dev:amd64 2:1.4.2-1+b1 This also works very well on OpenSolaris and other X11 enabled systems. Maybe your Xrandr [devel] package is too old and hence does not cover XRandR version 1.3/1.4 ? XRandR 1.3/1.4 is a build requirement, not a runtime requirement. ~Sven signature.asc (828 bytes) Download Attachment |
Administrator
|
In reply to this post by smabakane
Sven is right, your version of XRandR is too old to build JOGL. You're probably under CentOS 5. Upgrade to CentOS 6 or 7 if you want to have a chance to build JOGL. You should have looked at /usr/include/X11/extensions/Xrandr.h to understand your error messages.
Julien Gouesse | Personal blog | Website
|
Hello Julien & Sven
As per your suggestion, I have upgraded to Centos 6 and also installed libXrandr-1.4.1 but am still getting the same error message about X11. Please receive an attached error message. Regards, Sticks >>> "gouessej [via jogamp]" <[hidden email]> 2/3/2015 5:53 PM >>> Sven is right, your version of XRandR is too old to build JOGL. You're probably under CentOS 5. Upgrade to CentOS 6 or 7 if you want to have a chance to build JOGL. You should have looked at /usr/include/X11/extensions/Xrandr.h to understand your error messages. ----- Julien Gouesse | Personal blog | Website | Follow me on Identi.ca _______________________________________________ If you reply to this email, your message will be added to the discussion below: http://forum.jogamp.org/JOGL-s-Strange-errors-tp4033980p4033998.html To unsubscribe from JOGL's Strange errors, visit This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. Please consider the environment before printing this email. [root@taunode make]# yum info libXrandr.x86_64 Failed to set locale, defaulting to C Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: ftp.wa.co.za * extras: ftp.wa.co.za * updates: ftp.wa.co.za Installed Packages Name : libXrandr Arch : x86_64 Version : 1.4.1 Release : 2.1.el6 Size : 40 k Repo : installed From repo : base Summary : X.Org X11 libXrandr runtime library URL : http://www.x.org License : MIT Description: X.Org X11 libXrandr runtime library [root@taunode make]# [root@taunode make]# yum info libXrandr.x86_64 Failed to set locale, defaulting to C Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: ftp.wa.co.za * extras: ftp.wa.co.za * updates: ftp.wa.co.za Installed Packages Name : libXrandr Arch : x86_64 Version : 1.4.1 Release : 2.1.el6 Size : 40 k Repo : installed From repo : base Summary : X.Org X11 libXrandr runtime library URL : http://www.x.org License : MIT Description: X.Org X11 libXrandr runtime library [root@taunode make]# [root@taunode make]# yum info libXrandr.x86_64 Failed to set locale, defaulting to C Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: ftp.wa.co.za * extras: ftp.wa.co.za * updates: ftp.wa.co.za Installed Packages Name : libXrandr Arch : x86_64 Version : 1.4.1 Release : 2.1.el6 Size : 40 k Repo : installed From repo : base Summary : X.Org X11 libXrandr runtime library URL : http://www.x.org License : MIT Description: X.Org X11 libXrandr runtime library [root@taunode make]# -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. Please consider the environment before printing this email. error.txt (12K) Download Attachment |
Administrator
|
Hi
libXxf86vm-devel is probably missing. libXxf86vm-devel-1.1.3-2.1 is available on Cent OS 6.
Julien Gouesse | Personal blog | Website
|
Hello Julien
I have installed libXxf86vm-devel-1.1.3-2.1 but now am getting a different error messages. Please receive an attached error message. Thanks for your help Regards, Sticks >>> "gouessej [via jogamp]" <[hidden email]> 3/2/2015 6:09 PM >>> Hi libXxf86vm-devel is probably missing. libXxf86vm-devel-1.1.3-2.1 is available on Cent OS 6. ----- Julien Gouesse | Personal blog | Website | Follow me on Identi.ca _______________________________________________ If you reply to this email, your message will be added to the discussion below: http://forum.jogamp.org/JOGL-s-Strange-errors-tp4033980p4034094.html To unsubscribe from JOGL's Strange errors, visit This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. Please consider the environment before printing this email. -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. Please consider the environment before printing this email. error1.txt (9K) Download Attachment |
I checked your log and X11/Intrinsic.h is missing
[cc] In file included from /opt/gridware/libraries/jogl/jogl/src/nativewindow/native/JAWT_DrawingSurfaceInfo.c:40: [cc] /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/include/linux/jawt_md.h:31:27: error: X11/Intrinsic.h: No such file or directory use the folowing page: http://rpm.pbone.net/index.php3/stat/2/simple/2 to quickly lookup which rpm contains the Intrinsic.h when you do so you will discover that you need to install libXt-devel-1.1.4-6.1.el6.x86_64.rpm Cheers Xerxes Den 2015-03-03 09:57, smabakane [via jogamp] skrev: > > now am getting a different error messages. Please receive an attached > error message. Thanks for your help > > Regards, |
Hello Xerxes
Thanks to you & everyone who helped me. Now, the installation of jogl is successful. Regards, Sticks >>> Xerxes Rånby [via jogamp]<[hidden email]> 3/3/2015 11:20 AM >>> I checked your log and X11/Intrinsic.h is missing [cc] In file included from /opt/gridware/libraries/jogl/jogl/src/nativewindow/native/JAWT_DrawingSurfaceInfo.c:40: [cc] /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/include/linux/jawt_md.h:31:27: error: X11/Intrinsic.h: No such file or directory use the folowing page: http://rpm.pbone.net/index.php3/stat/2/simple/2 to quickly lookup which rpm contains the Intrinsic.h when you do so you will discover that you need to install libXt-devel-1.1.4-6.1.el6.x86_64.rpm Cheers Xerxes Den 2015-03-03 09:57, smabakane [via jogamp] skrev: > > now am getting a different error messages. Please receive an attached > error message. Thanks for your help > > Regards, _______________________________________________ If you reply to this email, your message will be added to the discussion below: http://forum.jogamp.org/JOGL-s-Strange-errors-tp4033980p4034096.html To unsubscribe from JOGL's Strange errors, visit This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. Please consider the environment before printing this email. -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. Please consider the environment before printing this email. |
Free forum by Nabble | Edit this page |