|
From: SourceForge.net <no...@so...> - 2009-03-31 16:00:05
|
Bugs item #2723127, was opened at 2009-03-31 12:09 Message generated for change (Comment added) made by lballabio You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112740&aid=2723127&group_id=12740 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed >Resolution: Invalid >Priority: 5 Private: Yes Submitted By: anuya (anuya) >Assigned to: Luigi Ballabio (lballabio) Summary: compilation error in DiscreteHedging.cpp on Linux Initial Comment: Operating System: Fedora Compiler: gcc 4.2.4 On compiling the DiscreteHedging.cpp file, following errors were found: DiscreteHedging.cpp:67: error: ‘QuantLib’ is not a namespace-name DiscreteHedging.cpp:67: error: expected namespace-name before ‘;’ token DiscreteHedging.cpp:85: error: ‘Option’ has not been declared DiscreteHedging.cpp:85: error: expected `)' before ‘type’ DiscreteHedging.cpp:129: error: ‘Size’ has not been declared DiscreteHedging.cpp:129: error: ‘Size’ has not been declared DiscreteHedging.cpp:131: error: ‘Time’ does not name a type DiscreteHedging.cpp:132: error: ‘PlainVanillaPayoff’ does not name a type DiscreteHedging.cpp:133: error: ‘Real’ does not name a type DiscreteHedging.cpp:134: error: ‘Volatility’ does not name a type DiscreteHedging.cpp:135: error: ‘Rate’ does not name a type DiscreteHedging.cpp:136: error: ‘Real’ does not name a type DiscreteHedging.cpp:142: error: expected template-name before ‘<’ token DiscreteHedging.cpp:142: error: expected `{' before ‘<’ token DiscreteHedging.cpp:142: error: expected unqualified-id before ‘<’ token ---------------------------------------------------------------------- >Comment By: Luigi Ballabio (lballabio) Date: 2009-03-31 17:59 Message: Your compiler cannot find <ql/quantlib.hpp> (and is probably giving you an error about that before the ones you reported. Make sure that you pass the relevant include directory to the compiler. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112740&aid=2723127&group_id=12740 |