Skip to content

bitop.lua not found #2370

@Ts-pe

Description

@Ts-pe
  • axmol version: 2.3.2
  • devices test on: Windows PC
  • developing environments
    • NDK version: r27
    • Visual Studio:
      • VS version: 2022 (17.12.4)
      • Windows SDK version: 10.0.27783.0
    • cmake version: 3.31.2
      Steps to Reproduce:
  1. Download and install axmol 2.3.2 (zip)
  2. Create a new project (axmol new -p org.axmol.slr -d . -l lua SLR)
  3. build the project (axmol build -p win32)
  4. start the solution (build/mygame.sln)
  5. start debugging (do not modify the default code)

When executing, the following error is displayed:

fullPathForFilename: No file found at src/bitop.lua. Possible missing file.
fullPathForFilename: No file found at .\bitop.lua. Possible missing file.
fullPathForFilename: No file found at .\bitop\init.lua. Possible missing file.
can not get file data of .\bitop\init.lua
[LUA ERROR] src/axmol/core/bitExtend.lua:18: module 'bitop' not found:
        no field package.preload['bitop']
        no file 'src/bitop.lua'
        no file 'D:\Axmol\SLR\build\bin\SLR\Debug\lua\bitop.lua'
        no file 'D:\Axmol\SLR\build\bin\SLR\Debug\lua\bitop\init.lua'
        no file 'D:\Axmol\SLR\build\bin\SLR\Debug\bitop.lua'
        no file 'D:\Axmol\SLR\build\bin\SLR\Debug\bitop\init.lua'
        no file 'D:\Axmol\SLR\build\bin\SLR\Debug\..\share\lua\5.4\bitop.lua'
        no file 'D:\Axmol\SLR\build\bin\SLR\Debug\..\share\lua\5.4\bitop\init.lua'
        no file '.\bitop.lua'
        no file '.\bitop\init.lua'
        no file 'D:\Axmol\SLR\build\bin\SLR\Debug\bitop.dll'
        no file 'D:\Axmol\SLR\build\bin\SLR\Debug\..\lib\lua\5.4\bitop.dll'
        no file 'D:\Axmol\SLR\build\bin\SLR\Debug\loadall.dll'
        no file '.\bitop.dll

The lua file is located in “Content\src\axmol\core\bitop.lua” but for some reason it is not found.

inside the folder “build ‘build’ there are symbolic links to the folders where the lua is supposed to be but for some reason it does not find them

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions