WolframLibraryVersion
, defined in WolframLibrary.h
, was bumped from 3 to 4 in Mathematica 11.2. This causes libraries compiled with M11.2 to fail to load in earlier versions.
Is it possible to compile a M11.1-compatible library using M11.2?
Mathematica Stack Exchange is a question and answer site for users of Wolfram Mathematica. It only takes a minute to sign up.
Sign up to join this communityWolframLibraryVersion
, defined in WolframLibrary.h
, was bumped from 3 to 4 in Mathematica 11.2. This causes libraries compiled with M11.2 to fail to load in earlier versions.
Is it possible to compile a M11.1-compatible library using M11.2?
WolframLibrary_getVersion
, but in principle, I can return anything I want there. Looking at what actually changed in WolframLibrary.h, it appears that the WolframIOLibrary functions were removed (moved into a separate header actually). Shouldn't then it be sufficient to just manually return 3 for the WolframLibraryVersion? $\endgroup$ – Szabolcs Sep 17 '17 at 16:56