1 [Modified: pjcast - Aug 25, 2006]
3 Here are a few notes on using OGRE in a linux or linux like environment. First
4 keep your life simple by using the pkg-config system. Using this script you can
5 easily add in the required library and include dir flags like this:
7 pkg-config --cflags --libs OGRE
9 If the script complains about not finding the OGRE module and possibly needing
10 PKG_CONFIG_PATH set, you can do so like this:
12 export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
14 Most commonly your pkgconfig directory will be under the directory that
15 libOgreMain was installed to.
17 There are sone other flags to be aware of, GCC_3_1 and EXT_HASH. These are
18 currently set by pkg-config flags. Their meaning is
21 GCC_3_1: This means you are using g++ version 3.1 or greater. This allows
22 for direct usage of the standard library.
23 EXT_HASH: This means that your hash_map and other none standard STL
24 components are in the ext/ subdir of your normal headers.
26 Otherwise you should be able to generally get things going. If you have other
27 questions feel free to ask on the forums: http://www.ogre3d.org/phpBB2/index.php, IRC
28 <irc.freenode.net #ogre3d>