ShadowMario / FNF-PsychEngine

Engine originally used on Mind Games mod
Apache License 2.0
1.15k stars 2.22k forks source link

Can anyone help me to solve this fucking problem??? #12077

Closed lava4-LvLOG closed 1 year ago

lava4-LvLOG commented 1 year ago

Describe your problem here.

when i try lime build windows and then the fucking errors are all popping out, so how to solve those??? source/Main.hx:85: characters 35-36 : Int should be Null<Class<flixel.FlxState>> source/Main.hx:85: characters 35-36 : ... For optional function argument 'initialState' source/Main.hx:85: characters 35-36 : ... For function argument 'child' worry.

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.

No, I pack it originally.

NightmistTheCat commented 1 year ago

Replace Main.hx with https://github.com/ShadowMario/FNF-PsychEngine/blob/main/source/Main.hx

lava4-LvLOG commented 1 year ago

Replace Main.hx with https://github.com/ShadowMario/FNF-PsychEngine/blob/main/source/Main.hx

Compiling group: haxe cl.exe -Iinclude -IC:/HaxeToolkit/haxe/lib/discord_rpc/git/linc/ -IC:/HaxeToolkit/haxe/lib/linc_luajit/git//linc/ -I C:/HaxeToolkit/haxe/lib/hxCodec/2,5,1/lib/vlc/include/ -I C:/HaxeToolkit/haxe/lib/hxCodec/2,5,1/lib/vlc/src/ -nologo -DHX_WINDOWS -GR -O2(optim-std) -Zi(debug) -FdC:\Users\LvLog\Desktop\FNFPE\export\release\windows\obj\obj/msvc64-nc/vc.pdb(debug) -Od(debug) -O2(release) -Os(optim-size) -Oy- -c -EHs -GS- -IC:/HaxeToolkit/haxe/lib/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]

how about this