Search code examples
windowscompilationmakefilemingwjitsi

Windows Mingw Make error -


I'm trying to compile Jitsi in windows, and Mingw make is not working for me. Can you help me out?

build-installation-wix-base:
[propertyfile] Creating new property file: D:\code\jitsi-master\release\windows\versionupdate.properties
    [mkdir] Created dir: D:\code\jitsi-master\release\windows\tmp\light
     [exec] Makefile:41: *** target pattern contains no `%'.  Stop.

The makefile looks like this in line 41:

$(cygwin.target.dir)/$(TARGET_BASENAME).exe: "$(cygwin.target.dir)/config.h" registry.c run.c "$(cygwin.target.dir)/run.res" ../setup/nls.c
    $(CC) $(CPPFLAGS) registry.c run.c "$(target.dir)/run.res" ../setup/nls.c $(LDFLAGS) -o "$(target.dir)/$(TARGET_BASENAME).exe" $(LIBS)
    -"$(MINGW_HOME)/$(MACHINE)/bin/strip.exe" "$(target.dir)/$(TARGET_BASENAME).exe"

I can't compile it with cygwin because its throwing tchar.h not found error.

Please help me out.


Solution

  • If you are using mingw, you should probably run mingw32-make instead of make from cygwin distribution. They are using different path convetions.