Login  Register

Re: QuantLib Installation in VC++ 2010:1>C:\local\boost_1_55_0\boost/config/select_stdlib_config.hpp(18): fatal error C1083: Cannot open include file: 'cstddef': No such file or directory

Posted by itneophyte85 on May 31, 2014; 12:27pm
URL: http://quantlib.414.s1.nabble.com/QuantLib-Installation-in-VC-2010-1-C-local-boost-1-55-0-boost-config-select-stdlib-config-hpp-18-faty-tp15305p15346.html

Hey Luigi,

I think there is a misunderstanding and hope the below clarification will help:

In the property page window, I clicked on VC++ Directories on the left pane and *add* the paths for the Boost directories in Include Directories and Library Directories in the right pane. as I installed Boost in *C:\local\boost_1_55_0*, i added C:\local\boost_1_55_0 to the include directories and *C:\local\boost_1_55_0\stage\lib* to the library directories. I Clicked the OK button to set my changes.

Eventually my setup is as follows:

*Executable directories* (=default):$(VCInstallDir)bin;$(WindowsSdkDir)bin\NETFX 4.0 Tools;$(WindowsSdkDir)bin;$(VSInstallDir)Common7\Tools\bin;$(VSInstallDir)Common7\tools;$(VSInstallDir)Common7\ide;$(ProgramFiles)\HTML Help Workshop;$(FrameworkSDKDir)\bin;$(MSBuildToolsPath32);$(VSInstallDir);$(SystemRoot)\SysWow64;$(FxCopDir);$(PATH);
*Include directories* (=added):C:\local\boost_1_55_0\boost;$(IncludePath)
*reference libraires* (=default):$(VCInstallDir)atlmfc\lib;$(VCInstallDir)lib
*librairy directories* (=added) C:\local\boost_1_55_0\stage\lib;$(LibraryPath)
*source directories* (=default):$(VCInstallDir)atlmfc\src\mfc;$(VCInstallDir)atlmfc\src\mfcm;$(VCInstallDir)atlmfc\src\atl;$(VCInstallDir)crt\src;
*exclude directories*(=default):$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSdkDir)include;$(FrameworkSDKDir)\include;$(MSBuildToolsPath32);$(VCInstallDir)atlmfc\lib;$(VCInstallDir)lib;

Can't figure out anything wrong since the instructions are pretty much straightforward. aren't they?

I am also wondering if it's normal to read the below warning messages from the output box when i open the QuantLib_vc10.sln (before building the solution)

C:\local\QuantLib-1.4\QuantLib_vc10.vcxproj : warning  : Platform 'x64' referenced in the project file 'QuantLib' cannot be found. Please make sure you have it installed under '%VCTargetsPath%\Platforms\x64'.

C:\local\QuantLib-1.4\test-suite\testsuite_vc10.vcxproj : warning  : Platform 'x64' referenced in the project file 'testsuite' cannot be found. Please make sure you have it installed under '%VCTargetsPath%\Platforms\x64'.

C:\local\QuantLib-1.4\Examples\Swap\Swap_vc10.vcxproj : warning  : Platform 'x64' referenced in the project file 'Swap' cannot be found. Please make sure you have it installed under '%VCTargetsPath%\Platforms\x64'.

C:\local\QuantLib-1.4\Examples\EquityOption\EquityOption_vc10.vcxproj : warning  : Platform 'x64' referenced in the project file 'EquityOption' cannot be found. Please make sure you have it installed under '%VCTargetsPath%\Platforms\x64'.

C:\local\QuantLib-1.4\Examples\ConvertibleBonds\ConvertibleBonds_vc10.vcxproj : warning  : Platform 'x64' referenced in the project file 'ConvertibleBonds' cannot be found. Please make sure you have it installed under '%VCTargetsPath%\Platforms\x64'.

C:\local\QuantLib-1.4\Examples\FRA\FRA_vc10.vcxproj : warning  : Platform 'x64' referenced in the project file 'FRA' cannot be found. Please make sure you have it installed under '%VCTargetsPath%\Platforms\x64'.

C:\local\QuantLib-1.4\Examples\Repo\Repo_vc10.vcxproj : warning  : Platform 'x64' referenced in the project file 'Repo' cannot be found. Please make sure you have it installed under '%VCTargetsPath%\Platforms\x64'.

C:\local\QuantLib-1.4\Examples\Replication\Replication_vc10.vcxproj : warning  : Platform 'x64' referenced in the project file 'Replication' cannot be found. Please make sure you have it installed under '%VCTargetsPath%\Platforms\x64'.

C:\local\QuantLib-1.4\Examples\BermudanSwaption\BermudanSwaption_vc10.vcxproj : warning  : Platform 'x64' referenced in the project file 'BermudanSwaption' cannot be found. Please make sure you have it installed under '%VCTargetsPath%\Platforms\x64'.

C:\local\QuantLib-1.4\Examples\DiscreteHedging\DiscreteHedging_vc10.vcxproj : warning  : Platform 'x64' referenced in the project file 'DiscreteHedging' cannot be found. Please make sure you have it installed under '%VCTargetsPath%\Platforms\x64'.

C:\local\QuantLib-1.4\Examples\FittedBondCurve\FittedBondCurve_vc10.vcxproj : warning  : Platform 'x64' referenced in the project file 'FittedBondCurve' cannot be found. Please make sure you have it installed under '%VCTargetsPath%\Platforms\x64'.

C:\local\QuantLib-1.4\Examples\CallableBonds\CallableBonds_vc10.vcxproj : warning  : Platform 'x64' referenced in the project file 'CallableBonds' cannot be found. Please make sure you have it installed under '%VCTargetsPath%\Platforms\x64'.

C:\local\QuantLib-1.4\Examples\CDS\CDS_vc10.vcxproj : warning  : Platform 'x64' referenced in the project file 'CDS' cannot be found. Please make sure you have it installed under '%VCTargetsPath%\Platforms\x64'.

C:\local\QuantLib-1.4\Examples\Bonds\Bonds_vc10.vcxproj : warning  : Platform 'x64' referenced in the project file 'Bonds' cannot be found. Please make sure you have it installed under '%VCTargetsPath%\Platforms\x64'.

C:\local\QuantLib-1.4\Examples\MarketModels\MarketModels_vc10.vcxproj : warning  : Platform 'x64' referenced in the project file 'MarketModels' cannot be found. Please make sure you have it installed under '%VCTargetsPath%\Platforms\x64'.

Cheers