hvcc icon indicating copy to clipboard operation
hvcc copied to clipboard

Windows 7 x64 .dll compile issue

Open cmovvv opened this issue 5 years ago • 2 comments

Currently trying to compile functioning .dll and .cs files for Unity 2018 (Windows 7 64-bit). Able to generate plugins, but running into issues when "_context" is called within Hv_heavy_AudioLib.cs (line 347) - audio engine unable to construct/receive sampleRate, poolKb, etc. Unity outputs "DllNotFoundException: Hv_heavy_AudioLib" error. Anyone able to get this to work on Windows 7 64bit?

Running the following for build:

  • pd vanilla 0.49.0
  • Python 2.7.14
  • Visual Studio 2015, Version 14.0, Update 3 (VCTarget path: v140)
  • MSBuild 14.0
  • npm (for windows-build-tools install)
  • Unity 2018.3.2f1 (64-bit)

Relatively new to programming, so please bear with me if terminology is inaccurate or important information is missing. Any thoughts/suggestions/directions would be much appreciated - thank you!

cmovvv avatar Jan 24 '19 16:01 cmovvv

Sorry, I've never used it on Windows 7- using Windows 10 now.

diemildefreude avatar Jan 27 '19 10:01 diemildefreude

Documentation says it's only compatible with Win 8 & 10.

I had the same problem, not sure i'm correct but it seems like Heavy generated dlls are linked directly to win 8 dll :

API-MS-WIN-CORE-DEBUG-L1-1-1.DLL API-MS-WIN-CORE-ERRORHANDLING-L1-1-1.DLL API-MS-WIN-CORE-FILE-L1-2-1.DLL API-MS-WIN-CORE-HEAP-L1-2-0.DLL API-MS-WIN-CORE-INTERLOCKED-L1-2-0.DLL API-MS-WIN-CORE-LIBRARYLOADER-L1-2-0.DLL API-MS-WIN-CORE-LOCALIZATION-L1-2-1.DLL API-MS-WIN-CORE-PROCESSENVIRONMENT-L1-2-0.DLL API-MS-WIN-CORE-PROCESSTHREADS-L1-1-2.DLL API-MS-WIN-CORE-RTLSUPPORT-L1-2-0.DLL API-MS-WIN-CORE-SYSINFO-L1-2-1.DLL

instead it should be linked to kernel32.dll to be compatible to any (and future) versions of windows.

see more details here

Kushulain avatar Jul 30 '19 16:07 Kushulain