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

21 Fix build error on Uninitialized Fedora OS #22

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -524,3 +524,6 @@ dkms.conf

.Test/
Docs/Engine-3D/
launcher
Projects
requirements.txt
1 change: 1 addition & 0 deletions Launcher/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ all: install
install:
@$(ECHO) $(BOLD) $(GREEN)"\n► INSTALL Launcher 📦 !\n"$(DEFAULT)
@$(PYTHON) -m pip install --upgrade pip -q
@$(PIP) install PyQt5 -q
@$(PIP) freeze | grep -v moddb > ./requirements.txt 2> /dev/null
@$(PIP) install -r ./requirements.txt -q
@$(ECHO) $(BOLD) $(GREEN)✓$(LIGHT_BLUE)" INSTALL Launcher 📦"$(DEFAULT)
Expand Down
203 changes: 0 additions & 203 deletions Launcher/requirements.txt

This file was deleted.

2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ print:
@$(ECHO) $(BOLD) $(GREEN)"\n► MAKEFILE 📖 !"$(DEFAULT)

lib:
@$(MAKE) all -C ./Libs $(NO_PRINT)
@-$(MAKE) all -C ./Libs $(NO_PRINT)
@-$(ECHO) $(BOLD) $(GREEN)"\n► LIB ⛽ !"$(DEFAULT)

launcher: fclean
Expand Down
11 changes: 9 additions & 2 deletions Scripts/install_csfml.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,15 @@ DIR="CSFML"
INSTALL_DIR=~/csfml

# install SFML dependencies
sudo apt-get update
sudo apt-get install -y libsfml-dev libcsfml-dev
if command -v apt-get &> /dev/null; then
sudo apt-get update
sudo apt-get install -y libsfml-dev libcsfml-dev
elif command -v dnf &> /dev/null; then
sudo dnf update
else
echo "DNF or APT package manager not found, exiting"
exit 1
fi

# clone CSFML repository
cd build
Expand Down
Loading