Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building Library on Windows #86

Open
lasyakoechlin opened this issue Oct 30, 2020 · 4 comments
Open

Building Library on Windows #86

lasyakoechlin opened this issue Oct 30, 2020 · 4 comments

Comments

@lasyakoechlin
Copy link

Hi, I was wondering if you could provide some additional details on how to build the library using windows?

I installed ninja and followed the steps in the readme. When I ran $ cmake -GNinja .. I get the following errors:

 Could NOT find Eigen3 (missing: EIGEN3_INCLUDE_DIR EIGEN3_VERSION_OK)
  (Required is at least version "2.91.0")

I have Eigen3, but perhaps I just don't understand where I need to place it so that the system will recognize it?

Any help would be greatly appreciated.

Thanks!

@lasyakoechlin
Copy link
Author

I have made some progress. I was able to link it with Eigen3. But now I get the following compilation error.

image

@claudiofantacci
Copy link
Collaborator

Hi @lasyakoechlin, unfortunately I no longer have a Windows machine, so I'll might have limited info to guide you through.
First and foremost

  1. what Visual Studio version have you got on your machine?
  2. Are you using vcpkg?
  3. Where did you install ninja?

Generally speaking, if you have one of the latest version of Visual Studio, vcpkg properly set up with the few dependencies needed by this repo and you're using ninja provided with visual studio, you would be good to go 😄

Let me know!

@lasyakoechlin
Copy link
Author

Hi, thanks for your reply! I was experimenting with vcpkg, as well as just ninja on its own. I couldn't figure out how to get vcpkg to build from a target folder on my computer, rather than just to install one of the predefined C++ libraries that it provides out of the box. I can look into that in more details. Thanks!

@claudiofantacci
Copy link
Collaborator

If you set up vcpkg and have CMake installed properly (I guess some env variables are involved to pick up libraries from vcpkg) you should be fine.

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

No branches or pull requests

2 participants