fair-acc / chart-fx

A scientific charting library focused on performance optimised real-time data visualisation at 25 Hz update rates for data sets with a few 10 thousand up to 5 million data points.
GNU Lesser General Public License v3.0
504 stars 93 forks source link

Missing Class #563

Closed Scarraluba closed 1 year ago

Scarraluba commented 1 year ago

java: cannot find symbol symbol: class MultiArrayDouble location: package io.fair_acc.dataset.spi.utils

wirew0rm commented 1 year ago

The file should be autogenerated by maven via the chartfx-generate plugin.

mvn compile # should work on the command line ootb
mvn -pl chartfx-generate install  # needed for some ide's that don't look up plugins in the multi module project
Scarraluba commented 1 year ago

how do i do that..

[INFO] --- maven-javadoc-plugin:3.0.1:jar (attach-javadocs) @ generate --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 23.853 s [INFO] Finished at: 2022-12-11T17:06:46+02:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.1:jar (attach-javadocs) on project generate: MavenReportException: Error while generating Javadoc: [ERROR] Exit code: 1 - javadoc: error - cannot read Input length = 1 [ERROR] [ERROR] Command line was: "C:\Program Files\Android\Android Studio\jre\bin\javadoc.exe" @options @packages [ERROR] [ERROR] Refer to the generated Javadoc files in 'C:\Users\sphel\Downloads\chart-fx-main (1)\chart-fx-main\chartfx-generate\target\apidocs' dir. [ERROR] [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

wirew0rm commented 1 year ago

Sorry for the super late response.

This to me looks like an unrelated error with your IDE. I have no experience with Android Studio (even less on windows) so I'm afraid I can't help much here. You could try skipping the generation of javadocs, maven has a command line flag for that.

I'm closing this for now since there isn't much we can do on our side (short of checking the autogenerated code into git or remove the codegeneration completely). But I'll do a section in the readme describing the problem and listing some workarounds.

If you have any more findings feel free to share them here.