Skip to content

CMake: Failure to load Lua lfs module #4

Description

@ProfLander

Some regression caused while cleaning up the project structure:

* loading script lua_ext.script
! [LUA] SCRIPT RUNTIME ERROR
! [LUA]  0 : [C  ] __index
! [LUA]  1 : [Lua] e:/stalker-anomaly/bin/..\gamedata\scripts\axr_main.script(325) : on_game_start
! [LUA]  2 : [Lua] e:/stalker-anomaly/bin/..\gamedata\scripts\_g.script(82) : 
! [LUA] e:/stalker-anomaly/bin/..\gamedata\scripts\lua_ext.script:7: module 'lfs' not found:
	no field package.preload['lfs']
	no file '.\lfs.lua'
	no file 'E:\xray-monolith\_build\System.Clang.AVX\Binaries\Verified\lua\lfs.lua'
	no file 'E:\xray-monolith\_build\System.Clang.AVX\Binaries\Verified\lua\lfs\init.lua'
	no file '.\lfs.dll'
	no file 'E:\xray-monolith\_build\System.Clang.AVX\Binaries\Verified\lfs.dll'
	no file 'E:\xray-monolith\_build\System.Clang.AVX\Binaries\Verified\loadall.dll'
! [LUA]  0 : [C  ] __index
! [LUA]  1 : [Lua] e:/stalker-anomaly/bin/..\gamedata\scripts\axr_main.script(325) : on_game_start
! [LUA]  2 : [Lua] e:/stalker-anomaly/bin/..\gamedata\scripts\_g.script(82) : 
! [SCRIPT ERROR]: e:/stalker-anomaly/bin/..\gamedata\scripts\lua_ext.script:7: module 'lfs' not found:
	no field package.preload['lfs']
	no file '.\lfs.lua'
	no file 'E:\xray-monolith\_build\System.Clang.AVX\Binaries\Verified\lua\lfs.lua'
	no file 'E:\xray-monolith\_build\System.Clang.AVX\Binaries\Verified\lua\lfs\init.lua'
	no file '.\lfs.dll'
	no file 'E:\xray-monolith\_build\System.Clang.AVX\Binaries\Verified\lfs.dll'
	no file 'E:\xray-monolith\_build\System.Clang.AVX\Binaries\Verified\loadall.dll'
! [ERROR] --- Failed to load script lua_ext

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingregressionRegressions against mainline Modded Exes under equivalent conditionsvanillaOccurs on an unmodded install.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions