|
From: Roberto S. <rob...@gm...> - 2023-08-30 14:28:56
|
*Regarding the * 1>LINK : fatal error LNK1104: cannot open file 'QuantLib-mt-gd.lib' I searched for the file QuantLib-mt-gd.lib in the directory C:\QuantLib\ QuantLib-1.31.1 it has not been generated. The only file files that appeared on the C:\QuantLib\QuantLib-1.31.1\\lib are: QuantLib-x64-mt.lib QuantLib-x64-mt-gd.lib QuantLib-x64-mt.pdb QuantLib-x64-mt-gd.pdb Can someone help me to solve this problem? IDE Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.7.2 [image: Mailtrack] <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&> Remitente notificado con Mailtrack <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&> 30/08/23, 09:27:46 On Mon, Aug 28, 2023 at 12:47 PM Roberto Santander <rob...@gm...> wrote: > lib directory has these two files > QuantLib-x64-mt.lib > QuantLib-x64-mt-gd.lib > > CONFIGURATION MANAGER WINDOWS > Active solution configuration: Debug > Active solution platform: x64 > > PROJECT CONTEXTS: > Project: MyProject > Configuration: Debug > Platform: Win32 > Build: checked > ____ > The error might be due to: Platform: Win32 > how can I switch to x64 ???? > I have no idea how to make changes: Platform: x64 > > I am wondering if I should do a copy-paste-rename of one of those files? > > Thanks in advance > R. > > > > [image: Mailtrack] > <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&> Remitente > notificado con > Mailtrack > <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&> 28/08/23, > 12:46:15 > > On Mon, Aug 28, 2023 at 12:27 PM Luigi Ballabio <lui...@gm...> > wrote: > >> Hi Roberto, it's the platform, but add the list in cc, please — I'm not >> familiar with VC++ configuration but someone on the list might be able to >> help. >> >> On Mon, Aug 28, 2023 at 7:10 PM Roberto Santander <rob...@gm...> >> wrote: >> >>> lib directory has these two files >>> QuantLib-x64-mt.lib >>> QuantLib-x64-mt-gd.lib >>> >>> CONFIGURATION MANAGER WINDOWS >>> Active solution configuration: Debug >>> Active solution platform: x64 >>> >>> PROJECT CONTEXTS: >>> Project: MyProject >>> Configuration: Debug >>> Platform: Win32 >>> Build: checked >>> ____ >>> The error might be due to: Platform: Win32 >>> how can I switch to x64 ???? >>> I have no idea how to make changes: Platform: x64 >>> Thanks in advance >>> R. >>> >>> >>> >>> >>> [image: Mailtrack] >>> <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&> Remitente >>> notificado con >>> Mailtrack >>> <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&> 28/08/23, >>> 12:08:59 >>> >>> On Mon, Aug 28, 2023 at 11:48 AM Luigi Ballabio < >>> lui...@gm...> wrote: >>> >>>> Hello Roberto, >>>> what do you have in the "lib" folder in QuantLib? I'm guessing >>>> "QuantLib-x64-mt-gd.lib" and "QuantLib-x64-mt.lib"? If so, you compiled >>>> QuantLib in 64-bit mode as you wanted, but it looks like your project is >>>> looking for the 32-bit version. I haven't used VC++ in a while, but you >>>> should fiddle with the project settings and make sure that 64-bit mode is >>>> enabled. >>>> >>>> Hope this helps, >>>> Luigi >>>> >>>> >>>> On Mon, Aug 28, 2023 at 6:02 PM Roberto Santander < >>>> rob...@gm...> wrote: >>>> >>>>> Hi Luigi >>>>> >>>>> I just successfully installed the latest versión of Quantlib 1.31.1 >>>>> and Boost 1.83.0 >>>>> >>>>> I followed all the instructions: first realease and then debug mode >>>>> was also generated. >>>>> >>>>> I have exactly this issue going on >>>>> >>>>> >>>>> https://quantlib-users.narkive.com/s1cglhvV/some-big-picture-issues-and-cannot-open-file-quantlib-vc90-mt-gd-lib >>>>> >>>>> Could you please tell me how to synchronize them? I want to execute >>>>> it on DEBUG mode / 64 bits >>>>> >>>>> >>>>> This is the error message I am getting: >>>>> >>>>> 1>LINK : fatal error LNK1104: cannot open file 'QuantLib-mt-gd.lib' >>>>> >>>>> >>>>> Thanks in advance >>>>> >>>>> ps: >>>>> >>>>> MS Visual Studio Community 2022 64 bits V17_7.2 @ -toolSet(v143) >>>>> >>>>> >>>>> >>>>> [image: Mailtrack] >>>>> <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&> Remitente >>>>> notificado con >>>>> Mailtrack >>>>> <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&> 28/08/23, >>>>> 10:56:39 >>>>> _______________________________________________ >>>>> QuantLib-users mailing list >>>>> Qua...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/quantlib-users >>>>> >>>> |