From f3d22ea361554a090112ccaeb4290d14964a283d Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 27 Apr 2013 11:39:36 +0000 Subject: added instruction how to build skypekit libs cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@4551 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Skype/docs/readme.txt | 45 ++++++++++++++++++++++++++++++++++++++--- 1 file changed, 42 insertions(+), 3 deletions(-) (limited to 'protocols/Skype/docs') diff --git a/protocols/Skype/docs/readme.txt b/protocols/Skype/docs/readme.txt index 1d2de4a011..5fbb149706 100644 --- a/protocols/Skype/docs/readme.txt +++ b/protocols/Skype/docs/readme.txt @@ -1,4 +1,43 @@ -for compiling plugin with your own skipekit you need to create Original_key.h with defining like that +how to compile skypekit libs: +1) download skypekit from skype site. +2) create folders structure like this: + d:\MirandaNG + d:\SkypeKit + d:\SkypeKit\SDK +3) extract skypekit archive in d:\SkypeKit\SDK. You need have structure like this: + d:\SkypeKit\SDK\bin + d:\SkypeKit\SDK\buildfiles + d:\SkypeKit\SDK\examples + etc. +4) download and install cmake from here: http://www.cmake.org/ +5) start d:\SkypeKit\SDK\build_all.bat and wait when it finished. +6) go to d:\SkypeKit\SDK\build_all_cmake\build_cmake\ and copy skypekit.sln to skypekit_libs.sln +7) run skypekit_libs.sln and remove all not needed projects, you need save only: + reference_opengl_lib + skypekit-avtransport + skypekit-cppwrapper_2_lib + skypekit-cyassl_lib + skypekit-ipccpp + skypekit-videobuffers + skypekit-voicepcm +8) edit each project: + 8.1) remove not needed configurations: + select solution skypekit_libs + open Configuration Manager + remove MinSizeRel and RelWithDebInfo configurations from solution and each projects + 8.2) add x64 platform: + add new platform x64 with coping settings from Win32 select item create new platform for projects + 8.3) change in each projects lib output name by adding _x86 or _x64 at the end. depends on selected platform + 8.3.1) need to copy Output directory from Win32 configuration and for Win32 add Intermediate directory _x86 and for x64 add _x64 + 8.3.2) for vc2012 need to set Platform Toolset to Visual Studio 2012 - Windows XP (v110_xp) + 8.3.3) for x64 platform edit Preprocessor by changing 32 to 64 + 8.3.4) edit C/C++-Output files- pdb file name. I set default for parent name +9) try to compile full solution + +you need to create Original_key.h with defining like that #define MY_KEY "MY_KEY" -then you need to pack your *.crt file with keypacker utility. Also utlity create key.h file with encoded key. Key.h file included into Skype project. -Names and pathes of directories and cert file you can see in source code. \ No newline at end of file +then you need create keypair.bin file. for this you need: +1) download keypair.crt from skype site and put in to d:\SkypeKit\keypair.crt +2) compile keypacker utility from here: d:\MNG orig\protocols\Skype\keypacker\. No difference debug or release. +3) copy keypacker.exe to d:\SkypeKit\ and run it. Utility create 3 files: keypair.bin and keypair.crt.decrypted and key.h +Now you can compile Skype protocol. \ No newline at end of file -- cgit v1.2.3