The 126 error seems to be when old UDF code is missing, a few of my test cases have this as they've been altered a few times since creation in Fluent 5-6.
Did the code compile without errors or warnings on Win10? Did you then load that libudf and check the hooks were present?