-
Notifications
You must be signed in to change notification settings - Fork 11
Building PCS2
PCS2 requires three external dependencies in order to build correctly. The first of which is wxWidgets and the second is Boost, and the last is DevIL.
#Building and Linking wxWidgets If you are lucky, you can download a precompiled library package from wxWidget's downloads page that will suit your particular Operating System.
If you are not lucky, or wish to use a custom version of wxWidgets, you'll have to build and compile it from the source. TODO: Provide link to wxWidget's "building from source" tutorial.
PCS2 still currently uses 2.8, but there is an effort in upgrading to 3.0.2.
Of particular note when referencing the library directories in project files/make files, is that wxWidget's will, for example, build to the vc_dll directory unless specified. So, you may need to rename your "vc120_dll" directory to "vc_dll," or modify the project file to reference the correct directory
#Linking Boost Boost for the most part is a header-only library, thankfully PCS2 doesn't use any of the features in boost that require building (I hope). PCS2 uses Boost version 1.55 or later. You can get Boost from here.
#Linking DevIL The last dependency to link to is DevIL, a image loading and manipulation library that PCS2 uses to handle the various texture and material formats. You can get DevIL from here.
Windows users have the option of downloading just the .dll and headers, but other OS's must build from the source (thankfully not as painful as wxWidgets can be).
#Library locations TODO