Benutzer:Neingeist/Ubicomp: Unterschied zwischen den Versionen
aus dem Wiki des Entropia e.V., CCC Karlsruhe
(== Equip manuell starten ==) |
(→libparticle: mit Python) |
||
Zeile 4: | Zeile 4: | ||
* Build: | * Build: | ||
JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun CLASSPATH=/usr/share/java/junit.jar scons lang=Java,Ruby ruby_include=/usr/lib/ruby/1.8/i486-linux | JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun CLASSPATH=/usr/share/java/junit.jar sudo scons lang=Java,Python,Ruby ruby_include=/usr/lib/ruby/1.8/i486-linux python_include=/usr/include/python2.5 | ||
JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun CLASSPATH=/usr/share/java/junit.jar sudo scons install prefix=/usr/local | |||
* Install: | |||
JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun CLASSPATH=/usr/share/java/junit.jar sudo scons install prefix=/usr/local | |||
cd build-linux2/libparticlePython; sudo cp particle.py _particle.so /usr/local/lib/python2.5/site-packages/ | |||
== usbbridge == | == usbbridge == |
Aktuelle Version vom 4. Juli 2007, 17:35 Uhr
Pfade für Ubuntu Feisty:
libparticle
- Build:
JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun CLASSPATH=/usr/share/java/junit.jar sudo scons lang=Java,Python,Ruby ruby_include=/usr/lib/ruby/1.8/i486-linux python_include=/usr/include/python2.5
- Install:
JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun CLASSPATH=/usr/share/java/junit.jar sudo scons install prefix=/usr/local cd build-linux2/libparticlePython; sudo cp particle.py _particle.so /usr/local/lib/python2.5/site-packages/
usbbridge
- Includes auf "#include <libparticle.h>" ändern:
grep -r libparticle.h . | grep "../libparticle"
- Build:
JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun CLASSPATH=/usr/share/java/junit.jar scons libparticleCore_dir=/usr/local/lib/ sudo cp build-posix/libftdi.so /usr/local/lib sudo cp build-posix/cmd_usbbridge /usr/local/bin/
sudo ln -s /usr/local/lib/libftdi.so /usr/lib sudo ln -s /usr/local/lib/libparticle.so /usr/lib
Aus dem Verzeichnis in dem teco_usb.cfg liegt aufrufen:
sudo cmd_usbbridge
Für die uParts sollte man particle_type=4
im Konfigurationsfile angeben.
pAnalyzer (Java)
- Braucht Java >= 1.5!
- Build:
CLASSPATH=/usr/share/java/junit.jar scons
- In
run.sh
an zwei Stellenlib/posix
auflib/linux2
ändern.
- Run:
chmod +x run.sh ./run.sh
Equip manuell starten
Statt über Webstart:
- ExporterGUI
- Dataspace
- GraphEditor