FunkinCrew / Funkin

A rhythm game made with HaxeFlixel
https://www.newgrounds.com/portal/view/770371
Other
2.97k stars 2.29k forks source link

Error with FlxRuntimeShader file when compiling #2373

Open JMV8712 opened 6 months ago

JMV8712 commented 6 months ago

This is the only error I get when I make attempts to compile, I've followed all the steps to the compiling process, including the visual studio build tools components,

MSVC v143 VS 2022 C++ x64/x86 build tools Windows 10/11 SDK (windows 10 specifically)

I am not using VS build tools though, I'm doing it straight through command prompt, and the clone repo is on my desktop, I've downloaded all the hmm library contents, and made sure I was in the right directory when I installed.

Desktop Screenshot 2024 05 08 - 20 37 08 54

The screenshot is an error due to the FlxRuntimeShader.hx file, I don't know enough about how haxe works to tell whats going on outside of the fact that the this object on 47 doesn't know what a glVersion is, I doubt tweaking the file is the correct option here.

Anybody got any methods to try to fix?

biomseed commented 6 months ago

Make sure you're using the version of flixel-addons from the funkin crew, not the regular one

JMV8712 commented 6 months ago

Could you give the repo link to the funkin crew's version? If not do I get it through hmm install?

METGameDev commented 6 months ago

yeah, its gotten through hmm, but it has a tendency to crash in the middle due to the funkin.vis, so just remove that from the hmm and THEN run it, and you should be good.

JMV8712 commented 6 months ago

yeah, its gotten through hmm, but it has a tendency to crash in the middle due to the funkin.vis, so just remove that from the hmm and THEN run it, and you should be good.

When you say remove that, you mean the funkin.vis? Cause I did 'hmm remove funkin.vis', but now it says I need it, I'm hella confused.

I also referred to #2349 because I had this same problem earlier, I did the same things recommended to solve this problem (2349)

I was also having the crashing problem earlier, but I managed to get it without a crash, but I did remove and redownload Funkin.vis separately, but now I'm getting the same error as the initial post...

MulakkJ commented 6 months ago

yeah, its gotten through hmm, but it has a tendency to crash in the middle due to the funkin.vis, so just remove that from the hmm and THEN run it, and you should be good.

if i remove funkin.vis it says i need it tho

moxie-coder commented 6 months ago

yeah, its gotten through hmm, but it has a tendency to crash in the middle due to the funkin.vis, so just remove that from the hmm and THEN run it, and you should be good.

if i remove funkin.vis it says i need it tho

because you’re supposed to reinstall it

AbnormalPoof commented 1 month ago

Got this issue once, pretty sure reinstalling flixel-addons does the trick (hmm reinstall flixel-addons -f).