Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (580)
games submitted by our members
Games in WIP (500)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  JOGL :Installation : build problems  (Read 553 times)
0 Members and 1 Guest are viewing this topic.
Offline Justmaker

Junior Newbie





« Posted 2009-12-03 10:47:00 »

Hello everyone,

I have been tryng to build JOGL for the last few days. When I reach step 8 o f the build instructions (http://download.java.net/media/jogl/doc/HowToBuild.html), here is the answer I get:


C:\Users\Alex\shaders\jogl\make>ant
Buildfile: build.xml

init:

build.nativewindow:

base.init:
     [echo] setup.cdcfp: ${setup.cdcfp}
     [echo] setup.noAWT: ${setup.noAWT}
     [echo] javac.bootclasspath.jar: ${javac.bootclasspath.jar}
     [echo] setup.noX11WindowsMacOsX: ${setup.noX11WindowsMacOsX}
     [echo] setup.noX11: ${setup.noX11}
     [echo] setup.noWindows: ${setup.noWindows}
     [echo] setup.noMacOsX: ${setup.noMacOsX}
     [echo] java.excludes.all: ${java.excludes.awt}, ${java.excludes.win}, ${jav
a.excludes.macosx}, ${java.excludes.cdcfp}

base.init.sourcelevel.1:

load.user.properties:
     [echo] Loaded C:\Users\Alex/nativewindow.properties.
     [echo] Loaded C:\Users\Alex/gluegen.properties.
     [echo] antlr.jar=C:/Users/Alex/antlrworks-1.3.1.jar

declare.common:

init:

antlr.jar.validate:

java.class.path.validate:

validate:

build.gluegen:

load.user.properties:
     [echo] Loaded C:\Users\Alex/gluegen.properties.
     [echo] antlr.jar=C:/Users/Alex/antlrworks-1.3.1.jar

setup-excludes-1:

setup-excludes-2:

init.javame.cdc.fp:

init:

antlr.jar.validate:

java.class.path.validate:

validate:

setup.javase:

setup.javame.cdc.fp:

gluegen.build:

generate.grammar:

generate.c.grammar.glib:

generate.grammar:

generate.c.grammar.glib:

generate.c.grammar.glib:

generate.grammar:

gluegen.rebuild.gluegen-rt:

build.nativelibrary:

gluegen.cpptasks.detect.os.1:
     [echo] FreeBSD=${isFreeBSD}
     [echo] HPUX=${isHPUX}
     [echo] IA64=${isIA64}
     [echo] Linux=${isLinux}
     [echo] LinuxAMD64=${isLinuxAMD64}
     [echo] LinuxIA64=${isLinuxIA64}
     [echo] LinuxX86=${isLinuxX86}
     [echo] OS X=${isOSX}
     [echo] Solaris=${isSolaris}
     [echo] Solaris32Bit=${isSolaris32Bit}
     [echo] SolarisSparc=${isSolarisSparc}
     [echo] SolarisSparcv9=${isSolarisSparcv9}
     [echo] SolarisAMD64=${isSolarisAMD64}
     [echo] SolarisX86=${isSolarisX86}
     [echo] Unix=${isUnix}
     [echo] Windows=true
     [echo] X11=${isX11}

gluegen.cpptasks.detect.os.freebsd:

gluegen.cpptasks.detect.os.hpux:

gluegen.cpptasks.detect.os.linux.amd64:

gluegen.cpptasks.detect.os.linux.ia64:

gluegen.cpptasks.detect.os.linux.x86:

gluegen.cpptasks.detect.os.linux:

gluegen.cpptasks.detect.os.osx:

gluegen.cpptasks.detect.os.solaris.sparc:

gluegen.cpptasks.detect.os.solaris.sparcv9:

gluegen.cpptasks.detect.os.solaris.amd64:

gluegen.cpptasks.detect.os.solaris.x86:

gluegen.cpptasks.detect.os.solaris:

gluegen.cpptasks.detect.os.unix:

gluegen.cpptasks.detect.os.windows.amd64:

gluegen.cpptasks.detect.os.windows.x86:

gluegen.cpptasks.detect.os.windows:

gluegen.cpptasks.detect.os.2:

gluegen.cpptasks.detect.os:

gluegen.cpptasks.detect.compiler:
     [echo] VC6=${isVC6}
     [echo] VC7=${isVC7}
     [echo] VC8=${isVC8}
     [echo] VC8_X64=${isVC8_X64}
     [echo] VC9=${isVC9}
     [echo] MingW=true

load.user.properties:

setup.java.home.dir.nonmacosx:

setup.java.home.dir.macosx:

setup.java.home.dir:

declare.win32.vc6:

declare.win32.vc7:

declare.win32.vc8:

declare.win32.vc8_x64:

declare.win32.vc9:

declare.win32.mingw:
     [echo] Win32.MingW

declare.win32:

declare.linux.x86:

declare.linux.amd64:

declare.linux.ia64:

declare.linux:

declare.solaris32:

declare.solarisSparcv9:

declare.solarisAMD64:

declare.solaris:

declare.macosx:

declare.freebsd:

declare.hpux:

gluegen.cpptasks.configure.compiler:

c.configure:

c.build:
     [echo] Output lib name = gluegen-rt
     [echo] Compiling src/native/windows/*.c
     [echo] user.dir=C:\Users\Alex\shaders\jogl\make
       [cc] 1 total files to be compiled.

BUILD FAILED
C:\Users\Alex\shaders\jogl\make\build.xml:70: The following error occurred while
 executing this line:
C:\Users\Alex\shaders\jogl\make\build-nativewindow.xml:326: The following error
occurred while executing this line:
C:\Users\Alex\shaders\gluegen\make\build.xml:492: The following error occurred w
hile executing this line:
C:\Users\Alex\shaders\gluegen\make\build.xml:402: The following error occurred w
hile executing this line:
C:\Users\Alex\shaders\gluegen\make\build.xml:366: Could not launch gcc: java.io.
IOException: Cannot run program "gcc" (in directory "C:\Users\Alex\shaders\glueg
en\build\obj"): CreateProcess error=2, Le fichier spÚcifiÚ est introuvable

Total time: 2 seconds


I have installed mingw (otherwise the first steps of the build wouldn't have worked) with all the compilers and I thought it included a gcc compiler. Do I need to point it out in a PATH or some sort of environment variable?

Thank you in advance for any help.

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (51 views)
2014-04-15 18:08:23

BurntPizza (47 views)
2014-04-15 03:46:01

UprightPath (63 views)
2014-04-14 17:39:50

UprightPath (45 views)
2014-04-14 17:35:47

Porlus (62 views)
2014-04-14 15:48:38

tom_mai78101 (86 views)
2014-04-10 04:04:31

BurntPizza (144 views)
2014-04-08 23:06:04

tom_mai78101 (243 views)
2014-04-05 13:34:39

trollwarrior1 (202 views)
2014-04-04 12:06:45

CJLetsGame (209 views)
2014-04-01 02:16:10
List of Learning Resources
by SHC
2014-04-18 03:17:39

List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!