Kade-github / Kade-Engine

Kade Engine is a Competitive Rhythm Game engine rewrite for FNF with Quality of Life features included.
https://kadedev.github.io/Kade-Engine/
Apache License 2.0
408 stars 601 forks source link

Bug Report: Build Failure (Linux) #2074

Open ThatOneCalculator opened 3 years ago

ThatOneCalculator commented 3 years ago

Please check for duplicates, similar issues or closed issues with the same problem, as well performing simple troubleshooting steps (such as deleting the export folder if it's an issue with compiling, reinstalling Kade Engine) before submitting an issue.

If you are playing a downloaded version of the game, what operating system are you using?

Windows (x86), Windows (x86_64), Linux, or macOS? Specify below.

Artix GNU/UUTils/XFree86 + Linux (aka chad sexy os)

What version of the game are you using? Look in the bottom left corner of the main menu.

1.7: Upstream (Commit 346c4fdf58de4c1df76ca4bed51e84c073922af7 + 927c5c7909615bdf3567fb26e994095c09848a22)

Have you identified any steps to reproduce the bug? If so, please describe them below. Use images if possible.

haxelib run lime build linux

Please describe your issue. Provide extensive detail and images if possible.

Building produces this error:

/home/kainoa/haxelib/polymod/git/polymod/format/XMLMerge.hx:189: characters 10-23 : Warning : This typedef is deprecated in favor of haxe.xml.Access
/home/kainoa/haxelib/polymod/git/polymod/format/XMLMerge.hx:189: characters 30-43 : Warning : This typedef is deprecated in favor of haxe.xml.Access
source/LuaClass.hx:35: characters 46-58 : Type not found : StatePointer
source/Replay.hx:55: lines 55-145 : ... Defined in this class
source/LuaClass.hx:1669: characters 42-54 : Type not found : StatePointer
source/Replay.hx:55: lines 55-145 : ... Defined in this class
source/LuaClass.hx:1469: characters 42-54 : Type not found : StatePointer
source/Replay.hx:55: lines 55-145 : ... Defined in this class
source/LuaClass.hx:1144: characters 42-54 : Type not found : StatePointer
source/Replay.hx:55: lines 55-145 : ... Defined in this class
source/LuaClass.hx:855: characters 41-53 : Type not found : StatePointer
source/Replay.hx:55: lines 55-145 : ... Defined in this class
source/LuaClass.hx:635: characters 40-52 : Type not found : StatePointer
source/Replay.hx:55: lines 55-145 : ... Defined in this class
source/LuaClass.hx:370: characters 42-54 : Type not found : StatePointer
ghost commented 3 years ago

Do

haxelib remove linc_luajit haxelib remove hxvm-luajit haxelib git linc_luajit https://github.com/nebulazorua/linc_luajit.git haxelib git hxvm-luajit https://github.com/nebulazorua/hxvm-luajit

yeeterongithub commented 3 years ago

exactly what happened to me /srs

ThatOneCalculator commented 3 years ago

Now I get a completely different error @ManFire100

/home/kainoa/haxelib/polymod/git/polymod/format/XMLMerge.hx:189: characters 10-23 : Warning : This typedef is deprecated in favor of haxe.xml.Access
/home/kainoa/haxelib/polymod/git/polymod/format/XMLMerge.hx:189: characters 30-43 : Warning : This typedef is deprecated in favor of haxe.xml.Access
source/DiffOverview.hx:65: characters 3-39 : Warning : `FlxCamera.defaultCameras` is deprecated, use `FlxG.cameras.setDefaultDrawTarget` instead
source/PlayState.hx:411: characters 3-39 : Warning : `FlxCamera.defaultCameras` is deprecated, use `FlxG.cameras.setDefaultDrawTarget` instead
source/ModchartState.hx:136: characters 7-24 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/hscript/2,4,0/hscript/Interp.hx:145: characters 8-18 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/hscript/2,4,0/hscript/Interp.hx:180: characters 8-18 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/hscript/2,4,0/hscript/Interp.hx:221: characters 8-18 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/hscript/2,4,0/hscript/Interp.hx:515: characters 8-18 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/hscript/2,4,0/hscript/Interp.hx:483: characters 37-56 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/hscript/2,4,0/hscript/Interp.hx:484: characters 31-47 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/hscript/2,4,0/hscript/Interp.hx:646: characters 10-42 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/newgrounds/1,1,4/lib/Source/io/newgrounds/components/ScoreBoardComponent.hx:55: characters 24-44 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/newgrounds/1,1,4/lib/Source/io/newgrounds/components/ScoreBoardComponent.hx:55: characters 49-66 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/actuate/1,8,9/src/motion/actuators/SimpleActuator.hx:222: characters 8-29 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/actuate/1,8,9/src/motion/actuators/SimpleActuator.hx:247: characters 62-92 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/actuate/1,8,9/src/motion/Actuate.hx:147: characters 7-40 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/actuate/1,8,9/src/motion/Actuate.hx:248: characters 7-40 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/actuate/1,8,9/src/motion/Actuate.hx:312: characters 8-41 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/actuate/1,8,9/src/motion/Actuate.hx:323: characters 10-37 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/actuate/1,8,9/src/motion/Actuate.hx:329: characters 17-43 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/actuate/1,8,9/src/motion/actuators/FilterActuator.hx:23: characters 7-40 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/actuate/1,8,9/src/motion/actuators/FilterActuator.hx:33: characters 9-37 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/actuate/1,8,9/src/motion/actuators/FilterActuator.hx:103: characters 9-41 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/actuate/1,8,9/src/motion/actuators/MethodActuator.hx:73: characters 8-29 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/actuate/1,8,9/src/motion/actuators/MethodActuator.hx:73: characters 33-52 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/actuate/1,8,9/src/motion/actuators/TransformActuator.hx:50: characters 54-84 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/polymod/git/polymod/format/CSV.hx:140: characters 7-27 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/polymod/git/polymod/format/JsonHelp.hx:93: characters 21-38 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/polymod/git/polymod/format/ParseRules.hx:635: characters 7-32 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/polymod/git/polymod/format/ParseRules.hx:748: characters 16-33 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/polymod/git/polymod/format/ParseRules.hx:766: characters 7-22 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/polymod/git/polymod/format/ParseRules.hx:766: characters 26-41 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/polymod/git/polymod/format/ParseRules.hx:771: characters 18-33 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/polymod/git/polymod/format/ParseRules.hx:771: characters 38-53 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/polymod/git/polymod/format/ParseRules.hx:809: characters 24-39 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/polymod/git/polymod/format/ParseRules.hx:810: characters 24-39 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/polymod/git/polymod/format/ParseRules.hx:819: characters 12-25 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/polymod/git/polymod/format/ParseRules.hx:820: characters 12-27 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/polymod/git/polymod/format/ParseRules.hx:821: characters 12-28 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/polymod/git/polymod/format/ParseRules.hx:822: characters 12-26 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/polymod/git/polymod/format/ParseRules.hx:829: characters 12-28 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/polymod/git/polymod/format/ParseRules.hx:830: characters 12-27 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/polymod/git/polymod/format/ParseRules.hx:831: characters 12-25 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/polymod/git/polymod/format/ParseRules.hx:832: characters 12-26 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/polymod/git/polymod/format/ParseRules.hx:863: characters 16-34 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/home/kainoa/haxelib/polymod/git/polymod/format/ParseRules.hx:878: characters 28-46 : Warning : Std.is is deprecated. Use Std.isOfType instead.

Compiling group: haxe
g++ -Iinclude -I/home/kainoa/haxelib/linc_luajit/git//linc/ -I/home/kainoa/haxelib/discord_rpc/git/linc/ -c -fvisibility=hidden -O2 -fpic -fPIC -Wno-overflow -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS(haxe) -DHXCPP_GC_BIG_BLOCKS(gc) -DHX_SMART_STRINGS(haxe) -DHXCPP_API_LEVEL=400(haxe) -m64 -DHXCPP_M64 -I/home/kainoa/haxelib/hxcpp/4,2,1/include ... tags=[haxe,static]
 - src/ResetSettings.cpp
 - src/flixel/util/FlxPool_flixel_effects_FlxFlicker.cpp
 - src/lime/_internal/backend/native/TextEventInfo.cpp
 - src/LuaCharacter.cpp
 - src/sys/io/FileOutput.cpp
 - src/openfl/display/Stage3D.cpp  [haxe,release]
 - src/lime/media/openal/ALC.cpp  [haxe,release]
 - src/sys/io/_Process/Stdout.cpp
 - src/openfl/text/_internal/ShapeCache.cpp  [haxe,release]
 - src/lime/system/_ThreadPool/ThreadPoolMessage.cpp
 - src/openfl/display/_internal/Context3DElementType.cpp
 - src/lime/text/harfbuzz/HBGlyphPosition.cpp
 - src/__ASSET__flixel_fonts_nokiafc22_ttf.cpp
 - src/flixel/system/debug/interaction/tools/Pointer.cpp
 - src/flixel/input/gamepad/mappings/PSVitaMapping.cpp
 - src/openfl/display/DOMRenderer.cpp  [haxe,release]
Error: In file included from ./src/LuaCharacter.cpp:5:
/home/kainoa/haxelib/linc_luajit/git//linc/linc_lua.h:10:10: fatal error: ../lib/lua/src/lua.hpp: No such file or directory
   10 | #include "../lib/lua/src/lua.hpp"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
chloedgreene commented 3 years ago

I found a very hacky fix to this issue,

in the file ~/haxelib/linc_luajit/git/linc/linc_lua.h change:

#include "../lib/lua/src/lua.hpp" To #include "../lib/Lua/src/lua.hpp" (Missing capital letter)

after that it should compile!

EliteMasterEric commented 3 years ago

I found a very hacky fix to this issue,

in the file ~/haxelib/linc_luajit/git/linc/linc_lua.h change:

#include "../lib/lua/src/lua.hpp" To #include "../lib/Lua/src/lua.hpp" (Missing capital letter)

after that it should compile!

Thanks for this! I've been trying to figure out how to build.

I'm going to go to the repo and try to make a PR for this.

EliteMasterEric commented 3 years ago

Posted a new PR to fix this: nebulazorua/linc_luajit#1