Re: [Hamlib-developer] MSVC win32 dll Problem
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Philip R. - G. <gm...@bt...> - 2023-01-05 16:30:47
|
!! RTFM !! Or in my case README.w32-bin.txt! And my not very good notes from when I got 4.5 working. I had to rebuild the .lib. And of course I had to have administrator powers to do it. The magic incantation for MS 2022 (changes from 2019 in bold). PS C:\Program Files (x86)\hamlib-w32-4.5.3\lib\msvc> & 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\bin\Hostx64\x86\link.exe' /lib /machine:i386 /def:libhamlib-4.def Microsoft (R) Library Manager Version 14.33.31630.0 Copyright (C) Microsoft Corporation. All rights reserved. Creating library libhamlib-4.lib and object libhamlib-4.exp My little test application works as expected – now to try my logger. Phil GM3ZZA Sent from Mail for Windows From: Philip Rose - GM3ZZA via Hamlib-developer Sent: 05 January 2023 13:49 To: Black Michael; ham...@li...; Outlook(SV2AGW) Subject: Re: [Hamlib-developer] MSVC win32 dll Problem Hi Mike, I tried to put together a simple test case for my project – files attached. I now get the error that George encountered – indeed I got it with 4.5.2. I have an inkling that it’s to do with pthreads, as the VCXPROJ file seems to indicate an error with this. This is getting a bit beyond me now. Regards Phil. GM3ZZA Sent from Mail for Windows From: Black Michael via Hamlib-developer Sent: 04 January 2023 22:18 To: ham...@li...; Outlook(SV2AGW) Subject: Re: [Hamlib-developer] MSVC win32 dll Problem Is the code available for me to test? Mike W9MDB On Wednesday, January 4, 2023 at 11:40:41 AM CST, Outlook(SV2AGW) <sv...@ou...> wrote: Hi I am using C++ with MFC and win32. When I link with the offcial release from Github the program does not start and displays (null).dll not Found. When Link with daily snapshots then runs ok but fails the rig_open function because does not understand the serial port parameters. The last working version, which i use, is 4.0 Thnak you for any help (SV2AGW)George Rossopoulos Anakreontos14 GR-54250 Thessaloniki GREECE www.sv2agw.com www.frinos.com www.agwtracker.com AGWPE on Facebook _______________________________________________ Hamlib-developer mailing list Ham...@li... https://lists.sourceforge.net/lists/listinfo/hamlib-developer _______________________________________________ Hamlib-developer mailing list Ham...@li... https://lists.sourceforge.net/lists/listinfo/hamlib-developer |