[jitsi-dev] Windows installer instructions link?


#1

*Damian,*

I did have the JAVA_HOME set to "C:/tools/Java/jdk1.7.0_45"

that's why it was running as:

[exec] C:/mingw/x64/bin/gcc.exe -O2 -Wall -Wreturn-type -DPSAPI_VERSION=1
-DWINVER=0x0502 -D_WIN32_WINNT=0x0502
-IC:/myProjects/jitsi/release/windows/tmp/light
-I"C:/tools/Java/jdk1.7.0_45/include"
-I"C:/tools/Java/jdk1.7.0_45/include/win32" registry.c run.c
C:/myProjects/jitsi/release/windows/tmp/light/run.res ../setup/nls.c
-mwindows -o C:/myProjects/jitsi/release/windows/tmp/light/Jitsi.exe
-ladvapi32 -lpsapi

I can see the "jni.h" is right under the
"C:/tools/Java/jdk1.7.0_45/include", but somehow it's not getting picked up.

You need to set JAVA_HOME variable in your environment.

Thanks Ali,

I was able to move forward, but getting a new error:
----------------------------------------------
$ ant build-installation-wix-64
Buildfile: C:\myProjects\jitsi\build.xml

-pre-version:

version:
    [javac] Compiling 3 source files to C:\myProjects\jitsi\classes
    [javac] warning: [options] bootstrap class path not set in conjunction
with -source 1.6
    [javac] 1 warning
     [echo] Jitsi version 2.4.0.build.by.SVN

load-properties:

build-installation-wix-64:

clean-install-windows:
   [delete] Deleting directory C:\myProjects\jitsi\release\windows
    [mkdir] Created dir: C:\myProjects\jitsi\release\windows
    [mkdir] Created dir: C:\myProjects\jitsi\release\windows\tmp

define-ant-contrib-task:

build-installation-wix-base:
[propertyfile] Creating new property file:
C:\myProjects\jitsi\release\windows\versionupdate.properties
    [mkdir] Created dir: C:\myProjects\jitsi\release\windows\tmp\light
     [echo] sc.basedir=C:/myProjects/jitsi
     [echo] TARGET_DIR=C:/myProjects/jitsi/release/windows/tmp/light
     [echo] windows.app.dir=C:/myProjects/jitsi/release/windows
     [exec] rm.exe -f ../../../../resources/install/windows/config.h
     [exec] echo -e '#define PRODUCTNAME "Jitsi"\n#define
PRODUCTBUILDVERSION "2.4.0.build.by.SVN"\n#define TARGET_BASENAME
"Jitsi"\n#define TARGET_BASENAME_EXE "Jitsi.exe"' >
C:/myProjects/jitsi/release/windows/tmp/light/config.h
     [exec] C:/mingw/x64/bin/windres.exe
-I../../../../resources/install/windows
-IC:/myProjects/jitsi/release/windows/tmp/light run.rc -O coff -o
C:/myProjects/jitsi/release/windows/tmp/light/run.res
     [exec] C:/mingw/x64/bin/gcc.exe -O2 -Wall -Wreturn-type
-DPSAPI_VERSION=1 -DWINVER=0x0502 -D_WIN32_WINNT=0x0502
-IC:/myProjects/jitsi/release/windows/tmp/light
-I"C:/tools/Java/jdk1.7.0_45/include"
-I"C:/tools/Java/jdk1.7.0_45/include/win32" registry.c run.c
C:/myProjects/jitsi/release/windows/tmp/light/run.res ../setup/nls.c
-mwindows -o C:/myProjects/jitsi/release/windows/tmp/light/Jitsi.exe
-ladvapi32 -lpsapi
     [exec] run.c:11:17: fatal error: jni.h: No such file or directory
     [exec] #include <jni.h>
     [exec] ^
     [exec] compilation terminated.
     [exec] Makefile:42: recipe for target
'C:/myProjects/jitsi/release/windows/tmp/light/Jitsi.exe' failed
     [exec] make.exe: ***
[C:/myProjects/jitsi/release/windows/tmp/light/Jitsi.exe] Error 1

BUILD FAILED
C:\myProjects\jitsi\resources\install\build.xml:298: The following error
occurred while executing this line:
C:\myProjects\jitsi\resources\install\build.xml:416: exec returned: 2
----------------------------------------------

I can see the "jni.h" is right under the
"C:/tools/Java/jdk1.7.0_45/include", but somehow it's not getting picked

up.

···

On Jan 23, 2015 1:03 AM, "C M" <cmregister@gmail.com> wrote:

Thanks,

C.M.