Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
reprap_software [2007-10-01 13:09] 192.168.1.38reprap_software [2008-05-17 13:52] (current) nik
Line 1: Line 1:
-====== PPC java ======+==== Software & Fimware notes ==== 
 +. . .for the [[reprap]] (the older PPC notes can be found in [[debian ppc]] )
  
-since we are using this mac laptop as the dedicated reprap machine, this page will contain some rants about dealing with the ppc peculiarity. first up, java. the [[https://help.ubuntu.com/community/Java|ubuntu java]] page suggests using the IBM jdkHint: the package you want to install (after adding the medibuntu repository and key) is ibm-j2sdk1.5.+==== RXTX ==== 
 + 
 +used the "Mac OSX/Source package" for RXTX version 2.1. there were numerous compile/configure errors involving a non-existent kernel define ''UTS_RELEASE''as a quick workaround I commented out these sections of code (which were just checking that the running kernel matched the compiled source). 
 + 
 +==== RepRap Host ==== 
 + 
 +initially i added the java3d jar files on the classpath with ''-classpath''but later discovered that the ''-jar'' method of launching RepRap defeats this
 + 
 +ultimately i just copied all of the jar files to the correct places, eg: 
 + 
 +<code> 
 +sudo mv j3d-org-java3d-all.jar /usr/lib/j2sdk1.5-ibm/jre/lib/ext/ 
 + 
 +sudo cp -v j3d-core/build/linux-ppc/opt/lib/ext/j3dcore.jar /usr/lib/j2sdk1.5-ibm/jre/lib/ext 
 +sudo cp -v j3d-core/build/linux-ppc/opt/lib/ext/j3dutils.jar /usr/lib/j2sdk1.5-ibm/jre/lib/ext 
 +sudo cp -v vecmath/build/opt/lib/ext/vecmath.jar /usr/lib/j2sdk1.5-ibm/jre/lib/ext 
 + 
 +sudo cp -v j3d-core/build/linux-ppc/opt/native/ogl/objs/libj3dcore-ogl.so /usr/lib/j2sdk1.5-ibm/jre/bin/ 
 +</code> 
 + 
 +(the first one is the j3d.org jar file we need which contains the STLLoader and is linked from the [[http://reprap.org/bin/view/Main/RepRapLinuxSoftware#The_j3d_org_3D_utility_library|ReprapLinuxSoftware]] page
 + 
 +and finally, we were getting a lot of errors like: 
 + 
 +<code> 
 +STLObject(): Exception loading STL file from: file:/home/foam/code/reprap-host-0.8.1/reprap-wv.stl 
 +com.sun.j3d.loaders.IncorrectFormatExceptionsun.io.MalformedInputException 
 +</code> 
 + 
 +which was ultimately fixed by running in a non-UTF-8 locale, I did this by editing the ''reprap-host.sh'' script to
 + 
 +<code> 
 +#!/bin/bash 
 +LANG=${LANG%%.UTF-8} java -Xmx384m -jar Reprap.jar 
 +</code> 
 + 
 +the ''LANG='' part is just a smarty-pants way of stripping the ''.UTF-8'' part of your locale. 
 + 
 +this locale problem is described in ''/usr/lib/j2sdk1.5-ibm/docs/en/sdkandruntimeguide.lnx.en.htm'' 
 + 
 +==== FIRMWARE ==== 
 +  * using the k8048 PIC programmer 
 +  * installed sdcc (2.7.0 #4818) & gputils (0.13.5-2) from debian.. (note sure about the advice at http://reprap.org/bin/view/Main/SDCC but both versions in debian were more recent than the linked debs) 
 +  * built from svn (checkout 2008-05-17) in ~/reprap/trunk/reprap/firmware/PIC 
 +  * compiled firmware -> flashed PICS -> 'working' reprap 
 + 
 +==== pyRepRap ==== 
 +  * ~/reprap/trunk/users/stef/pyRepRap/ 
 +  * http://hydraraptor.blogspot.com/2008/04/python-beans-make-object.html
  
-you also need the libstdc++5 package, which is missing from the IBM jdk requirements. 
  • reprap_software.1191244168.txt.gz
  • Last modified: 2007-10-01 13:09
  • by 192.168.1.38