0
我是新來libGDX並試圖編譯源,libGDX - GDX-後端-jglfw丟失和其他一些
我有偏食紅月安裝4.4.1 jdk1.8.0_11和JAVA_HOME設置 jre8 螞蟻版本1.9.3 //執行螞蟻-f fetch.xml在libGDX的Filder 清理所有項目
,但正如我在項目中碰到什麼有25個錯誤, 這是我的第一個JAVA的libGDX嘗試並在這裏死去...
Description \t Resource \t Path \t Location \t Type
Project 'gdx-backend-jglfw' is missing required library: '/gdx/libs/gdx-natives.jar' \t gdx-backend-jglfw \t \t Build path \t Build Path Problem
Project 'gdx-backend-jglfw' is missing required library: 'libs/gdx-backend-jglfw-natives.jar' \t gdx-backend-jglfw \t \t Build path \t Build Path Problem
Project 'gdx-backend-jglfw' is missing required library: 'libs/jglfw.jar' \t gdx-backend-jglfw \t \t Build path \t Build Path Problem
Project 'gdx-backend-lwjgl' is missing required library: '/gdx/libs/gdx-natives.jar' \t gdx-backend-lwjgl \t \t Build path \t Build Path Problem
Project 'gdx-backend-robovm' is missing required library: 'libs/robovm-cacerts-full.jar' \t gdx-backend-robovm \t \t Build path \t Build Path Problem
Project 'gdx-backend-robovm' is missing required library: 'libs/robovm-cocoatouch.jar' \t gdx-backend-robovm \t \t Build path \t Build Path Problem
Project 'gdx-backend-robovm' is missing required library: 'libs/robovm-objc.jar' \t gdx-backend-robovm \t \t Build path \t Build Path Problem
Project 'gdx-backend-robovm' is missing required library: 'libs/robovm-rt.jar' \t gdx-backend-robovm \t \t Build path \t Build Path Problem
Project 'gdx-bullet' is missing required library: 'libs/gdx-bullet-natives.jar' \t gdx-bullet \t \t Build path \t Build Path Problem
Project 'gdx-controllers-desktop' is missing required library: 'libs/gdx-controllers-desktop-natives.jar' \t gdx-controllers-desktop \t \t Build path \t Build Path Problem
Project 'gdx-tests-lwjgl' is missing required library: '/gdx-box2d/libs/gdx-box2d-natives.jar' \t gdx-tests-lwjgl \t \t Build path \t Build Path Problem
Project 'gdx-tests-lwjgl' is missing required library: '/gdx-controllers-desktop/libs/gdx-controllers-desktop-natives.jar' \t gdx-tests-lwjgl \t \t Build path \t Build Path Problem
Project 'gdx-tests-lwjgl' is missing required library: '/gdx-freetype/libs/gdx-freetype-natives.jar' \t gdx-tests-lwjgl \t \t Build path \t Build Path Problem
The project cannot be built until build path errors are resolved \t gdx-backend-jglfw \t \t Unknown \t Java Problem
The project cannot be built until build path errors are resolved \t gdx-backend-lwjgl \t \t Unknown \t Java Problem
The project cannot be built until build path errors are resolved \t gdx-backend-robovm \t \t Unknown \t Java Problem
The project cannot be built until build path errors are resolved \t gdx-bullet \t \t Unknown \t Java Problem
The project cannot be built until build path errors are resolved \t gdx-controllers-desktop \t \t Unknown \t Java Problem
The project cannot be built until build path errors are resolved \t gdx-tests-lwjgl \t \t Unknown \t Java Problem
The project cannot be built until its prerequisite gdx-tests is built. Cleaning and building all projects is recommended \t gdx-tests-android \t \t Unknown \t Java Problem
The project cannot be built until its prerequisite gdx-tests is built. Cleaning and building all projects is recommended \t gdx-tests-gwt \t \t Unknown \t Java Problem
The project was not built since it depends on gdx-backend-jglfw, which has build path errors \t gdx-tests-jglfw \t \t Unknown \t Java Problem
The project was not built since it depends on gdx-backend-lwjgl, which has build path errors \t gdx-tools \t \t Unknown \t Java Problem
The project was not built since it depends on gdx-backend-robovm, which has build path errors \t gdx-tests-iosrobovm \t \t Unknown \t Java Problem
The project was not built since it depends on gdx-bullet, which has build path errors \t gdx-tests \t \t Unknown \t Java Problem
我得到這也許有助於理清這個問題?
eclipse.buildId=4.4.1.M20140925-0400
java.version=1.8.0_11
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.standard.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.standard.product
org.eclipse.egit.ui
Warning
Mon Oct 27 20:15:01 EET 2014
Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\gokhan'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
*************************************************************
eclipse.buildId=4.4.1.M20140925-0400
java.version=1.8.0_11
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.standard.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.standard.product
org.eclipse.egit.ui
Warning
Mon Oct 27 20:15:01 EET 2014
Warning: EGit couldn't detect the installation path "gitPrefix" of native Git. Hence EGit can't respect system level
Git settings which might be configured in ${gitPrefix}/etc/gitconfig under the native Git installation directory.
The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in
this system level configuration. The Git installation location can be configured on the
Team > Git > Configuration preference page's 'System Settings' tab.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
*************************************************************
eclipse.buildId=4.4.1.M20140925-0400
java.version=1.8.0_11
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.standard.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.standard.product
org.eclipse.ui.navigator
Warning
Mon Oct 27 20:14:59 EET 2014
Can't find Navigator Content Descriptor with id: org.eclipse.jst.servlet.ui.EnhancedJavaRendering
我還要檢查有關主文件夾,在系統變量存在JAVA_HOME爲 「C:\ PROGRA〜2 \的Java \ jdk1.8.0_11」
那麼爲什麼你認爲我得到這些錯誤批次?謝謝
如果您只是想使用libgdx,則不必構建源代碼。您只是將它用作項目的依賴項。 – Barodapride 2014-10-27 20:12:31