LORD-MicroStrain / MSCL

MicroStrain Communication Library
https://www.microstrain.com/software/mscl
MIT License
76 stars 57 forks source link

Error: openssl related issue #381

Open SungSicYoo opened 6 months ago

SungSicYoo commented 6 months ago

I am using the Parker LORD 3DMGQ7-GNSS/INS sensor.

I am using Visual Studio 2022 on Windows 11 (64-bit) environment, and I want to install MSCL for development purposes. I proceeded with the following steps:

  1. I cloned the repository from https://github.com/LORD-MicroStrain/MSCL into Visual Studio 2022 using the Clone repository feature as instructed at https://www.microstrain.com/software/mscl.
  2. I opened 'MSCL_Inertial_Example_C++' and configured the environment settings in 'Properties- C/C++ - General - Additional Include Directories' tab as follows:
    • C:\Project\C++_code\boost_1_68_0
    • C:\Users\jsheu\Downloads\mscl_65.0.0_Windows_C++ %283%29\C++\include
  3. Furthermore, I configured the settings in 'Properties- Linker - General - Additional Library Directories' tab as follows:
    • C:\Users\jsheu\Downloads\mscl_65.0.0_Windows_C++ %283%29\C++\lib\x64\Release
    • C:\Project\C++_code\boost_1_68_0\lib64-msvc-14.0
    • C:\Program Files\OpenSSL-Win64\lib\VC\x64\MTd (I suspect there might be an issue with this part)

We downloaded boost_1_68_0 and mscl_65.0.0_Windows_C++ required for step 2 following the provided links, but we couldn't find the download path for openssl needed for step 3. So, we installed openssl version 3.1.5 for Windows through Google search. However, there was no file corresponding to the error message below at the address C:\Program Files\OpenSSL-Win64\lib\VC\x64\MTd:

Error LNK1104 cannot open file 'libsslMTd.lib' MSCL_Inertial_Example_C++

I tried changing the filename from 'libssl.lib' to 'libsslMTd.lib' arbitrarily, but I got the following different error message:

Warning LNK4098 defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library MSCL_Inertial_Example_C++

I request assistance on how to proceed.