iOS2011. 7. 21. 10:20

http://www.luuvish.org/208

VLC는 한번에 제대로 컴파일된 적이 없네요. iOS 버전은 최근에 작업중인지 그나마 덜 고생하고 컴파일 성공했습니다. 프로젝트들이 얽혀있어 분석이 쉽진 않겠네요.

$ tar jxvf VLC-1.1.0-iOS.tar.bz2
$ ln -s VLC-1.1.0-iOS vlc
$ cd vlc/extras/package/ios
  • build_for_iOS.sh 을 열어서 SDK 버전을 수정합니다. 현재 최신버전은 4.2.sdk입니다. IOS_SDK_ROOT="${DEVROOT}/SDKs/iPhone${PLATFORM}3.2.sdk"
  • build_for_iOS.sh 를 실행해서 컴파일해 보면 중간에 에러가 나면서 멈춥니다. patch file의 버전문제인데 ../../contrib/src-arm-apple-darwin10-ios/src/Patches/live-inet_ntop.patch의 161-185 라인을 참고해서 ../../contrib/src-arm-apple-darwin10-ios/src/live/liveMedia/RTSPServer.cpp을 직접 수정하면 됩니다. our_inet_ntoa()의 두번째 인자로 buf를 추가하기만 하면됩니다.
  • 이제 build_for_iOS.sh를 실행해서 컴파일합니다. 완료되면 vlc/install-ios-OS에 해더와 라이브러리가 생성됩니다.
  • MobileVLCKit의 static plugins를 build합니다.
$ cd vlc/projects/macosx/framework
$ xcodebuild -project MobileVLCKit.xcodeproj -target "Aggregate static plugins" -configuration "Release"
  • MobileVLCKit의 MobileVLCKit의 SDK 버전을 최신버전으로 수정하고 build합니다.
$ open MobileVLCKit.xcodeproj
fix Targets/MobileVLCKit - Get Info / Build
Configuration : All Configurations
Architectures / Base SDK : Latest iOS
$ xcodebuild -project MobileVLCKit.xcodeproj -target "MobileVLCKit" -configuration "Release"



MediaLibraryKit compile하기
  • 작업디렉토리(VLC-1.1.0-iOS와 같은 위치)에 MediaLibraryKit 디렉토리를 만들고 압축을 풉니다.
$ mkdir MediaLibraryKit && cd MediaLibraryKit
$ unzip MediaLibraryKit-1.1.0.zip
  • External 디렉토리로 들어가 MobileVLCKit의 링크를 만듭니다.
$ ln -s ../../vlc/projects/macosx/framework/build/Release-iphoneos MobileVLCKit
  • MediaLibraryKit의 SDK 버전을 최신버전으로 수정하고 build합니다.
$ open MobileMediaLibraryKit.xcodeproj
fix Targets/MobileMediaLibraryKit - Get Info / Build
Configuration : All Configurations
Architectures / Base SDK : Latest iOS
$ xcodebuild -project MobileMediaLibraryKit.xcodeproj -configuration "Release"



MobileVLC compile하기
  • 작업디렉토리(VLC-1.1.0-iOS와 같은 위치)에서 MobileVLC의 압축을 풉니다.
$ tar zxvf MobileVLC-1.1.0.tar.gz
$ cd MobileVLC
  • External 밑에 있는 MediaLibraryKit와 MobileVLCKit의 링크가 제대로 되어있는지 확인합니다.
  • MobileVLC의 SDK 버전을 최신버전으로 수정하고 build합니다.
$ open MobileVLC.xcodeproj
fix Targets/MobileVLC - Get Info / Build
Configuration : All Configurations
Architectures / Architectures : Standard (armv6 armv7)
Architectures / Base SDK : Latest iOS
build with Device-Release configurations

Posted by 삼스

댓글을 달아 주세요

  1. Safest clothing style is certainly set of pure black western-style clothes matches the pure white the shirt and the best cheap True Religion jeans, so long as the evening banquet is not the too grand words, does not need is the tie, loosened a grain of knot the neckband to be good. While if you have the self-confidence to yourself, may put on the pure white boldly the western-style clothes, this will let you be very outstanding. You should be certainly to put on the true leather shoes.

    2011.09.19 15:03 [ ADDR : EDIT/ DEL : REPLY ]
  2. Always I twirle and imagine that if I could let everything — the beautiful flowers, the sunshine, the wind , the attractive clothes — into that house in the banks of our own. Yes this is my dream. We could live in our beautiful dreams forever because we are girls. Girls need dream. But don’t you want to make the dream come true? Now follow the steps with the cheap true religion jeans and you will find all the amazing jeans of the brand you have dream in your happier nightmare have really lively come into your life.

    2011.09.19 15:03 [ ADDR : EDIT/ DEL : REPLY ]
  3. And the monster dre beats studio headphones make us focus on learning. I like listen to music when I was study. Even I can say without a good song, I can not get effective care. So this is why I love these monster headphones of the brand. And I am a person who wants to live a happy life during the rest of my life, so I want to use my heart to know the monster and learn it.

    2011.09.19 15:03 [ ADDR : EDIT/ DEL : REPLY ]
  4. The girl next door always have a pure and fresh and natural flavour. They need not too much adornment, but still show the green one side. Along with the water sweet laughter and kind smile. If you asked one of the boys, “do you like what girl?” I think he will answer you: “of course are natural girl. It’s like the neighbor sister pure and fresh feeling.” Also, I is one of the standard. discount christian louboutin with the girl next door and pure and fresh flavor. Concise wear build, can highlight girl lasting appeal.

    2011.09.19 15:04 [ ADDR : EDIT/ DEL : REPLY ]
  5. The girl next door always have a pure and fresh and natural flavour. They need not too much adornment, but still show the green one side. Along with the water sweet laughter and kind smile. If you asked one of the boys, “do you like what girl?” I think he will answer you: “of course are natural girl. It’s like the neighbor sister pure and fresh feeling.” Also, I is one of the standard. discount christian louboutin with the girl next door and pure and fresh flavor. Concise wear build, can highlight girl lasting appeal.

    2011.09.19 15:04 [ ADDR : EDIT/ DEL : REPLY ]
  6. Now I am falling in love with my boy. To be honest,Since I met him,it seems that the sky is bluer. Mozart moves me to tears. But do you know what make me find my love?Yes ,it is moncler winter coats .The reason is that I have gotten these jackets and i look like a cover girl. “I’m the most beautiful girl!” he said to me.Yet it is these jackets here make me fing the confidence and my love.My beautiful life begin with the great jackets of the brand!

    2011.09.19 15:04 [ ADDR : EDIT/ DEL : REPLY ]
  7. When my mother mentioned this incident to one of my teachers and remarked that I didn’t know what caused the changes,the teacher theink it must be my moncler winter jackets has the effect.Yes,I have to admit that I love the jackets here even when I was only a kid. Then I am thinking a question:What will happen when I give my son the jackets of the brand,and maybe I will also see a different boy standing in front of me!Don’t you think so? I like my jackets of the brand!

    2011.09.19 15:05 [ ADDR : EDIT/ DEL : REPLY ]
  8. Due to the special features of moncler jackets. In making moncler choose when the fabrics are mostly pure silk , snow spins, PI cao this kind of advanced fabrics. In the production process and its daily with a big difference between career. for The fabric is for both to the delicate. Like me, he took a long time to buy the accumulation of one moncler down jackets. So take good care of their life can extend. Let it every time with a new put on Samples. Of course there is some maintenance down products need to pay attention to details.

    2011.09.19 15:05 [ ADDR : EDIT/ DEL : REPLY ]
  9. T stage fashionable color changes, popular this year is all sorts of blue. The new product of moncler conference, us Also see many blue use. All kinds of different textures blue represents elegant temperament. Blue moncler women jackets jackets relaxed, quiet, steady. Shallow blue, turquoise blue will bring the appeal of enthusiasm. Put on moncler jackets will give a good impression. If you don’t want too visible “ride” fashionable attitude. If you still Want to gather together noisy. So, moncler blue both is the best choice. Blue both moncler Is a joker. Match with white, red, black, etc can all have pretty good effect. Today autumn, I also pursued Once the trend. I would have valued a blue both moncler. Now, I’ll just wait and buy it.

    2011.09.19 15:05 [ ADDR : EDIT/ DEL : REPLY ]
  10. 사랑은 한순간에 불타오르는 열정보다는 상대방을 말없이 따뜻하게 해주는 은은한 등불이다.

    2013.04.08 00:04 [ ADDR : EDIT/ DEL : REPLY ]
  11. 아무리 절망적 문제는, 오래 결국 일을 주장 할 용기가로 희망을 갖게됩니다.

    2013.04.08 22:21 [ ADDR : EDIT/ DEL : REPLY ]
  12. 기쁨을 나눌 때 약속을 하지말고, 슬플때 대답을 하지 말고 분노에서 결정을 하지 말라.

    2013.04.10 05:46 [ ADDR : EDIT/ DEL : REPLY ]
  13. 행운 만이 개인 능력 당신이 일생 동안 도와 드릴까요 평생 할 수 없습니다 않습니다.

    2013.04.10 22:50 [ ADDR : EDIT/ DEL : REPLY ]
  14. 인연은 우연히 찾아오고 사랑은 조심스럽게, 몰래 찾아온다.

    2013.04.16 05:16 [ ADDR : EDIT/ DEL : REPLY ]
  15. 창밖을 봐 바람에 나뭇가지가 살며시 흔들리면 네가 사랑하는 사람이 널 사랑하고 있는거야.

    2013.04.28 06:55 [ ADDR : EDIT/ DEL : REPLY ]
  16. 태양이 바다에 미광을 비추면,나는 너를 생각한다.

    2013.07.11 17:53 [ ADDR : EDIT/ DEL : REPLY ]
  17. 희미한 달빛이 샘물 위에 떠있으면,나는 너를 생각한다.

    2013.07.12 14:51 [ ADDR : EDIT/ DEL : REPLY ]
  18. 창밖을 봐 바람에 나뭇가지가 살며시 흔들리면 네가 사랑하는 사람이 널 사랑하고 있는거야.

    2013.07.14 16:19 [ ADDR : EDIT/ DEL : REPLY ]
  19. 사람들은 죽을걸 알면서도 살잖아 .사랑은 원래 유치한거에요

    2013.07.15 08:02 [ ADDR : EDIT/ DEL : REPLY ]