Posted by
Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/BasisPointValue-method-does-not-exist-in-QuantLib-for-C-tp5329p5336.html
On Fri, 2011-09-16 at 04:32 -0700, sergvil wrote:
> When I try to execute swig.cmd, it throws me the next errors:
>
> (1) : Error: Unable to find 'swig.swg'
> [...]
Check your SWIG installation. Alongside swig.exe, there should be a
directory called "Lib" containing swig.swg and a number of other files.
If not, you should probably download swig again and make sure to keep
everything in the archive.
> And in VS2010 project, when I try to regenerate the SWIG CSharp solution,
> this error appears on quantlib_wrap.hpp
>
> "error C1083: Cannot open include file: 'ql/quantlib.hpp': No such file or
> directory"
>
> QL_DIR environment variable is set to my local QuantLib installation
> directory.
QL_DIR should work, but if it doesn't, either add the QuantLib directory
to the include directories in the VS2010 project (it's in the
properties, under VC++ directories) or try setting the INCLUDE
environment variable to the same directory. If the linker complains
too, do the same for the library directories in the properties or the
LIB environment variable (for the linker, though, you'll need to set the
dir to [your QuantLib directory]\lib, not just the directory).
Luigi
--
Academic: a term of opprobrium applied to those that do their job well
by those who cannot.
-- Sir Ernest Gowers
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users