Re: New to Quantlib - build errors using VS7.1?
Posted by
Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/New-to-Quantlib-build-errors-using-VS7-1-tp5185p5186.html
Hi,
On Thu, 2006-12-28 at 14:06 +0000,
[hidden email]
wrote:
> I've recently downloaded quantlib 0.3.14 and I'm trying to build for the
> first time but without success.
>
> Steps:
>
> - Opened the visual studio 7.1 solution
> - To include Boost (v. 1_33_1) added the headers and lib to the VS
> config, ie under Projects/VC++ Directories/include files & library files
> respectively.
> - Clicked "Build Solution" without no other tampering.
>
> But the build fails (in either debug or release) with the following
> errors:
>
> * error C2065: '_Myoff' : undeclared identifier (from vector.h at line
> 1114)
> * fatal error LNK1104: cannot open file '\Program
> Files\Quantlib\QuantLib-0.3.14\lib\QuantLib-vc71-mt-gd-0_3_14.lib'
> (related to various files)
The second error is just issued because the examples and test suite
expected to find the library. The first one is what prevented the
library from being built, and is kind of puzzling. since I have no
"vector.h" in my VC7, Boost or QuantLib installation. Your environment
seems to be picking it up from some other include directory, which it
shouldn't. Maybe you have some INCLUDE environment variable left from a
previous installation? What file does VC open when you double-click on
the error?
Later,
Luigi
----------------------------------------
Any software problem can be solved by adding another layer of
indirection.
-- Steven M. Bellovin