Sophie

Sophie

distrib > Mandriva > 10.0 > i586 > media > contrib > by-pkgid > 06719cf03808e17ae6f0852ca1052dc2 > files > 269

libogre1-devel-0.13.0-1mdk.i586.rpm

<html><head>
<STYLE TYPE="text/css">
<!--
.MainHeader {  font-weight: bold; color: #FFFF33; background-color: #006600; font-size: 10pt}
body {  font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; color: #CCFFCC; background-color: #003300}
.BorderHeader {  background-color: #999900; font-size: 8pt; font-weight: bold; color: #333300; text-align: center}
.MainContent { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; color: #CCFFCC }
.BorderContent {  font-size: 8pt; color: #66CC33; border-color: black #666600 #666600; padding-top: 2px; padding-right: 2px; padding-bottom: 10px; padding-left: 2px; margin-bottom: 2px; border-style: solid; border-top-width: 0px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px}
a:link {  color: #FFFF00; text-decoration: underline}
a:hover {  color: #FFFFFF; text-decoration: underline}
a:visited {  color: #FFCC66; text-decoration: underline}
li {  color: #66CC33; list-style-type: circle; position: relative; left: -15px; clip:    rect(   )}
.NewsDate {  color: #CCFFCC; font-weight: bold}
td {  font-size: 10pt}
th {  font-size: 10pt}
.Annotation {  font-size: 10px}

H1 { text-align: center; }
A.qindex {}
A.qindexRef {}
A.el { text-decoration: none; font-weight: bold }
A.elRef { font-weight: bold }
A.code { text-decoration: none; font-weight: normal; color: #4444ee }
A.codeRef { font-weight: normal; color: #4444ee }
DL.el { margin-left: -1cm }
DIV.fragment { width: 100%; border: none; background-color: #003300 }
DIV.ah { background-color: black; margin-bottom: 3; margin-top: 3 }
TD.md { background-color: #006600 }
DIV.groupHeader { margin-left: 16; margin-top: 12; margin-bottom: 6; font-weight: bold }
DIV.groupText { margin-left: 16; font-style: italic; font-size: smaller }
FONT.keyword       { color: #008000 }
FONT.keywordtype   { color: #999920 }
FONT.keywordflow   { color: #e0FF00 }
FONT.comment       { color: #009900 }
FONT.preprocessor  { color: #809020 }
FONT.stringliteral { color: #002080 }
FONT.charliteral   { color: #008080 }

H3 {
    FONT-FAMILY: trebuchet ms,helvetica,arial
}

.ex {
    FONT-SIZE: 8pt; FONT-FAMILY: tahoma
}
CODE.keywordtype {
    COLOR: #00ccff
}
CODE.keyword {
    FONT-WEIGHT: bold; COLOR: #00ccff
}
CODE.fn {
    COLOR: white;
    FONT-WEIGHT: bold;
}
CODE.var {
    COLOR: #dcdcdc;
}
CODE.macro {
    COLOR: #809020;
    FONT-WEIGHT: bold;
}
CODE.comm {
    COLOR: lime
}
CODE.num {
    COLOR: purple
}
CODE.str {
    COLOR: #ffcc33;
    font-style: italic
}
.SectionHeader {  font-size: 14px; color: #FFFFCC; font-weight: bold}
.header {  font-size: 16px; font-weight: bold; color: #FFFFCC}
-->
</STYLE> 
	
		<title> Setting up an OGRE Application </title>
	</head>
<body bgcolor="#FFFFFF" text="#000000">
<p align="center" class="header">OGRE (Object-Oriented Graphics Rendering Engine)</p><p align="center" class="header"> 
Setting up an OGRE Application</p><p align="left" class="MainHeader">&nbsp;</p>This 
is a quick reference for setting up an application which uses OGRE. First off, 
lets talk about directories. <p align="left" class="MainHeader">Directory Structure</p><p> 
Building and running an application based on OGRE involves ensuring that both 
the compiler and the runtime files can find all the dependent files they need. 
<BR> During the build, we need to find: <UL> <LI>header files (*.h)</LI><LI>library 
files (*.lib / *.a)</LI></UL>At runtime, we need to find: <UL> <LI>OGRE core dlls 
(OgreMain, OgrePlatform)</LI><LI>The plugins.cfg file</LI><LI>Any plugin dlls 
mentioned in plugins.cfg</LI><LI>Resources (*.zip, *.png, *.particle, *.mesh etc 
etc)</LI></UL>The simplest way of ensuring that all the directory dependencies 
are satisfied is to build your application in the same place as the existing OGRE 
samples, (i.e. each in it's own subdirectory of 'Samples'), using the same settings. 
<P></p><p> For the more adventurous, you can build and run OGRE applications in 
any directory you like, you just have to make sure that the directories are set 
up properly. As I describe all the project settings you need, I will describe 
the 'easy' way and the 'advanced' way. Please try the easy way first if you are 
unsure. </p><P CLASS="MainHeader">The steps to follow</P><OL> <LI> <A href="createfolder.html">Create 
an application folder</A> </LI><LI> <A href="copysources.html">Copy template source 
files</A> </LI><LI> <A href="createproject.html">Create a project file</A> </LI><LI> 
<A href="compilersettings.html">Build settings</A> </LI></OL><P>&nbsp;</P>
</body>
</html>