2011년 9월 23일 금요일

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 파일로 만들어 제공해야겠다.


누구한테?.. 개발자에게..
굿~~~~~~~~~~~~~~

댓글 없음: