Building Dolphin on Linux: Difference between revisions

Fix the script. Dolphin gets cloned into a "dolphin" folder, not "dolphin-emu", which causes the update step to fail (it will try to clone the main repo always) and the build stage too. So substitute "dolphin-emu" for "dolphin in all instances.
(added libgl1-mesa-dev as another dependency)
(Fix the script. Dolphin gets cloned into a "dolphin" folder, not "dolphin-emu", which causes the update step to fail (it will try to clone the main repo always) and the build stage too. So substitute "dolphin-emu" for "dolphin in all instances.)
Line 157: Line 157:
}
}
updatedolphin() {
updatedolphin() {
cd $DIR/dolphin-emu
cd $DIR/dolphin
echo 'Updating the local repository...'
echo 'Updating the local repository...'
git pull origin
git pull origin
}
}
build() {
build() {
cmake $DIR/dolphin-emu
cmake $DIR/dolphin
make
make
}
}
Anonymous user