# Making your own project files

If you look at the example code, you can see that by default, the only file that you need to include in your own code is the skype-embedded_2.h header. This is somewhat deceptively simple. There is in fact quite alot of things you will need to add to your project files to make things buildable. Note that some of it is operating system specific.

Defines

    SSL_LIB_CYASSL

NB! All paths below are given as relative to distro root.

Include directories

    // Include directories - Common to all platforms
    interfaces/skype/cpp_embedded/src/api
    interfaces/skype/cpp_embedded/src/ipc
    interfaces/skype/cpp_embedded/src/types
    interfaces/skype/cpp_embedded/src/platform/threading
    ipc/cpp
    ipc/cpp/platform/se
    ipc/cpp/ssl/cyassl/include
    ipc/cpp/ssl/cyassl/ctaocrypt/include
    ipc/cpp/ssl/cyassl/include/openssl

    // Include directories - Linux and OSX
    interfaces/skype/cpp_embedded/src/platform/threading/pthread

    // Include directories - Windows
    interfaces/skype/cpp_embedded/src/platform/threading/win

Linked libraries

    // Libraries - Linux, OSX
    interfaces/skype/cpp_embedded/build/libskypekit-cppwrapper_2_lib.a
    interfaces/skype/cpp_embedded/build/libskypekit-cyassl_lib.a

    // Libraries - Windows
    interfaces/skype/cpp_embedded/build/skypekit-cppwrapper_2_lib.lib
    interfaces/skype/cpp_embedded/build/skypekit-cyassl_lib.lib

    // Additional lib dependencies for Windows
    // Typically found under C:/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/Lib/
    Ws2_32.lib
    Advapi32.lib

Desktop video

To enable desktop video rendering, you will one additional include directory

    ipc/cpp/VideoBuffers

..and one or more additional defines:

    // For all target platforms
    #define SKYPEKIT_SURFACE_RENDERING

    // For OSX and Linux x86, *not* necessary for Windows
    #define VIDEO_TRANSPORT_SYSV
    #define VIDEO_TRANSPORT_POSIX

Note that for desktop rendering system to work, the wrapper library as well needs to be built with those defines and the VideoBuffers include directory.

All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

(c) Skype Technologies S.A. Confidential/Proprietary

Last updated: Fri Jan 27 2012