JvanKatwijk / dab-cmdline

DAB decoding library with example of its use
GNU General Public License v2.0
57 stars 29 forks source link

MSVC Support #71

Closed srcejon closed 3 years ago

srcejon commented 3 years ago

Hi,

I've integrated your DAB library in to SDRangel. In order for it to be able to be compiled as a DLL for Windows using MSVC, the following changes were needed.

A note for anyone who uses it: because std::string is used in the API, the DLL and application that uses it needs to be compiled with the same version of MSVC with same release/debug compilation settings.

JvanKatwijk commented 3 years ago

OK, Sounds interesting (for a non-windows user at least)

Op za 17 apr. 2021 om 00:09 schreef srcejon @.***>:

Hi,

I've integrated your DAB library in to SDRangel. In order for it to be able to be compiled as a DLL for Windows using MSVC, the following changes were needed.

A note for anyone who uses it: because std::string is used in the API, the DLL and application that uses it needs to be compiled with the same version of MSVC with same release/debug compilation settings.

You can view, comment on, or merge this pull request online at:

https://github.com/JvanKatwijk/dab-cmdline/pull/71 Commit Summary

  • Export DAB API functions from DLL
  • Add MSVC support to CMakeFiles and fix paths to fftw3
  • Allow code to be compiled with MSVC
  • Remove submodule

File Changes

Patch Links:

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/JvanKatwijk/dab-cmdline/pull/71, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCPHQFLWAJ7VFZBBXBZYITTJCYQRANCNFSM43CJ7OVQ .

-- Jan van Katwijk

srcejon commented 3 years ago

Thanks for the merge. It runs on Linux (and Mac) as well: https://github.com/f4exb/sdrangel