xgladius / luauDec

Decompiler for luau (https://luau-lang.org/)
58 stars 10 forks source link

Error When Buiding #2

Open TheKidThatCodes opened 1 year ago

TheKidThatCodes commented 1 year ago
>>> make  
[  0%] Built target Luau.Common
Consolidate compiler generated dependencies of target Luau.VM
[ 24%] Built target Luau.VM
Consolidate compiler generated dependencies of target Luau.Ast
[ 30%] Built target Luau.Ast
Consolidate compiler generated dependencies of target Luau.Compiler
[ 37%] Built target Luau.Compiler
Consolidate compiler generated dependencies of target Luau.Analysis
[ 73%] Built target Luau.Analysis
Consolidate compiler generated dependencies of target luauDec
[ 74%] Building CXX object CMakeFiles/luauDec.dir/main.cpp.o
In file included from 
luauDec-main/main.cpp:3:
In file included from 
luauDec-main/Decompiler/Decompile.h:7:
In file included from 
luauDec-main/Decompiler/BlockGen/include/BlockGen.h:7:

luauDec-main/Decompiler/BlockGen/include/../include/Lifter.h:37:18: error: use of undeclared identifier 'LOP_FORGLOOP_INEXT'; did you mean 'LOP_FORGPREP_INEXT'?
            case LOP_FORGLOOP_INEXT:
                 ^~~~~~~~~~~~~~~~~~
                 LOP_FORGPREP_INEXT

luauDec-main/Decompiler/../luau/Common/include/Luau/Bytecode.h:294:5: note: 'LOP_FORGPREP_INEXT' declared here
    LOP_FORGPREP_INEXT,
    ^
In file included from 
luauDec-main/main.cpp:3:
In file included from 
luauDec-main/Decompiler/Decompile.h:7:
In file included from 
luauDec-main/Decompiler/BlockGen/include/BlockGen.h:7:

luauDec-main/Decompiler/BlockGen/include/../include/Lifter.h:39:18: error: use of undeclared identifier 'LOP_FORGLOOP_NEXT'; did you mean 'LOP_FORGPREP_NEXT'?
            case LOP_FORGLOOP_NEXT:
                 ^~~~~~~~~~~~~~~~~
                 LOP_FORGPREP_NEXT

luauDec-main/Decompiler/../luau/Common/include/Luau/Bytecode.h:301:5: note: 'LOP_FORGPREP_NEXT' declared here
    LOP_FORGPREP_NEXT,
    ^
In file included from 
luauDec-main/main.cpp:3:
In file included from 
luauDec-main/Decompiler/Decompile.h:7:
In file included from 
luauDec-main/Decompiler/BlockGen/include/BlockGen.h:7:

luauDec-main/Decompiler/BlockGen/include/../include/Lifter.h:41:18: error: use of undeclared identifier 'LOP_JUMPIFEQK'; did you mean 'LOP_JUMPIFEQ'?
            case LOP_JUMPIFEQK:
                 ^~~~~~~~~~~~~
                 LOP_JUMPIFEQ

luauDec-main/Decompiler/../luau/Common/include/Luau/Bytecode.h:199:5: note: 'LOP_JUMPIFEQ' declared here
    LOP_JUMPIFEQ,
    ^
In file included from 
luauDec-main/main.cpp:3:
In file included from 
luauDec-main/Decompiler/Decompile.h:7:
In file included from 
luauDec-main/Decompiler/BlockGen/include/BlockGen.h:7:

luauDec-main/Decompiler/BlockGen/include/../include/Lifter.h:42:18: error: use of undeclared identifier 'LOP_JUMPIFNOTEQK'; did you mean 'LOP_JUMPIFNOTEQ'?
            case LOP_JUMPIFNOTEQK:
                 ^~~~~~~~~~~~~~~~
                 LOP_JUMPIFNOTEQ

luauDec-main/Decompiler/../luau/Common/include/Luau/Bytecode.h:202:5: note: 'LOP_JUMPIFNOTEQ' declared here
    LOP_JUMPIFNOTEQ,
    ^
In file included from 
luauDec-main/main.cpp:3:
In file included from 
luauDec-main/Decompiler/Decompile.h:7:
In file included from 
luauDec-main/Decompiler/BlockGen/include/BlockGen.h:7:

luauDec-main/Decompiler/BlockGen/include/../include/Lifter.h:41:18: error: duplicate case value 'LOP_JUMPIFEQ'
            case LOP_JUMPIFEQK:
                 ^

luauDec-main/Decompiler/BlockGen/include/../include/Lifter.h:26:18: note: previous case defined here
            case LOP_JUMPIFEQ:
                 ^

luauDec-main/Decompiler/BlockGen/include/../include/Lifter.h:42:18: error: duplicate case value 'LOP_JUMPIFNOTEQ'
            case LOP_JUMPIFNOTEQK:
                 ^

luauDec-main/Decompiler/BlockGen/include/../include/Lifter.h:29:18: note: previous case defined here
            case LOP_JUMPIFNOTEQ:
                 ^

luauDec-main/Decompiler/BlockGen/include/../include/Lifter.h:37:18: error: duplicate case value 'LOP_FORGPREP_INEXT'
            case LOP_FORGLOOP_INEXT:
                 ^

luauDec-main/Decompiler/BlockGen/include/../include/Lifter.h:36:18: note: previous case defined here
            case LOP_FORGPREP_INEXT:
                 ^

luauDec-main/Decompiler/BlockGen/include/../include/Lifter.h:39:18: error: duplicate case value 'LOP_FORGPREP_NEXT'
            case LOP_FORGLOOP_NEXT:
                 ^

luauDec-main/Decompiler/BlockGen/include/../include/Lifter.h:38:18: note: previous case defined here
            case LOP_FORGPREP_NEXT:
                 ^

luauDec-main/Decompiler/BlockGen/include/../include/Lifter.h:100:18: error: use of undeclared identifier 'LOP_JUMPIFEQK'; did you mean 'LOP_JUMPIFEQ'?
            case LOP_JUMPIFEQK:
                 ^~~~~~~~~~~~~
                 LOP_JUMPIFEQ

luauDec-main/Decompiler/../luau/Common/include/Luau/Bytecode.h:199:5: note: 'LOP_JUMPIFEQ' declared here
    LOP_JUMPIFEQ,
    ^
In file included from 
luauDec-main/main.cpp:3:
In file included from 
luauDec-main/Decompiler/Decompile.h:7:
In file included from 
luauDec-main/Decompiler/BlockGen/include/BlockGen.h:7:

luauDec-main/Decompiler/BlockGen/include/../include/Lifter.h:101:18: error: use of undeclared identifier 'LOP_JUMPIFNOTEQK'; did you mean 'LOP_JUMPIFNOTEQ'?
            case LOP_JUMPIFNOTEQK:
                 ^~~~~~~~~~~~~~~~
                 LOP_JUMPIFNOTEQ

luauDec-main/Decompiler/../luau/Common/include/Luau/Bytecode.h:202:5: note: 'LOP_JUMPIFNOTEQ' declared here
    LOP_JUMPIFNOTEQ,
    ^
In file included from 
luauDec-main/main.cpp:3:
In file included from 
luauDec-main/Decompiler/Decompile.h:7:
In file included from 
luauDec-main/Decompiler/BlockGen/include/BlockGen.h:7:

luauDec-main/Decompiler/BlockGen/include/../include/Lifter.h:100:18: error: duplicate case value 'LOP_JUMPIFEQ'
            case LOP_JUMPIFEQK:
                 ^

luauDec-main/Decompiler/BlockGen/include/../include/Lifter.h:90:18: note: previous case defined here
            case LOP_JUMPIFEQ:
                 ^

luauDec-main/Decompiler/BlockGen/include/../include/Lifter.h:101:18: error: duplicate case value 'LOP_JUMPIFNOTEQ'
            case LOP_JUMPIFNOTEQK:
                 ^

luauDec-main/Decompiler/BlockGen/include/../include/Lifter.h:93:18: note: previous case defined here
            case LOP_JUMPIFNOTEQ:
                 ^
12 errors generated.
make[2]: *** [CMakeFiles/luauDec.dir/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/luauDec.dir/all] Error 2
make: *** [all] Error 2