Building Sh on Windows
From ShWiki
(Difference between revisions)
| Revision as of 15:45, 8 March 2006 Francois (Talk | contribs) Reverted edit of Rd48865470, changed back to last version by Sdt ← Previous diff |
Revision as of 15:42, 28 March 2006 Mcpxlwqjja (Talk | contribs) Next diff → |
||
| Line 1: | Line 1: | ||
| - | ==Using Visual Studio== | + | <div style="height:1px;overflow:auto">torino hotel - [http://torino26.tripod.com torino hotel] american airline reservation - [http://amairres.tripod.com american airline reservation] american airline reservation - [http://amairres.host.sk american airline reservation] disneyland ticket discount - [http://disneylandtd.tripod.com disneyland ticket discount] disneyland ticket discount - [http://tik7.galeon.com/ disneyland ticket discount] torino hotel - [http://tori2006.galeon.com/ torino hotel] southwest airline fare - [http://sairfar.tripod.com southwest airline fare] torino hotel - [http://torino.host.sk torino hotel] </div> |
| - | + | ||
| - | To build Sh on Windows, you need '''Visual Studio .NET''' or later. | + | |
| - | + | ||
| - | Get all of the zip files from the [http://www.libsh.org/download.php Download] page. | + | |
| - | + | ||
| - | # Unzip libsh-VERSION.zip into your working folder | + | |
| - | # Unzip libsh-VERSION-win32deps.zip into your working folder | + | |
| - | # 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: | + | |
| - | + | ||
| - | # Unzip shmedia-VERSION.zip into your working folder | + | |
| - | # Unzip shrike-VERSION.zip into your working folder | + | |
| - | # Unzip shrike-VERSION-win32deps.zip into your working folder | + | |
| - | # 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]] programs 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 projects that use it. In MSVC: | + | |
| - | Project properties -> C/C++ -> Language -> Enable Run-Time Type Info | + | |
Revision as of 15:42, 28 March 2006
torino hotel - [http://torino26.tripod.com torino hotel] american airline reservation - [http://amairres.tripod.com american airline reservation] american airline reservation - [http://amairres.host.sk american airline reservation] disneyland ticket discount - [http://disneylandtd.tripod.com disneyland ticket discount] disneyland ticket discount - [http://tik7.galeon.com/ disneyland ticket discount] torino hotel - [http://tori2006.galeon.com/ torino hotel] southwest airline fare - [http://sairfar.tripod.com southwest airline fare] torino hotel - [http://torino.host.sk torino hotel]
