2011년 9월 25일 일요일
2011년 9월 24일 토요일
Detects system compiler and OS used
http://quarkplayer.googlecode.com/svn-history/r1252/trunk/cmake/DetectSystem.cmake
2011년 9월 23일 금요일
romeo-opros 1.4.5 global porting 작업
romeo-opros 1.4.5에서는 모든게 많이 변한다.
iso, android, x86-linux, windows, osx에서 모두 포팅 가능한 openFrameworks를 포함한 패키지를 만든다.
물로 midi 관련 프로젝트도 포함되어 있다.
앞으로의 계획은 이렇다.
x86-linux에서 패키지가 완려되면
arm-linux에서 포팅한다. 이때 ios, arndroid에 테스트해 볼것이다.
첫번째 포팅 프로젝트로는 ipod를 이용한 드럼로봇 미들웨어
두번째 포팅 프로젝트로는 romeo의 소나 정보와 RtAudio를 이용해서 소나 거리에 따르는 요상한 소리를 내게하는 프로젝트이다.
romeo-opros 1.4.5 make 방법
penframeworks depends on;
|Linux|MaxOsX|Windows|
- RtAudio | X | X | ? | http://www.music.mcgill.ca/~gary/rtaudio/
- Unicap | X | ? | ? | http://unicap-imaging.org/download.htm
- videoInput | | | ? | http://muonics.net/school/spring05/videoInput/
- poco | X | X | X | http://pocoproject.org/
- glfw | X | X | X | http://glfw.sourceforge.net/
- glut | X | X | X | http://www.opengl.org/resources/libraries/glut/
- freetype | X | X | X | http://www.freetype.org/index2.html
- freeimage | X | X | X | http://freeimage.sourceforge.net/download.html
- fmodex | X | X | X | http://www.fmod.org/
- GLee | X | X | X | http://www.opengl.org/sdk/libs/GLee/
Install
=======
On Linux
--------
RtAudio
+++++++
tar zxvf rtaudio-.tar.gz
cd rtaudio-
./configure
make
cp RtAudio.h RtError.h ./../libsLinux/include
cp librtaudio.a ./../libsLinux/lib
Unicap
++++++
./configure --enable-static --disable-shared --prefix=/tmp/unicap --disable-unicapgtk ; make ; make install
cp -R /tmp/unicap/lib/ ./../libsLinux/lib
cp -R /tmp/unicap/include ./../libsLinux/include
glfw
++++
apt-get install libglfw-dev libglfw2
glut
++++
apt-get install libglut3 libglut3-dev
freetype
++++++++
apt-get install libfreetype6 libfreetype6-dev
freeimage
+++++++++
cd FreeImage
make
sudo cp Dist/FreeImage.h /usr/local/include
sudo cp Dist/libfreeimage.a /usr/local/lib
glee
++++
mkdir GLee
cd GLee
tar zxvf GLee-5.4.0-src.tar.gz
make
sudo cp libGLee.so /usr/local/lib
sudo cp GLee.h /usr/local/include
fmodex
++++++
openFrameworks_remaned 의 README + 또 해야할 일이 있다.
GLUT에 관계된 라이브러리
/usr/local/shard/cmake2-8/modules/FindGLUT.cmake를 참조
sudo apt-get install libgstreamer0.10-dev libgstreamermm0.10-dev
결론
openFrameworks에서 쓰는 라이브러리는
/usr/local/lib에서 찾는 openFramework.cmake
/usr/lib에서 찾는 Findxxx.cmake에서 볼수 있다.
openFramework.cmake는 local에서 찾고
Findxxx.cmak는 Cmake에서 제공된 module 파일로 global하게 찾는다.
그냥 global하게 맡기면 될것 같은데 편리성때문에 그런것 같다.
나중에 배포할때 각각의 라이브러리를 한대 모아 cmake 파일로 만들어 제공해야겠다.
누구한테?.. 개발자에게..
굿~~~~~~~~~~~~~~
2011년 9월 13일 화요일
2011년 9월 12일 월요일
today git use command
git remote -v: what remote ip and prject
git reset --soft HEAD~1 : commit 한후에 commit 바로 이전의 상태로 rollback
git add -i : add 한후에 revert가 주요 목적
git archive --format=tar HEAD|gzip > test.tar.gz
git merge --squash opros: merge시 opros의 commit을 하나의 commit으로 합친다.
2011년 9월 4일 일요일
Using the serial port on galaxy tab 10.1
전에 포스팅에서는 SPP 를 이용해서 bluetooth<->serial 간 통신을 이용한다고 했는데
가격이 9만원 정도 한다.
galaxy tab 10.1 에 있는 serial pin 를 이용해서 시러얼 통신을 한다.
1. tab 의 pinout 을 알아야 한다.
2. ttl level 이므로 3.3 v->12v 로 변환 해야 한다.
3. pin 6 에 150 kohm 을 달아야한다.
피드 구독하기:
글 (Atom)