Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Windows 7 x64 .dll compile issue #14

Open
cmovvv opened this issue Jan 24, 2019 · 2 comments
Open

Windows 7 x64 .dll compile issue #14

cmovvv opened this issue Jan 24, 2019 · 2 comments

Comments

@cmovvv
Copy link

cmovvv commented Jan 24, 2019

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!

@diemildefreude
Copy link

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

@Kushulain
Copy link

Kushulain commented Jul 30, 2019

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants