ecmnet / MAVGCL

In-Flight Analysis for PX4
176 stars 68 forks source link

window ant error #130

Open jadendev0202 opened 3 years ago

jadendev0202 commented 3 years ago

An error has been detected in your program.

I am building on windows, Ant and jdk were installed and the environment variable registration was successful. (successfully typing "ant -version, java -version" in cmd)

Now, after downloading the file you created, unzip it and run ant deploy_windows. (Modified to work on Windows in the build.xml you created.)

JDK used: jdk 16.0.1 Current build number:${build.number} **But it doesn't work.** ###### C:\Autonomia_develop\MAVGCL\MAVGCL>ant deploy_window Buildfile: C:\Autonomia_develop\MAVGCL\MAVGCL\build.xml metadata: [echo] JDK used: jdk 16.0.1 [echo] Current build number:14 [propertyfile] Updating property file: C:\Autonomia_develop\MAVGCL\MAVGCL\src\main\java\com\comino\flight\build.info mvn: [exec] sh: C:/Autonomia_develop/USER/mvn/bin: is a directory [exec] Result: 126 deploy_window: BUILD FAILED C:\Autonomia_develop\MAVGCL\MAVGCL\build.xml:23: Problem: failed to create task or type javafx:com.sun.javafx.tools.ant:deploy Cause: The name is undefined. Action: Check the spelling. Action: Check that any custom tasks/types have been declared. Action: Check that any / declarations have taken place. No types or tasks have been defined in this namespace yet Total time: 0 seconds C:\Autonomia_develop\MAVGCL\MAVGCL> I would like to use this program very much. Ask for help. ![KakaoTalk_20210607_162120356](https://user-images.githubusercontent.com/19356991/120981886-1298a880-c7b3-11eb-90b2-003617d599c4.png) ![KakaoTalk_20210607_162137865](https://user-images.githubusercontent.com/19356991/120981890-13313f00-c7b3-11eb-86f0-b4100cd8ec67.png) ![KakaoTalk_20210607_162148325](https://user-images.githubusercontent.com/19356991/120981893-13c9d580-c7b3-11eb-872b-4cb595e349c1.png) ![KakaoTalk_20210607_162203153](https://user-images.githubusercontent.com/19356991/120981896-13c9d580-c7b3-11eb-8da6-37b274abdcda.png) ![KakaoTalk_20210607_162218264](https://user-images.githubusercontent.com/19356991/120981898-14626c00-c7b3-11eb-94f3-302e80ef5ca3.png) ![image](https://user-images.githubusercontent.com/19356991/120982968-37d9e680-c7b4-11eb-8b42-46302b66b731.png) ![image](https://user-images.githubusercontent.com/19356991/120983041-4aecb680-c7b4-11eb-9f4e-77078371561a.png)
Elbarto commented 2 years ago

Hi,

I'm in the exact same situation. I really would like to use your app, but having about zero knowledge on Java dev I can't figure out how to build it. I manage to go throught installing Maven, Ant ect... setting up the env path aswell but then I'm stuck on the same error described Above...

I Also tried to use the info in the readme, using the jlink and jpackage command but without success.... Please if someone know how to build this app, explain it, it would be much appreciated.