Skip to content

v1.0.2: Fix Windows plugin & macOS detection

Choose a tag to compare

@Davidvandijcke Davidvandijcke released this 03 Apr 16:27
· 2 commits to main since this release

Changes

Windows plugin fix

  • Recompiled quadprog_mata_win.plugin with static linking — previous build dynamically linked against MinGW runtime DLLs (libgcc_s_seh-1.dll, libstdc++-6.dll) which don't exist on standard Windows machines
  • Plugin now only depends on KERNEL32.dll and the Universal CRT (ships with Windows 10+)
  • Verified working on a real Windows machine

macOS platform detection fix

  • Fixed quadprog.ado: Stata 18 on Apple Silicon reports c(os) == "Unix" instead of "MacOSX", causing the Linux plugin to load on Mac
  • Now also checks c(machine_type) for "Mac" to correctly identify macOS

Install

net install disco, from("https://raw.githubusercontent.com/Davidvandijcke/DiSCos_stata/main/src/") replace