Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/LINUX.DEV @ 3

Last change on this file since 3 was 3, checked in by anonymous, 17 years ago

=update

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