The 2.35.1 change notes indicate that David Carlier provided some changes to get M1 Mac support working.
I am trying to build my program for M1 and am having no end of problems. Does anyone have any experience with this? Does anyone know how David Carlier achieved success? Do we know if he was able to run the unit tests on M1?
I've fixed a few issues (all my changes on GitHub https://github.com/ramcdona/angelscript-mirror/tree/M1_Mac). But I'm not entirely convinced they are all correct.
Once I get it to compile, test_performance bombs out with many errors like:
(0, 0) : Error : Failed in call to function 'RegisterGlobalFunction' with 'float Average(float, float)' (Code: asNOT_SUPPORTED, -7)
(0, 0) : Error : Invalid configuration. Verify the registered application interface.
(0, 0) : Error : Failed in call to function 'Prepare' with 'null' (Code: asNO_FUNCTION, -6)
(0, 0) : Error : Failed in call to function 'Execute' (Code: asCONTEXT_NOT_PREPARED, -4)
Execution didn't terminate with asEXECUTION_FINISHED
My ‘real’ program has similar problems.
Any help will be greatly appreciated.
Rob