jetty840 / replicatorg Goto Github PK
View Code? Open in Web Editor NEWReplicatorG
License: GNU General Public License v2.0
ReplicatorG
License: GNU General Public License v2.0
ReplicatorG is an open-source GCode based controller for RepRap / CNC machines. It has 3 main goals: 1. Be as simple to use, and as easy to install as possible. 2. Be driver oriented and abstract the GCode away, allowing users to easily create drivers for their own machine. 3. Support as much of the GCode specification as possible. For more information, see the website at: http://www.replicat.org INSTALLATION Windows: http://replicat.org/installation-windows Mac OSX: http://replicat.org/installation-mac Linux: http://replicat.org/installation-linux CREDITS ReplicatorG is an open source project, owned by nobody and supported by many. The project is descended from the wonderful Arduino host software (http://www.arduino.cc) Arduino is descended from the also wonderful Processing environment (http://www.processing.org) ReplicatorG was forked from Arduino in August 2008. See changelog.txt for a list of changes in each version. People who have worked on ReplicatorG include: Zach 'Hoeken' Smith (http://www.zachhoeken.com) Marius Kintel (http://reprap.soup.io) Adam Mayer (http://makerbot.com) Far McKon (http://makerbot.com) A full list of contributers is in contributers.txt
I've downloaded your head state and tried to compile it on fresh Ubuntu 14.10 (Fully updated as of 2015-01-27). I get the following build message:
j@j-virtual-machine:~/MakerBot/HostSoftware/ReplicatorG/jetty840/ReplicatorG-master$ ./run-from-git.sh
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
Buildfile: /home/j/MakerBot/HostSoftware/ReplicatorG/jetty840/ReplicatorG-master/build.xml
[echo] Linux-amd64
compile:
[javac] Compiling 1 source file to /home/j/MakerBot/HostSoftware/ReplicatorG/jetty840/ReplicatorG-master/build/classes
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
[javac] 1 warning
jar:
[jar] Building jar: /home/j/MakerBot/HostSoftware/ReplicatorG/jetty840/ReplicatorG-master/build/jar/ReplicatorG.jar
run:
[java] Jan 27, 2015 11:00:22 PM replicatorg.machine.MachineFactory load
[java] SEVERE: Could not load machine 'The Replicator Dual' no machineNode found
[java] java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver
[java] Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path
[java] at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1886)
[java] at java.lang.Runtime.loadLibrary0(Runtime.java:849)
[java] at java.lang.System.loadLibrary(System.java:1088)
[java] at gnu.io.CommPortIdentifier.<clinit>(CommPortIdentifier.java:83)
[java] at replicatorg.app.util.serial.Serial.scanSerialNames(Serial.java:103)
[java] at replicatorg.app.ui.MainWindow.reloadSerialMenu(MainWindow.java:691)
[java] at replicatorg.app.ui.MainWindow.buildMachineMenu(MainWindow.java:1247)
[java] at replicatorg.app.ui.MainWindow.<init>(MainWindow.java:334)
[java] at replicatorg.app.Base$2.run(Base.java:656)
[java] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
[java] at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:738)
[java] at java.awt.EventQueue.access$300(EventQueue.java:103)
[java] at java.awt.EventQueue$3.run(EventQueue.java:699)
[java] at java.awt.EventQueue$3.run(EventQueue.java:697)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
[java] at java.awt.EventQueue.dispatchEvent(EventQueue.java:708)
[java] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
[java] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
[java] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
[java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
[java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
[java] at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
This no longer runs on OS X because Apple has ended support for 32-bit applications.
Is there a quick fix for this, or is the software essentially dead on OS X now?
This is an old project, but still in use. Using Java 1.8 and newer rxtx drivers it still runs.
http://blog.brianhemeryck.me/installing-rxtx-on-mac-os-mountain-lion/ describes where to get newer drivers.
Using this command I managed to run the UI:
java -ea \
-Xmx2g \
-XX:+HeapDumpOnOutOfMemoryError \
-Djava.library.path=./ReplicatorG/build/macosx/dist \
-Dreplicatorg.app-resources=./ReplicatorG/build/shared/lib \
-Dreplicatorg.toolpath=./ReplicatorG/build/macosx/dist/tools \
-classpath \
./ReplicatorG/build/macosx/jarbundler-2.2.0.jar:/Library/Java/Extensions/RXTXcomm.jar:./ReplicatorG/build/shared/lib/filedrop.jar:./ReplicatorG/build/shared/lib/j3dcore.jar:./ReplicatorG/build/shared/lib/j3dutils.jar:./ReplicatorG/build/shared/lib/jcommon-1.0.16.jar:./ReplicatorG/build/shared/lib/jfreechart-1.0.13.jar:./ReplicatorG/build/shared/lib/miglayout-3.7.4.jar:./ReplicatorG/build/shared/lib/mrj.jar:./ReplicatorG/build/shared/lib/quaqua.jar:./ReplicatorG/build/shared/lib/twitter4j-2.0.10.jar:./ReplicatorG/build/shared/lib/vecmath.jar:/System/Library/Java:./ReplicatorG/build/jar/ReplicatorG-Dreplicatorg.app-resources=./ReplicatorG/build/shared/lib \
-Dreplicatorg.toolpath=./ReplicatorG/build/macosx/dist/tools \
-classpath \./ReplicatorG/build/macosx/jarbundler-2.2.0.jar:./ReplicatorG/build/shared/lib/RXTXcomm.jar:./ReplicatorG/build/shared/lib/filedrop.jar:./ReplicatorG/build/shared/lib/j3dcore.jar:./ReplicatorG/build/shared/lib/j3dutils.jar:./ReplicatorG/build/shared/lib/jcommon-1.0.16.jar:./ReplicatorG/build/shared/lib/jfreechart-1.0.13.jar:./ReplicatorG/build/shared/lib/miglayout-3.7.4.jar:./ReplicatorG/build/shared/lib/mrj.jar:./ReplicatorG/build/shared/lib/quaqua.jar:./ReplicatorG/build/shared/lib/twitter4j-2.0.10.jar:./ReplicatorG/build/shared/lib/vecmath.jar:/System/Library/Java:./ReplicatorG/build/jar/ReplicatorG.jar replicatorg.app.Base
This removes the 32 bit restriction that is added in the ant.properties and the 1.5 Java version from the build.xml file.
For those of you who are interested in running this on modern OSX's. Feel free to use this knowledge to create a new release.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.