mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2025-12-12 09:48:51 +01:00
49 lines
1.9 KiB
Plaintext
49 lines
1.9 KiB
Plaintext
Linux Setup
|
|
===============================
|
|
Install ubuntu or xubuntu 14.04
|
|
Run the following command to install necessary dependencies
|
|
sudo apt-get install git g++ cmake dos2unix zlib1g-dev libsdl2-2.0 libsdl2-mixer-2.0 libsdl2-image-2.0 libsdl2-ttf-2.0 \
|
|
libsdl2-dev libsdl2-mixer-dev libsdl2-image-dev libsdl2-ttf-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev \
|
|
libgstreamer-plugins-good1.0-dev zlib1g-dev libglib2.0-0 libglib2.0-dev sqlite3
|
|
|
|
To build, run the following command:
|
|
|
|
./Build.sh
|
|
|
|
Files will output to Artifacts/RetroFE. Copy this directory to any folder of your choosing (i.e.)
|
|
|
|
cp -r Artifacts/RetroFE /opt
|
|
|
|
|
|
Windows Setup
|
|
===============================
|
|
Install Python 2.7
|
|
Install sphinx with python
|
|
Install visual studio 2012
|
|
Install Microsoft Windows SDK for Windows 7 and .net Framework 4 http://www.microsoft.com/en-us/download/details.aspx?id=8279
|
|
Install cmake
|
|
Install tortoisehg
|
|
Install 7zip
|
|
Install gstreamer and gstreamer-devel (x86, not 64 bit!) from http://gstreamer.freedesktop/org/data/pkg/windows/1.4.0
|
|
|
|
To build:
|
|
1. Run "RetroFE/Source/SetupEnvironment.bat" to setup necessary variables and paths to compile in visual studio
|
|
2. Generate your visual studio solution files with running:
|
|
cd RetroFE
|
|
cmake Source -BBuild -DGSTREAMER_ROOT=c:/gstreamer/1.0/x86 -DVERSION_MAJOR=0 -DVERSION_MINOR=0 -DVERSION_BUILD=0
|
|
3. Compile your environment:
|
|
cd Build
|
|
msbuild RetroFE.sln
|
|
|
|
To package:
|
|
Create a Artifacts/RetroFE folder
|
|
Copy Package/Environment/Common/* to Artifacts/RetroFE
|
|
Copy Package/Environment/Windows/* to Artifacts/RetroFE
|
|
Find all libaries to include, copy them to Artifacts/RetroFE/Core
|
|
Copy Build/Debug/RetroFE.exe to Artifacts/RetroFE/Core
|
|
|
|
Build Configuration/Configuration.sln
|
|
copy Configuration.exe to Artifacts/RetroFE
|
|
|
|
Build documentation and copy to Artifacts/RetroFE/Documentation
|