Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing to compile to linux #2

Open
claymorwan opened this issue Sep 17, 2024 · 6 comments
Open

Failing to compile to linux #2

claymorwan opened this issue Sep 17, 2024 · 6 comments
Labels
help wanted Extra attention is needed

Comments

@claymorwan
Copy link

claymorwan commented Sep 17, 2024

Describe your problem here.

I've been trying to compile the game to linux, cuz sadly fnf games seems to be running pretty bad throught wine (I get lap spikes everytime I press a key, and I'm not so sure it's my pc cuz I think I have good enough performance to run the mod just fine)
I tried to manually convert the compile.bat file to a .sh one

cd ..
echo INSTALLING LIBRARIES
haxelib set flixel-addons 2.10.0
haxelib set flixel-tools 1.5.1
haxelib set flixel-ui 2.5.0
haxelib set flixel 5.2.2
haxelib set lime 8.1.1
haxelib set openfl 9.2.2
haxelib install hscript
haxelib set hxvlc 1.2.0
haxelib set hxcpp 4.3.2
haxelib git linc_luajit https://github.com/superpowers04/linc_luajit
haxelib git discord_rpc https://github.com/Aidan63/linc_discord-rpc.git

echo BUILDING GAME
lime test linux

echo .
echo done.

but I get this flixel error

Warning: Ignoring unknown fps=""
Warning: Lime version 8.1.3 may not be compatible with OpenFL 9.2.2 (expected version 7.7.0+)
Use <lime version="" /> before <haxelib name="openfl" /> to include a specific version
Use <lime version="" /> before <haxelib name="openfl" /> to include a specific version
Use <lime version="" /> before <haxelib name="openfl" /> to include a specific version
/home/claymorwan/haxelib/flixel/5,2,2/flixel/system/FlxSound.hx:752: characters 17-25 : flash.media.SoundChannel has no field __source
/home/claymorwan/haxelib/flixel/5,2,2/flixel/system/FlxSound.hx:753: characters 14-22 : flash.media.SoundChannel has no field __source
/home/claymorwan/haxelib/flixel-ui/2,5,0/flixel/addons/ui/FlxUICursor.hx:564: characters 9-11 : Warning : Potential typo detected (expected similar values are flixel.addons.ui.SortMethod.ID)

And I end up getting an output without an executable
image

I did download all the correct dependencies, since the .sh does it for me
Pwease help

Are you modding a build from source or with Lua?

source

What is your build target?

Linux

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

No, nothing yet.

@claymorwan claymorwan added the help wanted Extra attention is needed label Sep 17, 2024
@moxie-coder
Copy link

use openfl 9.2.2

@claymorwan
Copy link
Author

use openfl 9.2.2

Huh aren't I already using it ? Even the warning says I'm on 9.2.2

@moxie-coder
Copy link

use openfl 9.2.2

Huh aren't I already using it ? Even the warning says I'm on 9.2.2

__source was changed to __audioSource in newer openfl versions, can you do haxelib list so I can see?

@claymorwan
Copy link
Author

Well it does says I'm on 9.2.2 so idk

$ haxelib list
actuate: [1.9.0]
away3d: [5.0.9]
box2d: [1.2.3]
discord_rpc: [git]
flixel-addons: [2.10.0] 3.2.2 3.2.3
flixel-demos: [3.2.0]
flixel-templates: [2.7.0]
flixel-tools: [1.5.1]
flixel-ui: [2.5.0] 2.6.1
flixel: [5.2.2] 5.6.1 5.8.0
flxanimate: [3.0.4] git
funkin.vis: [git]
grig.audio: [git]
hscript-iris: [1.0.2]
hscript: [2.5.0]
hxCodec: [3.0.2]
hxcpp: [4.3.2]
hxdiscord_rpc: [git]
hxvlc: [1.2.0] git
jsonpatch: [1.0.0]
jsonpath: [1.0.0]
layout: [1.2.1]
lime-samples: [7.0.0]
lime: 8.1.1 8.1.2 [8.1.3]
linc_luajit: 0.0.6 [git]
newgrounds: [2.0.3]
openfl-samples: [8.7.0]
openfl: 9.2.2 9.3.3 [9.3.4]
polymod: [git]
SScript: [21.0.0]
systools: [1.1.0]
thx.core: [0.44.0]
thx.semver: [0.2.2]
tink_core: [1.26.0]
tjson: [1.4.0]

@moxie-coder
Copy link

nope, it shows you have 9.3.4 selected, so do haxelib set openfl 9.2.2

@claymorwan
Copy link
Author

So this worked, but now I get stuck at this error during compilation
image

@claymorwan claymorwan changed the title Failing to compile to linux cuz of flixel error Failing to compile to linux Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants