tin-terrain icon indicating copy to clipboard operation
tin-terrain copied to clipboard

Can this project build with visual studio 2015 on windows?

Open dajiang31835008 opened this issue 6 years ago • 13 comments

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

dajiang31835008 avatar Oct 15 '18 05:10 dajiang31835008

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 avatar Oct 17 '18 09:10 delfrrr

I had the same problem

bfzhao2008 avatar Oct 26 '18 12:10 bfzhao2008

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.

dajiang31835008 avatar Oct 30 '18 08:10 dajiang31835008

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?

fester avatar Nov 21 '18 13:11 fester

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

dajiang31835008 avatar Nov 21 '18 15:11 dajiang31835008

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.

fester avatar Nov 26 '18 12:11 fester

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

dajiang31835008 avatar Nov 27 '18 07:11 dajiang31835008

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.

fester avatar Nov 27 '18 16:11 fester

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?

whuzxy avatar Jan 21 '19 08:01 whuzxy

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

xuanyuanqing avatar Mar 14 '19 02:03 xuanyuanqing

typedef unsigned int uint; @xuanyuanqing

bfzhao2008 avatar Mar 14 '19 14:03 bfzhao2008

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 @bfzhao2008 Did you have this problem like me and @whuzxy ?

xuanyuanqing avatar Mar 15 '19 07:03 xuanyuanqing

@dajiang31835008 I have the same problem at windows vs studio , can I have your chat, my chat name are-long, thank you very much

longyangzz avatar May 21 '19 02:05 longyangzz