Login  Register

Re: Jogl Build Headache

Posted by Sven Gothel on Dec 04, 2013; 4:40pm
URL: https://forum.jogamp.org/Jogl-Build-Headache-tp4030758p4030773.html

On 12/04/2013 03:12 PM, Penny [via jogamp] wrote:

> hiya, thanks for your help again.
>
> The link that doesn't work is
>
> https://sourceforge.net/projects/mingwbuilds/files/mingw-builds-install/mingw-builds-install.exe/download
>
> and it doesn't work in FF or IE.
>
> I have downloaded
>
> x64-4.8.1-release-win32-sjlj-rev5.7z
>
> I tried unpacking to D:\mingw64 and I set the system path to
> ;D:\mingw64\bin;D:\mingw64\lib as the very scant guide suggests but the ant
> compile failed. I am now at a dead end again. Please help many thanks.
>
> gluegen.build.c.impl:
>      [echo] Output lib name = gluegen-rt -> gluegen-rt.dll
>      [echo] Compiling src/native/windows/*.c src/native/common/*.c
>      [echo] user.dir=D:\JAVA\JOGL_BUILD\git\gluegen\make
>        [cc] 6 total files to be compiled.
>        [cc] gcc: error: CreateProcess: No such file or directory
>
> BUILD FAILED
> D:\JAVA\JOGL_BUILD\git\gluegen\make\build.xml:453: The following error
> occurred while executing this line:
> D:\JAVA\JOGL_BUILD\git\gluegen\make\build.xml:478: gcc failed with return code 1
>
The following is a simplified version of my win64 build scripts,
as can be found in 'jogl/scripts/make.jogl.all.win64.bat'

+++

set THISDIR="C:\JOGL"

set J2RE_HOME=c:\jre1.7.0_45_x64
set JAVA_HOME=c:\jdk1.7.0_45_x64
set ANT_PATH=C:\apache-ant-1.8.2

set PATH=%JAVA_HOME%\bin;%ANT_PATH%\bin;c:\mingw64\bin;%PATH%

REM OPTIONAL
set SOURCE_LEVEL=1.6
set TARGET_LEVEL=1.6
set TARGET_RT_JAR=c:\jre1.6.0_30\lib\rt.jar

set JOGAMP_JAR_CODEBASE=Codebase: *.goethel.localnet

ant -Dc.compiler.debug=true > make.jogl.all.win64.log 2>&1

+++

It has to be invoked as a BAT file, i.e. as a windows process,
not cygwin or anything like that ..

from gluegen/make:
  invoke: scripts/make.jogl.all.win64.bat
from jogl/make:
  invoke scripts/make.jogl.all.win64.bat

Maybe you need to remove 'D:\mingw64\lib' from your PATH ?

If 'D:\mingw64\bin' is in your PATH, you should be able to invoke
gcc from the commandline, and it shall work ..

~Sven



signature.asc (911 bytes) Download Attachment