Skip to content
This repository has been archived by the owner on May 3, 2021. It is now read-only.

Win build vcpkg #610

Draft
wants to merge 24 commits into
base: master
Choose a base branch
from
Draft

Win build vcpkg #610

wants to merge 24 commits into from

Conversation

cboulay
Copy link
Collaborator

@cboulay cboulay commented Mar 11, 2019

Updated cmake files to use vcpkg on Windows. Along with this comes updates to dependencies (in progress).

@cboulay
Copy link
Collaborator Author

cboulay commented Mar 11, 2019

Working on #608

@HipsterSloth

  1. Please take a look at the ImGui related changes to configtool. Their API has changed. I naively tried whatever functions seemed to fit best but it appears there is more to it than that.

  2. Similarly, OpenCV has changed. The get(CAP_PROP_FORMAT) no longer returns the values we were depending on. I'll take a look at this.

@cboulay
Copy link
Collaborator Author

cboulay commented Mar 11, 2019

@HipsterSloth - Sorry for the noise. It seems like the ImGui changes were mostly done. It was crashing when the service was crashing due to some weird timing issues. I've made some small changes to use the clipboard because the callback signatures changed, and ConfigTool seems to be working properly (in Linux at least, haven't tested Windows). On to the next problem.

@HipsterSloth
Copy link
Collaborator

Thanks for all of your work on this so far! Super exciting to get a proper package manager in windows.

I did a sync on this branch so I can help out with any weird compilation issues or crashes you'd like me to look at. Looking over the imgui changes you made those seem right. I'm in the middle of downloading the vcpackages at the moment. It'll likely be tomorrow night that I'll actually be able to compile stuff. Just to make sure I'm setting vcpkg up correctly, this is what I did:

mkdir e:\git-microsoft
cd git-microsoft
git clone https://github.com/Microsoft/vcpkg.git
cd vcpkg
bootstrap-vcpkg.bat
vcpkg integrate install
vcpkg install sdl2 libusb opencv boost eigen3 protobuf glm imgui
vcpkg install sdl2 libusb opencv boost eigen3 protobuf glm imgui --triplet x64-windows

Does this look right to you? I had to do the second install because it looks like vcpkg assumes 32-bit by default.

@cboulay
Copy link
Collaborator Author

cboulay commented Mar 12, 2019

The first vcpkg install was probably unnecessary. Check out the doc folder.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants