Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision |
reprap_software [2007-10-02 14:17] – 192.168.1.33 | reprap_software [2008-05-17 11:22] – nik |
---|
====== PPC java ====== | ==== Software & Fimware notes ==== |
| . . .for the [[reprap]] |
| |
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 jdk. Hint: the package you want to install (after adding the medibuntu repository and key) is ''ibm-j2sdk1.5''. | === PPC java === |
| 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 jdk. Hint: the package you want to install (after adding the medibuntu repository and key) is ''ibm-j2sdk1.5''. |
| |
you also need the following packages (further details may ba found at http://packages.ubuntu.com/) | you also need the following packages (further details may ba found at http://packages.ubuntu.com/) |
* mesa-common-dev (for glext.h) | * mesa-common-dev (for glext.h) |
| |
the j3d source | the java3d source |
* register at https://java3d.dev.java.net/ and follow the instructions for checkingout vecmath, j3d-core and j3d-core-utils. | * register at https://java3d.dev.java.net/ and follow the instructions for checkingout vecmath, j3d-core and j3d-core-utils. |
* run ant in vecmath, then j3d-core directories | * run ant in vecmath, then j3d-core directories |
| |
| note that the java3d source packages are called ''j3d-*'', don't confuse this with the j3d.org site and it's utility libraries. one of which you also need. |
| |
===== RXTX ===== | ===== 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). | 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 ===== | ==== 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. | initially i added the java3d jar files on the classpath with ''-classpath'', but later discovered that the ''-jar'' method of launching RepRap defeats this. |
sudo cp -v j3d-core/build/linux-ppc/opt/native/ogl/objs/libj3dcore-ogl.so /usr/lib/j2sdk1.5-ibm/jre/bin/ | sudo cp -v j3d-core/build/linux-ppc/opt/native/ogl/objs/libj3dcore-ogl.so /usr/lib/j2sdk1.5-ibm/jre/bin/ |
</code> | </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: | and finally, we were getting a lot of errors like: |
| |
the ''LANG='' part is just a smarty-pants way of stripping the ''.UTF-8'' part of your locale. | 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 & gputils 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 |
| |