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. Support Staff 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. Support Staff 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

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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

Recent Discussions

23 Nov, 2017 01:23 PM
23 Nov, 2017 11:10 AM
23 Nov, 2017 10:33 AM
22 Nov, 2017 11:31 PM
22 Nov, 2017 06:44 PM

 

22 Nov, 2017 05:27 PM
22 Nov, 2017 10:12 AM
22 Nov, 2017 03:23 AM
22 Nov, 2017 12:47 AM
21 Nov, 2017 09:15 PM
21 Nov, 2017 06:18 AM