Can't run monogame project on arch linux
I keep getting an error whenever I run
dotnet build
50 Replies
change the framework to dotnet 8 inside the .csproj
and also change the monogame version to the latest one
or, if you dont want to use the latest version of monogame with dotnet 8 you can install dotnet 6 instead
it is that framework
what do you see when you run
dotnet --list-sdks
8.0.110 [/usr/share/dotnet/sdk]
here's the csproj
also update the monogame version
where do I find the most recent version?
YAY DIFFERENT ERROR
ok this looks like a content pipeline issue
could you tempoarily remove
<PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.2.1105" />
and see if it builds
then add it backthat makes it build
and adding it back makes it not build
add it back
and run
dotnet new tool-manifest
go into
.config/dotnet-tools.json
and change it to this
did that work?different error now yay :3
geez
whats the error
ok you need to setup linux shader compilation
this part is a bit iffy
uhhh
how do I do that-
Setting up your OS for development on Ubuntu | MonoGame
This section provides a step-by-step guide for setting up your development environment on Ubuntu.
this is for unbuntu, so it might be different on arch
the
Setup Wine For Effect Compilation
yea its using apt
might have to do it manuallyall of that stuff was on pacman so it might be fine
i forgot that was the name of the arch package manager
ok new error I think
i think its the same issue
it wants to use wine to run the shader compiler
I have wine though??
did you do the other steps?
looked in winetricks and I cant find the d3d compiler
nvm its there
now uh
how do I do that last one?
do you know how to set an enviroment variable?
/home/protogenposting/.winemonogame
set MGFXC_WINE_PATH
to thatah ok
tbh i forgot where that file is to set enviroment variables on terminal startup
bruh how do I set an enviormental variable
I keep trying to set it but when I do
printenv
it doesnt show up therewhat are you doing to set it?
env MGFXC_WINE_PATH=/home/protogenposting/.winemonogame
add it to the bottom of
~/.profile
b/c otherwise its only for the current session
add MGFXC_WINE_PATH="/home/protogenposting/.winemonogame"
ok I'm gonna try rebooting rq
back from the reboot, that did not fix it
did you add this
to ~/.profile?
yes
I did
the end of .profile
what does say
echo $MGFXC_WINE_PATH
nothing
weird
I put it there though??
i think this is the wrong file
wait no
just run
export MGFXC_WINE_PATH="/home/protogenposting/.winemonogame"
normally in terminal and then run echo $MGFXC_WINE_PATH
the echo works
but the build still fails
wait
holdon
OK SOMETHING ELSE IS HAPPENING
IT BUILT YEAH
WOOOO
ok now it looks like the only issues were the result of my friend so it should be good now
THANK YOU
yay
looks like you guys put a lot of work into this game so far
a ton of assets