Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  build nightmares  (Read 1890 times)
0 Members and 2 Guests are viewing this topic.
Offline aNt

JGO Ninja
***

Posts: 625


AFK


« on: 2003-07-02 08:00:43 »

ok i have been trying to build this thing for days now - for windows. i have install all sorts of stuff all over the shop on my winxp box now. i have installed and setup (and it works cool) antlr.jar. i have also got VS.net installed on my computer, along with all this cygwin stuff (all the dev tools from that just in case).

so off i go and try and build once again. all i get now is:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\aNt.PUNKARSE>cd C:\Documents and Settings\aNt.PUNKARSE
\My Documents\Java SDK's\CVS_Files\jogl\make

C:\Documents and Settings\aNt.PUNKARSE\My Documents\Java SDK's\CVS_Files\jogl\ma
ke>ls
CVS                   gl-x11.cfg
Makefile              glu-common.cfg
Makefile2             glu-impl-common-CustomCCode.c
cg-common.cfg         glu-impl-common-CustomJavaCode.java
cgl-macosx.cfg        glu-impl-common.cfg
gl-cgl-macosx.cfg     glu-impl-macosx.cfg
gl-common-macosx.cfg  glu-impl-win32-GLU13Hacks.cfg
gl-common-win32.cfg   glu-impl-win32.cfg
gl-common-x11.cfg     glu-impl-x11.cfg
gl-common.cfg         glu-interface-common-CustomJavaCode.java
gl-glx-macosx.cfg     glu.cfg
gl-glx-x11.cfg        glx-macosx.cfg
gl-impl-macosx.cfg    glx-x11.cfg
gl-impl-win32.cfg     jawt-macosx.cfg
gl-impl-x11.cfg       jawt-win32.cfg
gl-macosx.cfg         jawt-x11.cfg
gl-wgl-win32.cfg      stub_includes
gl-win32.cfg          wingdi-win32.cfg

C:\Documents and Settings\aNt.PUNKARSE\My Documents\Java SDK's\CVS_Files\jogl\ma
ke>make win32 VC7=true
mkdir -p ../build/obj ../build/obj/jogl ../build/obj/jogl_cg ../build/gensrc/cla
sses/net/java/games/jogl/impl ../build/gensrc/classes/net/java/games/cg ../build
/gensrc/native/jogl ../build/gensrc/native/jogl_cg ../build/classes ../build/gen
src/classes/net/java/games/gluegen/cgram
make: [win32] Error 255 (ignored)
make -f Makefile2 win32  --unix -- VC7=true
make: [win32] Error 255 (ignored)

i want to start to port some of my GL4Java stuff over, and messing around with shaders. i cant at the moment. anyone no where i can get a working up to date version of all the jogl and joal files? plus all the demos and stuff as jar's?

would be cool. splash me an email if u can help me out dudes- i want to play: ant@tomato.co.uk

cheers!
Offline aNt

JGO Ninja
***

Posts: 625


AFK


« Reply #1 on: 2003-07-02 09:24:40 »

HELP!!!  Sad
Offline zparticle

JGO Ninja
***

Posts: 597


Thick As A Brick


« Reply #2 on: 2003-07-02 09:48:44 »

http://jogl.dev.java.net/servlets/ProjectDocumentList?folderID=102

Games published by our own members! Go get 'em!
Offline aNt

JGO Ninja
***

Posts: 625


AFK


« Reply #3 on: 2003-07-02 11:08:14 »

but thats old innit? missing the .cg folder? me down again
Offline Ken Russell

JGO Kernel
*****

Posts: 3446
Medals: 3


Java games rock!


« Reply #4 on: 2003-07-03 01:34:23 »

Sorry about the Win32 build problems. I think it could be one of two things: (1) the path to your Jogl tree has spaces in it (though I thought we fixed all of these related issues in the Makefile already), and (2) something about your cygwin installation is causing a --unix parameter to be passed to Makefile2. Try invoking Makefile2 directly with make -f Makefile2 win32 VC7=1 (after getting Makefile run once to create all of the necessary directories so the vpath prerequisites are understood by make).

I plan to cut over the build process to use the Ant build.xml people have posted. This should hopefully get rid of the make-related weirdness.

I've posted new binaries in the file sharing section and will put up a new post shortly describing the changes.
Offline Rob Nugent

Full Member
**

Posts: 109


May contain nuts


« Reply #5 on: 2003-07-03 11:04:56 »

Wild guess:

I suspect that the apostrophe in SDK's in

C:\Documents and Settings\aNt.PUNKARSE\My Documents\Java SDK's\CVS_Files\jogl\ma ...

might not be helping things any.

Rob
Offline aNt

JGO Ninja
***

Posts: 625


AFK


« Reply #6 on: 2003-07-07 02:13:15 »

nice one Ken Smiley

yer i tryed it off the top level of C:\ and still no joy. Just going to try Ken's idea....

Didnt seem to build that way Ken. must be somthing i have installed on box. sort of start to build- even complies the Java but no Lib's for me.

i get to error2. heres the dump if it helps?

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\aNt.PUNKARSE>cd c:\

C:\>cd jogl\make

C:\jogl\make>make -f Makefile2 win32 VC7=1
Makefile2:930: target `../build/obj' given more than once in the same rule.
VC7 is defined, using Microsoft Visual C++ 7 compiler for native code.
mkdir -p ../build/obj ../build/obj/jogl  ../build/obj ../build/gensrc/classes/ne
t/java/games/jogl/impl ../build/gensrc/native/jogl ../build/classes ../build/gen
src/classes/net/java/games/gluegen/cgram
make: *** [../build/obj] Error 255

C:\jogl\make>

if i use Cygwin (bash shell). 'make' gets alot more done but it still ends in two errors and no Libs are built.

the joal builds just cool under 'ant' Smiley - it must be all in the name... and 'ant' build.xml in the cvs would rock.

tops

aNt




Offline Caoimhin

Full Member
**

Posts: 136



« Reply #7 on: 2003-07-07 07:05:21 »

A little off-topic perhaps, but was there any reason that autoconf and automake weren't used?  It would sure make a cygwin compile much easier.
Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.095 seconds with 20 queries.