ShadowMario / FNF-PsychEngine

Engine originally used on Mind Games mod
Apache License 2.0
1.14k stars 2.2k forks source link

Cpp errror when compiling (check comments!!!) #13565

Closed Alex347XD closed 10 months ago

Alex347XD commented 11 months ago

Describe your problem here.

i am using haxe 4.2.5 and i keep getting this error everytime i compile. ive fixed this error before but now i cant figure it out

C:\FNF-PsychEngine-0.7.1h>lime test windows
------------------------SScript 7.0.0 Macro------------------------
Special Thanks:
- CrowPlexus

Checking version...
You are using the 4.2.5 version of Haxe, SScript works best with Haxe 4.3.2. Consider updating Haxe.
Continuing...
-------------------------------------------------------------------

C:/FNF-PsychEngine-0.7.1h/.haxelib/linc_luajit/git/llua/State.hx:11: characters 24-49 : You cannot access the cpp package while in a macro (for cpp.RawPointer)
C:/FNF-PsychEngine-0.7.1h/.haxelib/linc_luajit/git/llua/Lua.hx:4: characters 8-18 : ... referenced here
C:\FNF-PsychEngine-0.7.1h\source\import.hx:10: characters 8-16 : ... referenced here
C:\FNF-PsychEngine-0.7.1h\source\import.hx:4: characters 8-23 : ... referenced here
C:\FNF-PsychEngine-0.7.1h\.haxelib\lime\8,0,2/src/lime/media/AudioSource.hx:138: characters 53-100 : ... referenced here
C:/FNF-PsychEngine-0.7.1h/.haxelib/openfl/9,3,1/src/openfl/media/Sound.hx:28: characters 8-30 : ... referenced here
C:/FNF-PsychEngine-0.7.1h/.haxelib/openfl/9,3,1/src/openfl/utils/Assets.hx:9: characters 8-26 : ... referenced here
C:/FNF-PsychEngine-0.7.1h/.haxelib/openfl/9,3,1/src/openfl/text/Font.hx:4: characters 8-27 : ... referenced here
C:/FNF-PsychEngine-0.7.1h/.haxelib/openfl/9,3,1/src/openfl/text/_internal/TextEngine.hx:9: characters 8-24 : ... referenced here
C:/FNF-PsychEngine-0.7.1h/.haxelib/openfl/9,3,1/src/openfl/display/_internal/CairoTextField.hx:3: characters 8-40 : ... referenced here
C:/FNF-PsychEngine-0.7.1h/.haxelib/openfl/9,3,1/src/openfl/display/CairoRenderer.hx:11: characters 8-47 : ... referenced here
C:/FNF-PsychEngine-0.7.1h/.haxelib/openfl/9,3,1/src/openfl/display/_internal/CairoGraphics.hx:6: characters 8-36 : ... referenced here
C:/FNF-PsychEngine-0.7.1h/.haxelib/openfl/9,3,1/src/openfl/display/_internal/Context3DGraphics.hx:3: characters 8-46 : ... referenced here
C:/FNF-PsychEngine-0.7.1h/.haxelib/openfl/9,3,1/src/openfl/display/DisplayObjectRenderer.hx:4: characters 8-50 : ... referenced here
C:/FNF-PsychEngine-0.7.1h/.haxelib/openfl/9,3,1/src/openfl/filters/BitmapFilter.hx:6: characters 8-44 : ... referenced here
C:/FNF-PsychEngine-0.7.1h/.haxelib/openfl/9,3,1/src/openfl/display/BitmapData.hx:14: characters 8-35 : ... referenced here
C:/FNF-PsychEngine-0.7.1h/.haxelib/openfl/9,3,1/src/openfl/desktop/Icon.hx:4: characters 8-33 : ... referenced here
C:/FNF-PsychEngine-0.7.1h/.haxelib/openfl/9,3,1/src/openfl/filesystem/File.hx:6: characters 8-27 : ... referenced here
C:/FNF-PsychEngine-0.7.1h/.haxelib/openfl/9,3,1/src/openfl/events/InvokeEvent.hx:5: characters 8-30 : ... referenced here
C:/FNF-PsychEngine-0.7.1h/.haxelib/openfl/9,3,1/src/openfl/display/Application.hx:15: characters 8-33 : ... referenced here
C:/FNF-PsychEngine-0.7.1h/.haxelib/openfl/9,3,1/src/openfl/utils/_internal/Lib.hx:6: characters 8-34 : ... referenced here
C:/FNF-PsychEngine-0.7.1h/.haxelib/openfl/9,3,1/src/openfl/display/DisplayObject.hx:6: characters 8-34 : ... referenced here
C:/FNF-PsychEngine-0.7.1h/.haxelib/openfl/9,3,1/src/openfl/utils/_internal/TouchData.hx:3: characters 8-36 : ... referenced here
C:/FNF-PsychEngine-0.7.1h/.haxelib/openfl/9,3,1/src/openfl/display/Stage.hx:7: characters 8-40 : ... referenced here
C:\FNF-PsychEngine-0.7.1h\.haxelib\lime\8,0,2/src/lime/ui/Window.hx:15: characters 8-28 : ... referenced here
C:\FNF-PsychEngine-0.7.1h\.haxelib\lime\8,0,2/src/lime/graphics/RenderContext.hx:4: characters 8-22 : ... referenced here
C:\FNF-PsychEngine-0.7.1h\.haxelib\lime\8,0,2/src/lime/app/Application.hx:3: characters 8-35 : ... referenced here
C:\FNF-PsychEngine-0.7.1h\.haxelib\lime\8,0,2/src/lime/system/ThreadPool.hx:4: characters 8-28 : ... referenced here
C:\FNF-PsychEngine-0.7.1h\.haxelib\lime\8,0,2/src/lime/app/Future.hx:4: characters 8-30 : ... referenced here
C:\FNF-PsychEngine-0.7.1h\.haxelib\lime\8,0,2/src/lime/utils/Bytes.hx:10: characters 8-23 : ... referenced here
C:\FNF-PsychEngine-0.7.1h\.haxelib\lime\8,0,2/src/lime/utils/BytePointer.hx:5: characters 8-24 : ... referenced here
C:\FNF-PsychEngine-0.7.1h\.haxelib\lime\8,0,2/src/lime/graphics/opengl/GL.hx:8: characters 8-30 : ... referenced here
C:\FNF-PsychEngine-0.7.1h\.haxelib\lime\8,0,2/src/lime/graphics/opengl/GLBuffer.hx:5: characters 8-31 : ... referenced here
C:\FNF-PsychEngine-0.7.1h\.haxelib\lime\8,0,2/src/lime/_internal/backend/native/NativeCFFI.hx:4: characters 8-37 : ... referenced here
C:\FNF-PsychEngine-0.7.1h\.haxelib\lime\8,0,2/src/lime/system/System.hx:4: characters 8-48 : ... referenced here
C:\FNF-PsychEngine-0.7.1h\.haxelib\lime\8,0,2/src/haxe/Timer.hx:219: characters 8-26 : ... referenced here
C:/FNF-PsychEngine-0.7.1h/.haxelib/SScript/7,0,0/src/tea/SScript.hx:6: characters 8-18 : ... referenced here
C:/FNF-PsychEngine-0.7.1h/.haxelib/SScript/7,0,0/src/hscriptBase/Interp.hx:28: characters 8-19 : ... referenced here
C:/FNF-PsychEngine-0.7.1h/.haxelib/SScript/7,0,0/src/hscriptBase/Tools.hx:68: characters 7-13 : ... referenced here`

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.

i added a gallery

Alex347XD commented 11 months ago

i changed over to experimental and now i get this error

source/psychlua/CallbackHandler.hx:54: characters 18-33 : Class<llua.Lua_helper> has no field sendErrorsToLua
source/psychlua/FlxAnimateFunctions.hx:139: characters 7-18 : flxanimate.FlxAnimate has no field loadAtlasEx (Suggestion: loadAtlas)
BigChocolateApple commented 11 months ago

same problem