[jitsi-dev] building windows installer


#1

Hi,

I've managed to build installers for OS X and Debian.
Now I was attempting to build a windows installer but I seem to have hit a
roadblock.

I followed the instructions from here
http://stackoverflow.com/questions/14495465/installer-for-jitsi-sip-communicator,
including Paramesh's tip to change the makefiles under src/native/windows/*
but my installer still fails to compile properly. It seems that config.h
isn't being properly created but I don't know why.

Any help much appreciated.

Thanks,
Peter

[exec]
     [exec] echo #define TARGET_BASENAME_EXE "Jitsi.exe" >>
C:\cygwin\var\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec]
     [exec] C:/mingw/x86/bin/mingw32-windres.exe
-I../../../../resources/install/windows
-IC:\cygwin\var\jitsi\jitsi-master/release/windows/tmp/light run.rc -O coff
-o C:\cygwin\var\jitsi\jitsi-master/release/windows/tmp/light/run.res
     [exec] Makefile:56: recipe for target
'C:\cygwin\var\jitsi\jitsi-master/release/windows/tmp/light/run.res' failed
     [exec] In file included from run.rc:8:0:
     [exec] run.h:12:43: fatal error: config.h: No such file or directory
     [exec] #include "config.h" /* e.g. PRODUCTNAME */
     [exec] ^
     [exec] compilation terminated.
     [exec] C:/mingw/x86/bin/mingw32-windres.exe: preprocessing failed.
     [exec] make.exe: ***
[C:\cygwin\var\jitsi\jitsi-master/release/windows/tmp/light/run.res] Error 1

BUILD FAILED