nach vielen Jahren möchte ich das bisher persönlich nie verwirklichte Projekt des ct-Bots angehen. Schön, dass es immernoch eine aktive Community gibt.
Bevor ich mich an die Hardware mache wollte ich den CtSim ausprobieren. Umgebung ist ein älteres Notebook, Mageia4 als OS. Java3D und Ecplipse sind installiert, importiert habe ich die stable Version "ct-Sim 1899". Start der Main.java unter Eclipse zeigt nur ein Startfenster mit dem ct-Bot (Versionsmeldung 2.10) und der Meldung " Lade Konfigurationsdatei 'config/ct-sim.xml' " - danach passiert nichts mehr.
Die Konsole gibt folgendes aus:
Code: Alles auswählen
[29 Mar 2014 16:48:33.821] INFO: Lade Konfigurationsdatei 'config/ct-sim.xml' [ctSim.controller.Config.info() Thread AWT-EventQueue-0 (13)]
Initialisierungen in Main fehlgeschlagen
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1272)
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1247)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1347)
at ctSim.controller.Main.main(Main.java:99)
Caused by: java.lang.Error: Unresolved compilation problems:
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.vecmath cannot be resolved
The import javax.vecmath cannot be resolved
The import com.sun.j3d cannot be resolved
The import com.sun.j3d cannot be resolved
The import com.sun.j3d cannot be resolved
The import com.sun.j3d cannot be resolved
The import com.sun.j3d cannot be resolved
The import com.sun.j3d cannot be resolved
GraphicsConfigTemplate3D cannot be resolved to a type
Canvas3D cannot be resolved to a type
Canvas3D cannot be resolved to a type
Canvas3D cannot be resolved to a type
Canvas3D cannot be resolved to a type
SimpleUniverse cannot be resolved to a type
Canvas3D cannot be resolved to a type
SimpleUniverse cannot be resolved to a type
SimpleUniverse cannot be resolved to a type
Canvas3D cannot be resolved to a type
SimpleUniverse cannot be resolved to a type
Canvas3D cannot be resolved to a type
SimpleUniverse cannot be resolved to a type
SimpleUniverse cannot be resolved to a type
SimpleUniverse cannot be resolved to a type
SimpleUniverse cannot be resolved to a type
SimpleUniverse cannot be resolved to a type
SimpleUniverse cannot be resolved to a type
Canvas3D cannot be resolved to a type
SimpleUniverse cannot be resolved to a type
Canvas3D cannot be resolved to a type
SimpleUniverse cannot be resolved to a type
The method getScene() from the type World refers to the missing type BranchGroup
SimpleUniverse cannot be resolved to a type
BranchGroup cannot be resolved to a type
MouseRotate cannot be resolved to a type
MouseBehavior cannot be resolved to a variable
MouseTranslate cannot be resolved to a type
MouseBehavior cannot be resolved to a variable
MouseZoom cannot be resolved to a type
MouseWheelZoom cannot be resolved to a type
MouseBehavior cannot be resolved to a type
SimpleUniverse cannot be resolved to a type
BoundingSphere cannot be resolved to a type
Point3d cannot be resolved to a type
SimpleUniverse cannot be resolved to a type
SimpleUniverse cannot be resolved to a type
Transform3D cannot be resolved to a type
Transform3D cannot be resolved to a type
TransformGroup cannot be resolved to a type
SimpleUniverse cannot be resolved to a type
Vector3d cannot be resolved to a type
Screen3D cannot be resolved to a type
Canvas3D cannot be resolved to a type
Screen3D cannot be resolved to a type
Canvas3D cannot be resolved to a type
Canvas3D cannot be resolved to a type
ImageComponent2D cannot be resolved to a type
ImageComponent2D cannot be resolved to a variable
Canvas3D cannot be resolved to a type
Canvas3D cannot be resolved to a type
Canvas3D cannot be resolved to a type
at ctSim.view.gui.WorldViewer.<init>(WorldViewer.java:29)
at ctSim.view.gui.MainWindow.<init>(MainWindow.java:104)
at ctSim.controller.Main.setupViewAndController(Main.java:205)
at ctSim.controller.Main.access$1(Main.java:199)
at ctSim.controller.Main$1.run(Main.java:104)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Vielen Dank im Voraus
sj7