Difference between revisions of "User:Michelle2 Zenovka/cmake"

From Second Life Wiki
Jump to: navigation, search
(New page: = How to build the viewer with cmake = This page represents some notes of mine for building the viewer via cmake. The process under linux is trivial but under windows it is slightly more ...)
 
(Prerequisites for windows)
Line 9: Line 9:
 
* Python
 
* Python
 
* bison and flex (from cygwin)
 
* bison and flex (from cygwin)
* DirectX SDK (todo put version here)
+
* DirectX SDK (Microsoft DirectX SDK (December 2006))
 
* Quicktime SDK
 
* Quicktime SDK
 
* openssl SDK
 
* openssl SDK
Line 16: Line 16:
 
Get cmake from [http://www.cmake.org/HTML/Download.html http://www.cmake.org/HTML/Download.html]
 
Get cmake from [http://www.cmake.org/HTML/Download.html http://www.cmake.org/HTML/Download.html]
 
Download and install the setup executable
 
Download and install the setup executable
 +
  
 
Get python from [http://www.python.org http://www.python.org]
 
Get python from [http://www.python.org http://www.python.org]
Line 21: Line 22:
 
When installing cmake and python, its important to allow the commands to be addded to the system path. Both installers give an option for this towards the end of the installation. (On my system i needed to select for current user only as for all users (silently) failed to work).
 
When installing cmake and python, its important to allow the commands to be addded to the system path. Both installers give an option for this towards the end of the installation. (On my system i needed to select for current user only as for all users (silently) failed to work).
  
Get cgywin from [http://www.cygwin.com/ http://www.cygwin.com/]
+
 
 +
Get cygwin from [http://www.cygwin.com/ http://www.cygwin.com/]
  
 
When you get to the package choice make sure you select bison and flex, they are under development tools.
 
When you get to the package choice make sure you select bison and flex, they are under development tools.
 +
 +
 +
Get DirectX SDK December 2006 from Microsoft [http://www.microsoft.com/downloads/details.aspx?familyid=05DA7623-F2F9-4F57-91AA-6DB27FB8305F&displaylang=en DirectX Dec 2006 SDK]
 +
 +
Warning 448MB
 +
 +
 +
Get Quicktime SDK from Apple [http://developer.apple.com/quicktime/download/ http://developer.apple.com/quicktime/download/]
 +
 +
Openssl SDK
 +
 +
Not sure why this is not packaged with the viewer, need to verifiy and or file a JIRA. Some windows packages are avaiable which may be a better solution. Work to do
 +
 +
[http://www.openssl.org/ http://www.openssl.org/]

Revision as of 01:13, 10 April 2008

How to build the viewer with cmake

This page represents some notes of mine for building the viewer via cmake. The process under linux is trivial but under windows it is slightly more involved (but not really that bad at all). If you've only ever been used to starting with a Visual Studio project file then the cmake steps may seem a little strange at first but its a great system for ensuring that radically different build environments start from the same "control" files.


Prerequisites for windows

  • cmake (well duh!)
  • Python
  • bison and flex (from cygwin)
  • DirectX SDK (Microsoft DirectX SDK (December 2006))
  • Quicktime SDK
  • openssl SDK


Get cmake from http://www.cmake.org/HTML/Download.html Download and install the setup executable


Get python from http://www.python.org

When installing cmake and python, its important to allow the commands to be addded to the system path. Both installers give an option for this towards the end of the installation. (On my system i needed to select for current user only as for all users (silently) failed to work).


Get cygwin from http://www.cygwin.com/

When you get to the package choice make sure you select bison and flex, they are under development tools.


Get DirectX SDK December 2006 from Microsoft DirectX Dec 2006 SDK

Warning 448MB


Get Quicktime SDK from Apple http://developer.apple.com/quicktime/download/

Openssl SDK

Not sure why this is not packaged with the viewer, need to verifiy and or file a JIRA. Some windows packages are avaiable which may be a better solution. Work to do

http://www.openssl.org/