JuPedSim / jpsreport

Analysis tool
https://www.jupedsim.org/jpsreport_introduction.html
Other
3 stars 9 forks source link

Windows.: "Cannot open include file: "boost/polygon/xxx.hpp" #143

Closed gintama1227 closed 5 years ago

gintama1227 commented 5 years ago

JuPedSim - JPSreport

Describe the bug When I built jpsreport in visual studio 2017 in Windows, there are some errors. "Cannot open include file: "boost/polygon/xxx.hpp". However, I have added boost in the project. Other syntax error as shown in the screenshots.

Expected behavior I hope you can help me solve the problem. Thank you.

Screenshots If applicable, add screenshots to help explain your problem. image image

Additional context Add any other context about the problem here.

gjaeger commented 5 years ago

Do you read the documentation?

gintama1227 commented 5 years ago

I read the documents. However, I use windows. So I read the turtorial of windows for jpscore. http://www.jupedsim.org/jpscore/2018-10-21-windows I follow the steps. I skip image this step. And the next step "Updata-Package -reinstall -ProjectName JPSreport" succeed. See the screenshot. image However, when I try to build solution. It still fails.

gintama1227 commented 5 years ago

20190810193616

gjaeger commented 5 years ago

It seems to me that it is a problem of visual studio 2017.

@xuqiancheng Do you have any ideas?

xuqiancheng commented 5 years ago

@gjaeger I have compiled jpsreport successfully on windows with VS2017. See #144 But I still have some problems when the build type is Debug.

@gintama1227 I suggest that you can check the Properties of geometrycore-->C/C++-->General-->Additional Include Directories, to see if you include the header file of boost library. If not, please include it and try to compile it again. If it dosen't work, you can try to build boost library by yourself instead of using NuGet. The version of boost I used is 1.67. You may also have other problems, I think you can find solution in #144 . And using Release instead of Debug.

gintama1227 commented 5 years ago

Thank you so much. I have compiled jpsreport successfully. @gjaeger @xuqiancheng By the way, if the version of boost is 1.65.1, there are some errors (C2143/C2518) due to the C++11 and C++ 17. I try boost 1.67.0 and succeed.

gjaeger commented 5 years ago

@gintama1227 Do you compiled the pull request #144 or the proposed course of action of xuqiancheng?

gintama1227 commented 5 years ago

Yes, I followed #144 . It is a very elaborate method.

gjaeger commented 5 years ago

Yes, I followed #144 . It is a very elaborate method.

We're working on simplifying it. We are dependent on clues. Thank you very much for your feedback.

Be patient. We are scientists and PhD/master students. Therefore, we primarily care about our research and theses.

Can I close this issue?

gintama1227 commented 5 years ago

Of course, thank you very much.