Benutzer:Neingeist/Ubicomp: Unterschied zwischen den Versionen
aus dem Wiki des Entropia e.V., CCC Karlsruhe
Zeile 11: | Zeile 11: | ||
* Includes auf "#include <libparticle.h>" ändern: | * Includes auf "#include <libparticle.h>" ändern: | ||
grep -r libparticle.h . | grep "../libparticle" | grep -r libparticle.h . | grep "../libparticle" | ||
* Build: | * Build: | ||
JAVA_HOME=/usr/lib/j2sdk1.5-sun CLASSPATH=/usr/share/java/junit.jar scons libparticleCore_dir=/usr/local/lib/ | JAVA_HOME=/usr/lib/j2sdk1.5-sun CLASSPATH=/usr/share/java/junit.jar scons libparticleCore_dir=/usr/local/lib/ | ||
Zeile 20: | Zeile 20: | ||
sudo ln -s /usr/local/lib/libftdi.so /usr/lib | sudo ln -s /usr/local/lib/libftdi.so /usr/lib | ||
sudo ln -s /usr/local/lib/libparticle.so /usr/lib | sudo ln -s /usr/local/lib/libparticle.so /usr/lib | ||
sudo cmd_usbbridge |
Version vom 10. Mai 2007, 16:57 Uhr
Pfade für Ubuntu Feisty:
libparticle
- Build:
JAVA_HOME=/usr/lib/j2sdk1.5-sun CLASSPATH=/usr/share/java/junit.jar scons lang=Java,Ruby ruby_include=/usr/lib/ruby/1.8/i486-linux JAVA_HOME=/usr/lib/j2sdk1.5-sun CLASSPATH=/usr/share/java/junit.jar sudo scons install prefix=/usr/local
usbbridge
- Includes auf "#include <libparticle.h>" ändern:
grep -r libparticle.h . | grep "../libparticle"
- Build:
JAVA_HOME=/usr/lib/j2sdk1.5-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
sudo cmd_usbbridge