Comments (7)
Hi Barent,
The Boost library is used for geometrical functions like intersects and distance. There are several ways to solve this;
- Add the NuGet package with the pre-build binaries; https://www.nuget.org/packages/boost-vc140
- Download the pre-build binaries manually and set the path in the project → C++ → General → Additional Include Directories; https://sourceforge.net/projects/boost/files/boost-binaries/1.62.0/boost_1_62_0-msvc-14.0-64.exe/download
If the path for the libraries is resolved correctly the build error will disappear.
from 3dfier.
why are you using CMake actually? There is a Visual Studio project file included.
I know it doesn't solve the Boost, but could simplify your life.
from 3dfier.
Well thanks, I overlooked the vs_build folder.....
But when I load the 3dfier.sln I am getting an error, because
ProjectReference Include="....\yaml-cpp\vs_build\yaml-cpp.vcxproj"
can't be found....
I am going to try now the above mentioned solution for Boost with NuGet.
Here at 3DGeoSolutions we already had some more problems with CMAKE and Visual Studio. Going back from VisualStudio version 2015 to 2013 has solved these problems in any case.....
from 3dfier.
Thank you for the remark, I will see to it the yaml-cpp vs-project file will also be published in the vs_build folder of this project. Also we will work on a Readme for compiling under Windows using Visual Studio.
from 3dfier.
The Nuget route gives this error in Visual Studio 2015 :
PM> Install-Package boost-vc140
Attempting to gather dependency information for package 'boost-vc140.1.62.0' with respect to project 'ALL_BUILD', targeting 'native,Version=v0.0'
Attempting to resolve dependencies for package 'boost-vc140.1.62.0' with DependencyBehavior 'Lowest'
Install-Package : Unable to find a version of 'boost_coroutine-vc140' that is compatible with 'boost-vc140 1.62.0 constraint: boost_coroutine-vc140 (= 1.62.0)'.
At line:1 char:1
from 3dfier.
The next is working fine in Visual Studio 2015, however the error Error LNK1104 cannot open file 'boost_thread-vc140-mt-1_62.lib still remains.....
PM> Install-Package boost_thread-vc140
Attempting to gather dependency information for package 'boost_thread-vc140.1.62.0' with respect to project 'ALL_BUILD', targeting 'native,Version=v0.0'
Attempting to resolve dependencies for package 'boost_thread-vc140.1.62.0' with DependencyBehavior 'Lowest'
Resolving actions to install package 'boost_thread-vc140.1.62.0'
Resolved actions to install package 'boost_thread-vc140.1.62.0'
GET https://api.nuget.org/packages/boost.1.62.0.nupkg
OK https://api.nuget.org/packages/boost.1.62.0.nupkg 29ms
Installing boost 1.62.0.
Adding package 'boost.1.62.0' to folder 'D:\Data\Barent\GloBLD\3dfier\3dfier-master\3dfier-master\build\packages'
Added package 'boost.1.62.0' to folder 'D:\Data\Barent\GloBLD\3dfier\3dfier-master\3dfier-master\build\packages'
Added package 'boost.1.62.0' to 'packages.config'
Successfully installed 'boost 1.62.0' to ALL_BUILD
GET https://api.nuget.org/packages/boost_thread-vc140.1.62.0.nupkg
OK https://api.nuget.org/packages/boost_thread-vc140.1.62.0.nupkg 245ms
Installing boost_thread-vc140 1.62.0.
Adding package 'boost_thread-vc140.1.62.0' to folder 'D:\Data\Barent\GloBLD\3dfier\3dfier-master\3dfier-master\build\packages'
Added package 'boost_thread-vc140.1.62.0' to folder 'D:\Data\Barent\GloBLD\3dfier\3dfier-master\3dfier-master\build\packages'
Added package 'boost_thread-vc140.1.62.0' to 'packages.config'
Successfully installed 'boost_thread-vc140 1.62.0' to ALL_BUILD
from 3dfier.
I fixed the problem by adding the library to the Linker Additional Library Directories.
Next step is building 3dfier as a 32-bit application. (building as 64-bit gives many, many errors)
Now some other problems arise in Visual Studio Community 2015 :
Error C3861 '_BitScanForward64': identifier not found 3dfier D:\Program Files\CGAL49\include\CGAL\Mpzf.h 202
Error C3861 '_BitScanReverse64': identifier not found 3dfier D:\Program Files\CGAL49\include\CGAL\Mpzf.h 214
from 3dfier.
Related Issues (20)
- Docker build does not work from WIndows HOT 1
- Remove unnecessary null pointer checks
- the "edit me on github" buttons in the docs are all wrong
- Experiences with current setup HOT 2
- Version 1.3 doesn't run my "old version 1.2.2" YAML file HOT 11
- BGT 3DFier HOT 3
- Height Attribute HOT 1
- DSM as input HOT 4
- Cannot read polygons from postgis in v1.3.0
- Roads weird shape
- Problem with big spikes in roads
- Attributes with special characters are not supported
- Bad results with my own dataset HOT 1
- osm data with 3dfier HOT 1
- Unsupported geometry type: Polygon / CDT update; point location not in face but on vertex.
- Config file is valid! No output generated
- ERROR 4: Unable to open EPSG support file gcs.csv.
- Error message when LAS inputs are missing
- delete the vs_build folder? it's not working anymore I reckon
- libraries error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 3dfier.