ShadowMario / FNF-PsychEngine

Engine originally used on Mind Games mod
Apache License 2.0
1.05k stars 2.11k forks source link

PsychEngine 0.6.3 Compile error #15013

Open longge90 opened 6 days ago

longge90 commented 6 days ago

Describe your problem here.

source/FunkinLua.hx:491: characters 10-15 : Class has no field error source/FunkinLua.hx:509: characters 10-15 : Class has no field error source/FunkinLua.hx:515: characters 10-15 : Class has no field error source/FunkinLua.hx:567: characters 10-15 : Class has no field error source/FunkinLua.hx:573: characters 10-15 : Class has no field error source/FunkinLua.hx:613: lines 613-617 : Int should be Bool source/FunkinLua.hx:613: lines 613-617 : ... For function argument 'f'

Are you modding a build from source or with Lua?

Source

What is your build target?

Windows x64

Did you edit anything in this build? If so, mention or summarize your changes.

actuate: [1.9.0] box2d: [1.2.3] BrewScript: [6.1.80] discord_rpc: [1.0.0] flixel-addons: 2.11.0 [3.0.2] flixel-demos: [2.9.0] flixel-templates: [2.6.6] 2.7.0 flixel-tools: [1.5.1] flixel-ui: [2.4.0] flixel: [4.11.0] flxanimate: [3.0.4] hscript: [2.5.0] hxCodec: [2.5.1] hxcpp-debug-server: [1.2.4] hxcpp: [4.2.1] hxjsonast: [1.1.0] layout: [1.2.1] lime-samples: [7.0.0] lime: [8.0.1] 8.1.2 linc_luajit: [0.0.6] newgrounds: [2.0.3] openfl-samples: [8.7.0] openfl: [9.2.1] polymod: [1.7.0] git systools: [1.1.0] thx.semver: [0.2.2] tjson: [1.4.0]

xxyuee commented 6 days ago

haxelib git linc_luajit https://github.com/superpowers04/linc_luajit.git

longge90 commented 6 days ago

haxelib git linc_luajit https://github.com/superpowers04/linc_luajit.git source/Achievements.hx:132: characters 30-54 : Warning : FlxCamera.defaultCameras is deprecated, use FlxG.cameras.setDefaultDrawTarget instead

Compiling group: haxe cl.exe -Iinclude -IC:/haxelib/discord_rpc/1,0,0/linc/ -IC:/haxelib/linc_luajit/0,0,7//linc/ -I C:/haxelib/hxCodec/2,5,1/lib/vlc/include/ -I C:/haxelib/hxCodec/2,5,1/lib/vlc/src/ -nologo /WX- /fp:precise -DHX_WINDOWS -GR -O2(optim-std) -Zi(debug) -FdD:\555\FNF-PsychEngine-0.6.3\export\release\windows\obj\obj/msvc1964-nc/vc.pdb(debug) -Od(debug) -O2(release) -Os(optim-size) -FS -Oy- -c -EHs -GS- -IC:/haxelib/hxcpp/4,2,1/include -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS(haxe) -DHXCPP_CHECK_POINTER(haxe) -DHXCPP_STACK_LINE(haxe) -DHX_SMART_STRINGS(haxe) -DHXCPP_API_LEVEL=400(haxe) -D_CRT_SECURE_NO_DEPRECATE -D_ALLOW_MSC_VER_MISMATCH -D_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH -DHX_WIN_MAIN(main) -wd4996 ... tags=[haxe,static]

xxyuee commented 6 days ago

https://github.com/ShadowMario/FNF-PsychEngine/wiki/Libraries-versions

longge90 commented 6 days ago

https://github.com/ShadowMario/FNF-PsychEngine/wiki/Libraries-versions

Will this work? This only applies to 0.7.2, does it work for 0.6.3?

xxyuee commented 5 days ago

sorry, i didnt read it correctly 💀

haxelib git linc_luajit https://github.com/nebulazorua/linc_luajit.git haxelib git discord_rpc https://github.com/Aidan63/linc_discord-rpc haxelib set flixel 5.2.2 haxelib set flixel-ui 2.5.0

longge90 commented 5 days ago

sorry, i didnt read it correctly 💀

haxelib git linc_luajit https://github.com/nebulazorua/linc_luajit.git haxelib git discord_rpc https://github.com/Aidan63/linc_discord-rpc haxelib set flixel 5.2.2 haxelib set flixel-ui 2.5.0 In this way, I feel worse 💀source/Main.hx:85: characters 61-65 : Float should be Int source/Main.hx:85: characters 61-65 : ... For optional function argument 'updateFramerate' source/Main.hx:85: characters 61-65 : ... For function argument 'child'

actuate: [1.9.0] box2d: [1.2.3] BrewScript: [6.1.80] discord_rpc: [1.0.0] flixel-addons: [2.11.0] flixel-demos: [2.9.0] flixel-templates: [2.6.6] 2.7.0 flixel-tools: [1.5.1] flixel-ui: [2.5.0] flixel: [5.2.2] flxanimate: [3.0.4] hscript: [2.5.0] hxCodec: [2.5.1] hxcpp: [4.2.1] 4.3.2 hxjsonast: [1.1.0] layout: [1.2.1] lime-samples: [7.0.0] lime: [8.0.1] 8.1.2 linc_discord-rpc: [1.0.0] linc_luajit: 0.0.6 [0.0.7] newgrounds: [2.0.3] openfl-samples: [8.7.0] openfl: [9.2.1] polymod: [1.7.0] git systools: [1.1.0] thx.semver: [0.2.2] tjson: [1.4.0]

xxyuee commented 5 days ago

in main.hx line 85, remove the 'zoom' argument

longge90 commented 5 days ago

in main.hx line 85, remove the 'zoom' argument source/Achievements.hx:132: characters 30-54 : Warning : FlxCamera.defaultCameras is deprecated, use FlxG.cameras.setDefaultDrawTarget instead

Compiling group: haxe cl.exe -Iinclude -IC:/haxelib/discord_rpc/1,0,0/linc/ -IC:/haxelib/linc_luajit/0,0,7//linc/ -I C:/haxelib/hxCodec/2,5,1/lib/vlc/include/ -I C:/haxelib/hxCodec/2,5,1/lib/vlc/src/ -nologo /WX- /fp:precise -DHX_WINDOWS -GR -O2(optim-std) -Zi(debug) -FdD:\555\FNF-PsychEngine-0.6.3\export\release\windows\obj\obj/msvc1964-nc/vc.pdb(debug) -Od(debug) -O2(release) -Os(optim-size) -FS -Oy- -c -EHs -GS- -IC:/haxelib/hxcpp/4,2,1/include -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS(haxe) -DHXCPP_CHECK_POINTER(haxe) -DHXCPP_STACK_LINE(haxe) -DHX_SMART_STRINGS(haxe) -DHXCPP_API_LEVEL=400(haxe) -D_CRT_SECURE_NO_DEPRECATE -D_ALLOW_MSC_VER_MISMATCH -D_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH -DHX_WIN_MAIN(main) -wd4996 ... tags=[haxe,static]

xxyuee commented 5 days ago

haxelib remove discord_rpc haxelib git discord_rpc https://github.com/Aidan63/linc_discord-rpc

longge90 commented 5 days ago

haxelib 删除 discord_rpc haxelib git discord_rpc https://github.com/Aidan63/linc_discord-rpc

I tried. It doesn't work.

longge90 commented 5 days ago

haxelib 删除 discord_rpc haxelib git discord_rpc https://github.com/Aidan63/linc_discord-rpc

source/flixel/system/FlxSound.hx:597: characters 16-24 : flash.media.SoundChannel has no field source source/flixel/system/FlxSound.hx:601: characters 19-27 : flash.media.SoundChannel has no field source

xxyuee commented 5 days ago

haxelib set flixel 4.11.0 haxelib set flixel-ui 2.4.0

longge90 commented 5 days ago

It's no use. I just feel like it's getting worse

xxyuee @.***> 于 2024年7月3日周三 上午12:56写道:

haxelib set flixel 4.11.0 haxelib set flixel-ui 2.4.0

— Reply to this email directly, view it on GitHub https://github.com/ShadowMario/FNF-PsychEngine/issues/15013#issuecomment-2203842002, or unsubscribe https://github.com/notifications/unsubscribe-auth/BEEIDPNQ7SLVQL2JHAX3XPDZKLLU5AVCNFSM6AAAAABKFYBGNCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBTHA2DEMBQGI . You are receiving this because you authored the thread.Message ID: @.***>

longge90 commented 4 days ago

haxelib 设置 flixel 4.11.0 haxelib 设置 flixel-ui 2.4.0

No, I copied my friend's Haxelib folder, and everything was solved