Comments (3)
How am I supposed to specify the location of the Boost headers and static libs on Windows with VS2015 when using the provided solution file?
I've tried it with Boost 1.61 freshly downloaded and compiled with v140 (VS 2015) (.\bootstrap.bat
, .\b2 --prefix=MYPATH
).
Then, in the solution file, I specified in the target properties under C/C++ -> General -> Additional Include Directories the path to MYPATH/include/boost_1_61/
and for Linker -> General -> Additional Library Directories MYPATH/lib
as well as for Linker -> Input -> Additional Dependencies libboost_filesystem-vc140-mt-1_61.lib
and libboost_system-vc140_mt-1_61.lib
(and the -gd
for the Debug build).
Compiles fine (i.e. finds headers) but fails at linker step with bunch of unresolved external symbol to boost::system and boost::filesystem.
from cpp-dependencies.
That should have worked. I've got it working with 1.58 on VS2015 and 1.62 on VS2013. That may be a library order problem.
from cpp-dependencies.
Found my error: I was building/trying the default-selected Release and Debug, which are x64 (i.e. 64bit). My boost was compiled for x86 (i.e. 32bit). Works find now. 👍
from cpp-dependencies.
Related Issues (20)
- Make includesize output more useful by outputting the highest scores only
- Create clang-format file & run it in CI system somewhere
- dose this also work for C only? HOT 1
- boost dependency necessary for Linux? HOT 2
- Make very explicit what the tool does with CMakeLists HOT 3
- No such file or directory error HOT 2
- Release pre-built binaries for Linux/MacOS/Windows HOT 1
- Error when compiling with VS on Windows - memrchr HOT 5
- Add support for d3.js visualisations HOT 1
- std::bad_alloc (core dumped) on Ubuntu 16.04
- Does it support bazel build system ? HOT 1
- show snap installation instructions on readme? HOT 2
- C++17 std::filesystem instead of boost HOT 4
- Assertion failed in src/Input.cpp:304 HOT 8
- Clarify purpose and status of this repository HOT 1
- Can I use cpp-dependencies to analyse C project? HOT 1
- Cannot scan libwebp due to parenthesis level check HOT 4
- Ubuntu 22.10 permission denied error with cpp-dependencies installed via snap
- assertion failed in ReadCmakelist while running cpp-dependencies on itself
- CMake Error about "Could NOT find Boost (missing: Boost_INCLUDE_DIR filesystem system)"
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 cpp-dependencies.