![]() Lot of packages, please wait and re-run the same command in case it fails.) ninja -C out/Release dm (The bin/sync-and-gyp will take some minutes because it downloads a (The gclient command might print an error likeĮrror: client not configured see 'gclient config'. Then open a command line and follow these steps (for VS2015): call "%VS140COMNTOOLS%\vsvars32.bat" Skia on WindowsĪnd uncompress it in some place like C:\deps\depot_tools. In this case, $HOME/deps/skia is the directory where Skia was compiled. DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/MacOSX10.11.sdk \ To compile LibreSprite, first compile Skia. MacOS is currently not available due to some issues with Skia In this case, C:\deps\skia is the directory where Skia was compiled. DUSE_ALLEG4_BACKEND=OFF -DUSE_SKIA_BACKEND=ON -DSKIA_DIR=C:\deps\skia ^ To compile the Skia backend, first compile Skia and DCMAKE_TOOLCHAIN_FILE=put_your_vcpkg_path_here\vcpkg\scripts\buildsystems\vcpkg.cmake ^ To compile the Allegro backend, run the following commands: cmake ^ If you're using a command prompt and aiming for a 圆4 build, be sure to If you want to use your installed version of Allegro, run cmake with The repository contains a patched version of the Allegro 4 library. To compile LibreSprite, run the following commands: cmake -G Ninja. If you want to build a fresh copy of LibreSprite, remove the build directory The build directory will contain the results of the compilation process. Then following the platform-specific instructions for compiling below. On MacOS you will need Mac OS X 10.11 SDK and Xcode 7.3 (older versionsįirst, create the build directory with the following commands: cd LibreSprite To install the required dependencies with vcpkg, run: vcpkg install freetype giflib gtest libjpeg-turbo libpng libwebp pixman tinyxml zlib -triplet 圆4-windowsīeware: -triplet 圆4-windows is only necessary for a 64 architecture You'll need the following dependencies to compile LibreSprite: Linux dependenciesĭebian/Ubuntu: sudo apt-get install cmake g libfreetype6-dev libgif-dev libgtest-dev libjpeg-dev libpixman-1-dev libpng-dev libtinyxml-dev libx11-dev libxcursor-dev ninja-build zlib1g-dev NOTE: Work on a new backend to replace these is underway. LibreSprite can be compiled with two different backends: To update an existing clone, use the following commands: cd LibreSprite Linux gcc 4.8 with some C 11 supportĬlone the repository and its submodules using the following command: git clone -recursive.Mac OS X 10.11.4 El Capitan Xcode 7.3 OS X 10.11 SDK Skia (without GPU).Windows 10 VS2015 Community Edition Windows 10 SDK.You should be able to compile LibreSprite on the following platforms: If you want to compile LibreSprite from source, continue reading. You can download installers from the website.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |