Git Product home page Git Product logo

wkfo / pioneer-thirdparty Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pioneerspacesim/pioneer-thirdparty

0.0 0.0 0.0 161.74 MB

Third-party packages required to build Pioneer

Shell 2.88% JavaScript 0.03% Ruby 0.01% C++ 36.50% Python 1.08% Perl 0.11% C 50.98% Objective-C 1.49% Java 0.83% D 0.29% C# 0.09% Assembly 0.30% Ada 0.15% PowerShell 0.02% XSLT 0.01% CSS 0.07% Pascal 0.09% COBOL 4.81% UnrealScript 0.01% TeX 0.25%

pioneer-thirdparty's Introduction

pioneer-thirdparty

This repository contains third-party packages required to build Pioneer. Not all environments/systems provide all the necessary packages, and some do but have made modifications that render them unsuitable for use in Pioneer. This will give you everything you need in a form that is tested and supported by the Pioneer devs.

Read COMPILING.txt in the main Pioneer repository to see how to use this.

Updating the win32 binaries

Required development environment:

libassimp

  1. Open an appropriate Visual Studio command prompt (ie. 'x64 Native Tools Command Prompt for VS 2019')
  2. Navigate to the pioneer-thirdparty/source/assimp directory
  3. Create a build folder and enter it
  4. Configure cmake: cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=install -DASSIMP_BUILD_ASSIMP_TOOLS=OFF
  5. Run the build: ninja
  6. Install: ninja install
  7. Copy the files from build/install to the appropriate folders:
    • install/bin/*.dll -> pioneer-thirdparty/win32/bin/x64/vs2019
    • install/lib/*.lib -> pioneer-thirdparty/win32/lib/x64/vs2019

FreeType2

  1. Download compiled binaries from https://github.com/ubawurinna/freetype-windows-binaries and place into pioneer-thirdparty/win32/

SDL2

  1. Open an appropriate Visual Studio command prompt (ie. 'x64 Native Tools Command Prompt for VS 2019')
  2. Navigate to the pioneer-thirdparty/source/sdl2 directory
  3. Create a build folder and enter it
  4. Configure cmake: cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=install -DEXTRA_LIBS=vcruntime
  5. Run the build: ninja
  6. Install: ninja install
  7. Copy the files from build/install to the appropriate folders:
    • install/bin/*.dll -> pioneer-thirdparty/win32/bin/x64/vs2019
    • install/lib/*.lib -> pioneer-thirdparty/win32/lib/x64/vs2019

SDL Image

The solution in sdl2_image has been reconfigured for VS2019 and to find the appropriate SDL headers and libraries. SDL must be built first.

  1. Open pioneer-thirdparty/source/sdl2_image/VisualC/sdl_image.sln in Visual Studio 2019
  2. Build the appropriate release builds
  3. Copy files from sd2_image/VisualC/*/Release to the appropriate pioneer-thirdparty/win32 folders

SDL2 Net

Follow the instructions for SDL2 above in the pioneer-thirdparty/source/sdl2_net directory.

libogg

  1. Open an appropriate Visual Studio command prompt (ie. 'x64 Native Tools Command Prompt for VS 2019')
  2. Navigate to the pioneer-thirdparty/source/libogg-1.3.4 directory
  3. Create a build folder and enter it
  4. Configure cmake: cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=install
  5. Run the build: ninja
  6. Install: ninja install
  7. Copy the files from build/install to the appropriate folders:
    • install/lib/*.lib -> pioneer-thirdparty/win32/lib/x64/vs2019

libvorbis

  1. Build libogg first and copy the lib files to pioneer/thirdparty/win32/lib/*
  2. Open an appropriate Visual Studio command prompt (ie. 'x64 Native Tools Command Prompt for VS 2019')
  3. Navigate to the pioneer-thirdparty/source/libvorbis-1.3.7 directory
  4. Create a build folder and enter it
  5. Configure cmake: cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=install -DOGG_INCLUDE_DIR=..\..\libogg-1.3.4\include -DOGG_LIBRARY=..\..\..\win32\lib\x64\vs2019\ogg.lib
    • replace lib\x64\ with the appropriate lib directory (ie. x86)
  6. Run the build: ninja
  7. Install: ninja install
  8. Copy the files from build/install to the appropriate folders:
    • install/lib/*.lib -> pioneer-thirdparty/win32/lib/x64/vs2019

libsigc++

libsigc++ must be built in both debug and release mode!

  1. Open an appropriate Visual Studio command prompt (ie. 'x64 Native Tools Command Prompt for VS 2019')
  2. Navigate to the pioneer-thirdparty/source/libsigc++-2.10.4/MSVC_NMake directory
  3. Run nmake: nmake /f Makefile.vc CFG=Release PREFIX=install install
  4. Copy the dll and lib files from install/bin and install/lib to pioneer-thirdparty/win32/*

For new versions of libsigc++, copy the install/include/sigc++-2.0 directory to pioneer-thirdparty/win32/include and (sigc++ source dir)/untracked/MSVC_NMake/sigc++config.h to pioneer-thirdparty/win32/include/sigc++config.h

pioneer-thirdparty's People

Contributors

fluffyfreak avatar robn avatar the-eg avatar web-eworks avatar johnbartholomew avatar pcercuei avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.