Building Sh on Windows

From ShWiki

(Difference between revisions)
Revision as of 18:52, 11 October 2005
Francois (Talk | contribs)
Add a screenshot of the source folder
← Previous diff
Revision as of 17:40, 17 November 2005
Francois (Talk | contribs)
Add a section for frequently reported problems
Next diff →
Line 1: Line 1:
 +==Using Visual Studio==
 +
To build Sh on Windows, you need '''Visual Studio .NET''' or later. To build Sh on Windows, you need '''Visual Studio .NET''' or later.
Line 19: Line 21:
[[Image:Source_folder.gif]] [[Image:Source_folder.gif]]
 +
 +==Frequently Reported problems==
 +
 +These are tips to build [[Sh]] successfully on Windows, based on the problems that some users have reported.
 +
 +===Make sure you compile with RTTI enabled===
 +
 +[[Sh]] requires RTTI to be enabled. In MSVC:
 + Project properties -> C/C++ -> Language -> Enable Run-Time Type Info

Revision as of 17:40, 17 November 2005

Using Visual Studio

To build Sh on Windows, you need Visual Studio .NET or later.

Get all of the zip files from the Download page.

  1. Unzip libsh-VERSION.zip into your working folder
  2. Unzip libsh-VERSION-win32deps.zip into your working folder
  3. Open the libsh-VERSION/win32/Sh.sln solution file and press F7 (Build solution)

To build Shrike, first install Sh as described above, then do the following:

  1. Unzip shmedia-VERSION.zip into your working folder
  2. Unzip shrike-VERSION.zip into your working folder
  3. Unzip shrike-VERSION-win32deps.zip into your working folder
  4. Open the shrike-VERSION/win32/shrike.sln solution file and press F7 (Build solution)

If you can't run the Shrike shaders that use a texture, make sure you set your working directory (in the Visual Studio project options) to "Debug" or "Release" so that the relative paths make sense.

Therefore, if you install and unzip everything, your working folder should contain the following subfolders:

Image:Source_folder.gif

Frequently Reported problems

These are tips to build Sh successfully on Windows, based on the problems that some users have reported.

Make sure you compile with RTTI enabled

Sh requires RTTI to be enabled. In MSVC:

Project properties -> C/C++ -> Language -> Enable Run-Time Type Info