History: How to build QuickGUI on Linux
Source of version: 3 (current)
Copy to clipboard
!Getting started
To build QuickGUI you will need:
# A working install of OGRE along with all of the development files (headers). [http://www.ogre3d.org|OGRE3D]
# A working GCC/G++ Compiler.
# CMake (to generate the makefiles).If you don't have it, you can get it through yum, apt-get or you can download it from [http://www.cmake.org/|CMake]
# GNU Make or equivalent to build QuickGUI.
# And of course you will need the latest release of QuickGUI
!!Downloading QuickGUI
I got building problems with the stable release, so I recommend downloading the latest release from SVN. To do this type on your console
{MONO()}~np~$svn co svn://www.stellarcommand.com/QuickGUI/trunk/src/ /your_directory~/np~{MONO}
Username: anyone Pass: nopassword
!!Building QuickGUI
* Make sure that you're in the root QuickGUI directory.
* Run the following cmake command to generate the makefiles:
{MONO()}$cmake .{MONO}
NOTE: the period which follows a space after cmake must be there or the Makefiles will NOT be generated. However if you specify 'cmake -i' CMake will run in interactive mode which allows you to change various settings such as optimizations and installation prefixes. Most users will not need to do this.
* Now run 'make' to build the QuickGUI library and demo.
NOTE: At this time the Sheet and SkinSet editors will not be built because they are broken. When they are in working shape the code will be re-enabled in the build system.
* Once make finishes building you can now run 'make install' to copy everything into the proper locations.
* It is usually a good idea to run 'ldconfig' installation is complete so that the software you link QuicKGUI into can find the library. You may also have to modify /etc/ld.so.conf if the directory containing the QuickGUI library is not in the ldconfig search path.
NOTE: If you wish to change the installation prefix from the default, which is generally /usr/local, you need to change the value of CMAKE_INSTALL_PREFIX. You can do this by either running 'cmake -i' and entering your new installation prefix when prompted or set the variable before you run make such as, CMAKE_INSTALL_PREFIX=/usr make.
You should run the QuickGUIDemo to make sure that everything is right, and if so, congratulations, you can start using QuickGUI in your project!!