Line | |
---|
1 | [Modified: pjcast - Aug 25, 2006] |
---|
2 | |
---|
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: |
---|
6 | |
---|
7 | pkg-config --cflags --libs OGRE |
---|
8 | |
---|
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: |
---|
11 | |
---|
12 | export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig |
---|
13 | |
---|
14 | Most commonly your pkgconfig directory will be under the directory that |
---|
15 | libOgreMain was installed to. |
---|
16 | |
---|
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 |
---|
19 | so: |
---|
20 | |
---|
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. |
---|
25 | |
---|
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> |
---|
29 | |
---|
30 | --temas |
---|
31 | |
---|
32 | |
---|
Note: See
TracBrowser
for help on using the repository browser.