I'm trying to install odeint but every time I compile the code, I get this error.
c:...odeint\headmyshoulder-odeint-v2-f496df3\include\boost\numeric\odeint\config.hpp(44): fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory
I've included the include path. I checked this file boost/config.hpp, this is not a complete path to <config.hpp>, so I've changed it to <boost/numeric/odeint/config.hpp>. Now I'm getting an error with other files with the same scenario. Is there a way to fix this problem?
It seems you dont have the boost libraries on your system.
odeint requires boost to be available. The easiest way to get both is by just downloading the latest version of boost, which already contains odeint: http://www.boost.org/users/history/version_1_56_0.html
Related
In a source file I have
#include <boost/test/unit_test.hpp>
In the includes for the project I have
/usr/local/Cellar/boost/1.55.0/include
I have verified that
/usr/local/Cellar/boost/1.55.0/include/boost/test/unit_test.hpp
exists, but in spite of that, I still receive the error
fatal error: 'boost/test/unit_test.hpp' file not found
Does anyone have any thoughts on how to resolve this?
To resolve this problem I updated boost to 1.64.0 and removed all references to include boost.
I'm new to using MySQL and Boost, and the Q&A in this site have been really helpful so far. However, I have not been able to resolve the following problem. I am using the 'complete example 1' from the 'mysql connector/c++ developer guide'(as a test). Though I have included the boost files in my project I still get the following fatal error: boost/shared_ptr.hpp: No such file or directory
but the this file is in the boost folder. Have I missed out something I should have done?
I have linked a screenshot of my eclipse-cdt showing the error and the missing header file on the left.
even though mysql_connection.h header file has 2 include lines,
#include <boost/shared_ptr.hpp>
#include <boost/scoped_ptr.hpp>
only one of them show up as an error.
https://drive.google.com/open?id=0BxPDShOqHnvvNERua0NRcTk2Vzg
Your help is much appreciated. Thank you
I just had to change the include folder for boost from
C:\boost_1_63_0\boost to
C:\boost_1_63_0
as the code was looking inside the boost folder.
I have VC 10 and using boost 1.53.0.
I am trying to compile and link a sample program from boost serialization samples, but the linker generates the following error:
LINK : fatal error LNK1104: cannot open file 'libboost_serialization-vc100-mt-gd-1_53.lib".
I tried many things, like checking my include and lib paths, all was correct. In fact this file name which the linker was asking is not there even in the whole c drive where both MS VC 10 and boost are installed.
Thank you.
Hi I am using google sparsehash library. When i compile the code (Visual Studio 2005)it gives following error...
fatal error C1083: Cannot open include file: 'sparsehash/sparse_hash_map': No such file or directory
What is the reason behind this problem and what is its solution.
Thanks in advance...
Make sure you installed https://code.google.com/p/sparsehash/ and your makefile correctly updated to include header file from this sparsehash i.e. something like
-I ./sparsehash/include
In case of Visual Studio make sure your project setting refer to path where file is located.
I've been trying to install and use wxWidgets v(2.8). I constantly run into the same issue. When building the wxWidgets libraries. I get this error:
error C1083: Cannot open include file: 'zlib.h': No such file or directory d:\wxwidgets-2.8.12\src\png\png.h 346
I can't work out why when I've installed it from the exe. I'm following the instructions from here: http://wiki.wxwidgets.org/Microsoft_Visual_C%2B%2B_Guide
I also get a Linker error which I don't think matters particularly.
Any help would be great. I've tried installing this from the exe and have also just use the zip folder but still run into the same issues. I suspect it might be something to do with environment variables but can't find a definitive answer whether they are required and what they should be set too.
EDIT
Also got something similar here:
error C1083: Cannot open include file: 'expat_config.h': No such file or directory D:\wxWidgets-2.8.12\src\expat\lib\xmlparse.c 30
Cheers
In png.h at line 346 we have
/* include the compression library's header */
#include "zlib.h"
So you need to tell the compiler to look in wxWidgets-2.18.12\src\zlib for headers.
With another install I managed to fix this.