Dear Quantlib Users, I have a problem to compile CallableBonds.sln in x64 environment in debug mode of VS13 and this is a pity. To make clear, of which solution I am talking: With my QuantLib download a path with examples was included as shown in the screen shot. Since all projects on this PC are in x64, the QuantLib Libs created here are: QuantLib-vc120-x64-mt.lib, QuantLib-vc120-x64-mt-gd.lib, QuantLib-vc120-x64-mt-s.lib When I tried to compile the Callable Bonds solution in my 64bit environment in debug mode the linker surprisingly attempts to link to the 32bit QuantLib library: QuantLib\lib\QuantLib-vc120-mt-gd.lib (which was not generated) The linker command line clearly shows that all switches to x64 have been set – at least all of which I know: OUT:".\bin\CallableBonds-vc120-x64-mt-gd.exe" /MANIFEST /NXCOMPAT /PDB:".\bin\CallableBonds-vc120-x64-mt-gd.pdb" /DYNAMICBASE "kernel32.lib" "user32.lib" "gdi32.lib" "winspool.lib" "comdlg32.lib" "advapi32.lib" "shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib" "odbc32.lib" "odbccp32.lib" "F:\build_ql_1_7_0\QuantLib\lib\QuantLib-vc120-mt-gd.lib" /DEBUG /MACHINE:X64 /PGD:".\bin\CallableBonds-vc120-x64-mt-gd.pgd" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /ManifestFile:".\build\vc120\x64\Debug\CallableBonds-vc120-x64-mt-gd.exe.intermediate.manifest" /ERRORREPORT:PROMPT /NOLOGO /TLBID:1 So what is going wrong? Why is it not linking automatically to the corresponding QuantLib-vc120-x64-mt-gd.lib. Do I have to dispense with “x64” when playing with the “Examples”? When looking around I recognized an apparent inconsistency in in autolink.hpp, as described in my initial mail to Luigi below. Thanks for advice, kind regards, Harald From: Luigi Ballabio [mailto:[hidden email]] No, it's just that I got caught up in other things. Anyway: I'm not sure of what you're compiling. There's no CallableBonds.sln in the distribution. Possibly you opened the project and your environment created one? Anyway, if you open the solution provided in the QuantLib release (QuantLib_vc12.sln) you can switch to the x64 target and compile all the included projects, including CallableBonds. Let me know how it goes. Luigi P.S. If there are other problems, please write to the mailing list. It doesn't make a difference to me, but it increases the chances that someone else can step in and give you an answer earlier than I can (especially when you consider that I develop mainly on Linux). On Sat, Jan 9, 2016 at 11:17 AM Harald Hubbes <[hidden email]> wrote:
-- ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users ScreenHunter_02 Jan. 10 11.45.gif (50K) Download Attachment |
Hello, Luigi On 12:19, Sun, Jan 10, 2016 Harald Hubbes <[hidden email]> wrote:
-- <http://leanpub.com/implementingquantlib> ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Free forum by Nabble | Edit this page |