Skip to content
This repository has been archived by the owner on Nov 8, 2019. It is now read-only.

failed compile in visual studio2013 #6

Open
arminghz opened this issue May 9, 2018 · 8 comments
Open

failed compile in visual studio2013 #6

arminghz opened this issue May 9, 2018 · 8 comments

Comments

@arminghz
Copy link

arminghz commented May 9, 2018

hi, where can i get these libs: ion, gtest, gmock, absl, thanks very much

@davejrichardson
Copy link

I think you'll find what you need in the Windows build instructions:
https://github.com/googlevr/seurat/blob/master/BUILDING.md#windows

You have to pull and build Ion separately, and the linked document describes this. Ion includes some of the libraries you need, but otherwise the Bazel build script lists its dependencies and Bazel should pull them for you.

Finally, we require VS 2015. I'm not sure if VS 2013 is going to have the right level of C++11 support, but you could try back porting, or the Visual Studio Nov 2013 CTP. See the Windows tool chain docs here:
https://github.com/googlevr/seurat/blob/master/BUILDING.md#supported-toolchain-1

@arminghz
Copy link
Author

thanks. i have download these lib codes from github, so i start to build these libs, i build the abseil first, but this lib can't build in visual 2013, nor visual 2017. these code is so complex in grammar. by the way, why so complex, why not simply?

@davejrichardson
Copy link

Ion should include a copy of Abseil, and Seurat expects to use that copy, so don't build your own copy.

I assume you're inquiring about the implementation complexity, so of Abseil. I would say this is a tradeoff to make a robust and easy-to-use API for users, even if that means more complex internals for the library authors and maintainers.

Unfortunately, I think the ship has sailed on use of C++11 in Abseil, Ion, and Seurat, so you'll need a compiler that can handle C++11. We haven't tried using Clang on Windows, but our code does build with Clang on Linux.

@arminghz
Copy link
Author

thanks. it's my mistake, i had used cmake to generate a project of visual studio 2013, it can't be builded ok. so i open the project with visual studio 2017, but the project's compiler setting is still v120, so it can not be compild.
another problem, i use visual stdio 2017 to build the ion lib, i find that there are two files with the same nam: logging.cc, one is in ion/port directory, one is in ion/base directory. which one is ok? maybe there are some other files with same name at different directory. why?

@arminghz
Copy link
Author

there are too many compile errors, i give up to build the source. can you upload a demo program? i just want to know what these coedes is doing for.

@arminghz
Copy link
Author

123

what this char "@" is used for?

@mebalzer
Copy link

@arminghz , @ddiakopoulos has created a binary he compiled in VS2017 https://github.com/ddiakopoulos/seurat

@arminghz
Copy link
Author

@mebalzer thank you very much!

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

No branches or pull requests

3 participants