尝试在具有64位JVM的Windows 10上构建Xuggler时出现构建失败错误

时间:2019-02-04 10:11:31

标签: java jvm windows-10 64-bit xuggler

我面临Xuggler在64位环境下使用JVM崩溃的问题。而且我发现我必须构建Xuggler才能获得64位兼容的Xuggler。

为此,我去波纹管网站 http://www.xuggle.com/xuggler/build  并尝试在Windows 10上使用64位Jdk_10.0构建Xuggler。

我按照网站上的建议安装了以下东西:

Jdk-10.0.2
Ant 1.9.5
perl 5, version 26, subversion 3 (v5.26.3) built for MSWin32-x64-multi-thread
gcc (GCC) 7.4.0
gmake GNU Make 4.2.1
yasm 1.3.0
pkg-config 0.29.1

然后按照Xuggler网站上的建议将XUGGLE_HOME设置为环境变量。 然后在命令提示符下运行以下命令

ant运行测试

并发现构建失败 并得到以下错误:

Buildfile: C:\Xuggler\xuggle-xuggler\build.xml

windows-init:
     [echo] Converted windows path: 'C:\Xuggler\xuggle-xuggler' to short name: 'C:\Xuggler\xuggle-xuggler' and UNIX name: '/cygdrive/c/Xuggler/xuggle-xuggler'

mac-init:

unix-init:

os-init:

java6.check:
     [echo] Java: java.home is C:\Program Files\Java\jdk-10.0.2 and the target version is 10
     [echo] Ant: ant.home is C:\Program Files\Apache Software Foundation\apache-ant-1.9.5 and the target version is Apache Ant(TM) version 1.9.5 compiled on May 31 2015

revision:
     [exec] Result: 2
   [delete] Deleting: C:\Xuggler\xuggle-xuggler\build\OS.properties
     [echo] Building for OS: Windows 10
     [echo] Building Library Version: 5.5.0
     [echo] Ivy Library Version: 5.5-SNAPSHOT

ivy-init:
     [echo] Initing ivy from C:\Xuggler\xuggle-xuggler\mk\buildtools/lib/ivy-2.2.0.jar
     [echo] Ivy task loaded: C:\Xuggler\xuggle-xuggler\mk\buildtools/lib/ivy-2.2.0.jar
     [echo] Ivy settings file set: C:\Xuggler\xuggle-xuggler\mk\buildtools/ivysettings.xml

init:
     [echo] C:\Xuggler\xuggle-xuggler/configure exists=true
     [echo] Installing to /cygdrive/c/Xuggler/xuggle-xuggler (a.k.a. C:\Xuggler\xuggle-xuggler)

uptodate-native:
     [echo] C:\Xuggler\xuggle-xuggler\build\native\Windows 10/Makefile exists=${native.makefile.exists}

configure-native:
     [echo] executing: ../../../configure --enable-pic     --prefix=/cygdrive/c/Xuggler/xuggle-xuggler
     [exec] ../../../configure: line 18: $'\r': command not found
     [exec] ../../../configure: line 33: syntax error near unexpected token `newline'
     [exec] ../../../configure: line 33: `     ;;
     [exec] '

BUILD FAILED
C:\Xuggler\xuggle-xuggler\mk\buildtools\buildhelper.xml:1171: exec returned: 2

Total time: 3 seconds 

任何人都可以帮助我如何在Windows 10上构建Xuggler

谢谢

0 个答案:

没有答案