ERROR -109261: Module cannot be loaded
QBUILD with ninja fails to build a program using import and java classes (lyc1000/5563_java_main):
Build failed with message : Executing command:
"C:\Program Files\Querix\Lycia\bin\ninja" "-k" "0" "-f" "C:\Users\user\AppData\Roaming\.qbuild\20210106T023047.ninja"
[1/6] CMD /C >NUL "C:\Program Files\Querix\Lycia/bin/cp.bat" c:\qat\tests\test_cases\lyc1000\source\5563_java_main-rest.tlog c:\qat\tests\test_cases\lyc1000\output\5563_java_main-rest.tlog
[2/6] CMD /C >NUL "C:\Program Files\Querix\Lycia/bin/cp.bat" c:\qat\tests\test_cases\lyc1000\source\5563_java_main.tr2 c:\qat\tests\test_cases\lyc1000\output\5563_java_main.tr2
[3/6] CMD /C set _=_&& set _=_&& "C:\Program Files\Querix\Lycia/bin/qfgl.exe" --check-kw -o c:\qat\tests\test_cases\lyc1000\output\5563\java_lib_5563.4o c:\qat\tests\test_cases\lyc1000\source\5563\java_lib_5563.4gl -d default -e UTF-8
[4/6] CMD /C set _=_&& set _=_&& "C:\Program Files\Querix\Lycia/bin/qlink.exe" -o c:\qat\tests\test_cases\lyc1000\output\java_lib_5563.4a c:\qat\tests\test_cases\lyc1000\output\5563\java_lib_5563.4o -d default
FAILED: c:/qat/tests/test_cases/lyc1000/output/java_lib_5563.4a
CMD /C set _=_&& set _=_&& "C:\Program Files\Querix\Lycia/bin/qlink.exe" -o c:\qat\tests\test_cases\lyc1000\output\java_lib_5563.4a c:\qat\tests\test_cases\lyc1000\output\5563\java_lib_5563.4o -d default
ERROR -109261: Module can not be loaded.
Module 'c:\qat\tests\test_cases\lyc1000\output\5563\java_lib_5563.4o' can not be loaded.
Rebuild your program with current code generator, please.
[5/6] CMD /C set _=_&& set _=_&& "C:\Program Files\Querix\Lycia/bin/qfgl.exe" --check-kw -o c:\qat\tests\test_cases\lyc1000\output\5563\5563_java_main.4o c:\qat\tests\test_cases\lyc1000\source\5563\5563_java_main.4gl -d default -e UTF-8
FAILED: c:/qat/tests/test_cases/lyc1000/output/5563/5563_java_main.4o
CMD /C set _=_&& set _=_&& "C:\Program Files\Querix\Lycia/bin/qfgl.exe" --check-kw -o c:\qat\tests\test_cases\lyc1000\output\5563\5563_java_main.4o c:\qat\tests\test_cases\lyc1000\source\5563\5563_java_main.4gl -d default -e UTF-8
c:/qat/tests/test_cases/lyc1000/source/5563/5563_java_main.4gl: Line 1 Columns 1-7
ERROR -109261: Module can not be loaded.
Module 'java_lib_5563.4o' can not be loaded.
Rebuild your program with current code generator, please.
The error message means that java libraries were built with a different Lycia version (the code generator version). Make sure that all modules are built with the same code generator, please.