Add dependencies to c++ project

Sergey Volvovski's Avatar

Sergey Volvovski

13 Nov, 2017 07:12 PM

In order to have AppVeyor c++ build I need to add the following dependencies:
    - OpenCV3.1.0
    - KinectSDK-v2.0_1409
    - boost_1_60_0-msvc-14.0-64

What would be the best way to do that?
Thanks for your anticipated help.

Sergey

  1. 1 Posted by Ilya Finkelshte... on 14 Nov, 2017 03:28 AM

    Ilya Finkelshteyn's Avatar

    Hi Sergey,

    • OpenCV3.1.0. Easiest way is to use chocolatey package
    • boost_1_60_0-msvc-14.0-64. We have it already installed on build VMs.

    • KinectSDK-v2.0_1409. This was tricky. Check this discussion. It is not supposed to be installed silently :/ I created this workaround. As you see it is a peace of hack, with sleeps and retries. It works. However it can happen that long term is will not be 100% stable and you will be needed to add more sleeps and retries. Or come up with better solution :)

    Ilya.

  2. 2 Posted by Sergey Volvovsk... on 14 Nov, 2017 09:10 PM

    Sergey Volvovski's Avatar

    Hi Ilya,

    Thanks a lot for your help.
    Unfortunately that does not solve all the problems we have attempting to
    use AppVeyor for C++ build/deployment. It worked fine with C# but C++
    dependencies is a killer. So we finally decided to stop for now investing
    into this project ant to use the other way to do builds/deployment for our
    C++ projects. Very likely some time later we might revisit that and switch
    back to AppVeyor..

    Thanks again for your help.

    Best regards,

    Sergey

  3. 3 Posted by Ilya Finkelshte... on 15 Nov, 2017 12:40 AM

    Ilya Finkelshteyn's Avatar

    Sure. Note that you can use private build cloud and have your own build worker images with all dependencies installed. This requires Premium account though. Another, more heavy-weight option is AppVeyor Enterprise.

  4. 4 Posted by Sergey Volvovsk... on 15 Nov, 2017 02:22 PM

    Sergey Volvovski's Avatar

    Ilya,

    Thanks for this information.
    Best,

    Sergey

  5. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:25 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac