Revision 692,
1.3 KB
checked in by mattausch, 19 years ago
(diff) |
adding ogre 1.2 and dependencies
|
Line | |
---|
1 | Here are a few notes on using OGRE in a linux or linux like environment. First |
---|
2 | keep your life simple by using the pkg-config system. Using this script you can |
---|
3 | easily add in the required library and include dir flags like this: |
---|
4 | |
---|
5 | pkg-config --cflags --libs OGRE |
---|
6 | |
---|
7 | If the script complains about not finding the OGRE module and possibly needing |
---|
8 | PKG_CONFIG_PATH set, you can do so like this: |
---|
9 | |
---|
10 | export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig |
---|
11 | |
---|
12 | Most commonly your pkgconfig directory will be under the directory that |
---|
13 | libOgreMain was installed to. |
---|
14 | |
---|
15 | There are sone other flags to be aware of, GCC_3_1 and EXT_HASH. These are |
---|
16 | currently not set by pkg-config flags, but I may be convinced to do so in the |
---|
17 | future. So for now you will need to test for these yourself. Their meaning is |
---|
18 | so: |
---|
19 | |
---|
20 | GCC_3_1: This means you are using g++ version 3.1 or greater. This allows |
---|
21 | for direct usage of the standard library. |
---|
22 | EXT_HASH: This means that your hash_map and other none standard STL |
---|
23 | components are in the ext/ subdir of your normal headers. |
---|
24 | |
---|
25 | Otherwise you should be able to generally get things going. If you have other |
---|
26 | questions feel free to poke me on the forums <http://www.sf.net/phpBB2/>, IRC |
---|
27 | <irc.freenode.net #ogre3d>, Jabber or email <temas@jabber.org> |
---|
28 | |
---|
29 | --temas |
---|
30 | |
---|
31 | |
---|
Note: See
TracBrowser
for help on using the repository browser.