source: OGRE/trunk/ogrenew/LINUX.DEV @ 692

Revision 692, 1.3 KB checked in by mattausch, 19 years ago (diff)

adding ogre 1.2 and dependencies

Line 
1Here are a few notes on using OGRE in a linux or linux like environment.  First
2keep your life simple by using the pkg-config system.  Using this script you can
3easily add in the required library and include dir flags like this:
4
5    pkg-config --cflags --libs OGRE
6
7If the script complains about not finding the OGRE module and possibly needing
8PKG_CONFIG_PATH set, you can do so like this:
9
10    export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
11
12Most commonly your pkgconfig directory will be under the directory that
13libOgreMain was installed to.
14
15There are sone other flags to be aware of, GCC_3_1 and EXT_HASH.  These are
16currently not set by pkg-config flags, but I may be convinced to do so in the
17future.  So for now you will need to test for these yourself.  Their meaning is
18so:
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           
25Otherwise you should be able to generally get things going.  If you have other
26questions 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.