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

Can this project build with visual studio 2015 on windows? #36

Open
dajiang31835008 opened this issue Oct 15, 2018 · 13 comments
Open

Can this project build with visual studio 2015 on windows? #36

dajiang31835008 opened this issue Oct 15, 2018 · 13 comments
Assignees

Comments

@dajiang31835008
Copy link

hello,
I use cmake to generate a vs 2015 x64 solution on windows.But,it appear some errors when i build with vs2015.Can this project build with visual studio 2015 on windows?
image

@delfrrr
Copy link
Contributor

delfrrr commented Oct 17, 2018

Hi @dajiang31835008
We did not test with Windows yet. As a quick solution I suggest to run tool in a Docker.
Will this help?

@delfrrr delfrrr self-assigned this Oct 23, 2018
@bfzhao2008
Copy link

I had the same problem

@dajiang31835008
Copy link
Author

dajiang31835008 commented Oct 30, 2018

Hi @delfrrr
Thanks for your reply.I have build it on windows successfully.But I have encountered some problems to run the tool. I use the ' dem2tintiles --input C:\Users\31835\Desktop\test\dem_10m.tif --output-dir C:\Users\31835\Desktop\test --min-zoom 1 --max-zoom 6 --output-format=terrain --max-error 2.0' command line.The flowing image is the result.Why is each tile so big?
image.The input raster epsg is 3857.

@fester
Copy link
Contributor

fester commented Nov 21, 2018

I'm happy to hear that you managed to build it @dajiang31835008

As for your problem, I don't have enough information to answer your question. Is it possible for you to share the DEM you're working with?

@dajiang31835008
Copy link
Author

Thank you very much! @fester
I have share my test data via https://pan.baidu.com/s/1VNGkFA7w_PP_8WKkeWHDPw .Please download it.

@fester
Copy link
Contributor

fester commented Nov 26, 2018

Unfortunately I can not get through the Chinese UI of Baidu. All I get is a prompt to download some Baidu client (I guess? not even sure about it), but not the data. I have to ask you to upload the data somewhere else.

@dajiang31835008
Copy link
Author

Thanks for your reply! @fester
I share it via https://github.com/dajiang31835008/testdata.git Please download it.

@fester
Copy link
Contributor

fester commented Nov 27, 2018

Thanks for providing your data @dajiang31835008. Unfortunately, I can't reproduce the behaviour you are having with a 62KB sized tiles, my build yields only 20KB tile. I'm not sure how to continue since I don't have a Windows machine to test on.

We will talk about our ability to test it get back to you afterwards.

@whuzxy
Copy link

whuzxy commented Jan 21, 2019

Hi @dajiang31835008 .I tried to build it on Windows with VS2015 just like you.But I got errors:
C2440 “return”: can not convert from “void” to “fmt::v5::internal::value<Context>” tntn E:\Source\tin-terrain\tin-terrain-master\3rdparty\fmt-5.1.0\include\fmt\core.h 969
and
C1189 #error: unknown architecture tntn E:\Source\tin-terrain\tin-terrain-master\include\tntn\endianness.h 14
Did you have the the same problem?

@xuanyuanqing
Copy link

Hi @whuzxy .I have the same problem, have you solved it yet?

@bfzhao2008
Copy link

typedef unsigned int uint; @xuanyuanqing

@xuanyuanqing
Copy link

C2440 “return”: can not convert from “void” to “fmt::v5::internal::value” tntn E:\Source\tin-terrain\tin-terrain-master\3rdparty\fmt-5.1.0\include\fmt\core.h 969
and
C1189 #error: unknown architecture tntn E:\Source\tin-terrain\tin-terrain-master\include\tntn\endianness.h 14
@bfzhao2008 Did you have this problem like me and @whuzxy

@longyangzz
Copy link

@dajiang31835008 I have the same problem at windows vs studio , can I have your chat, my chat name are-long, 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

7 participants