Autor Tópico: Compile Ogre3d [Resolvido]  (Lida 1999 vezes)

Offline Alyscom

  • Usuário Ubuntu
  • *
  • Mensagens: 774
  • Apenas me dê o feijão!
    • Ver perfil
Compile Ogre3d [Resolvido]
« Online: 02 de Maio de 2010, 19:33 »
Olá pessoal, estou tentando instalar o Ogre3d aqui, porém não sei o que faço para poder compilar ele aqui no Ubuntu! :-\
Na pasta estão esses arquivos aqui
Citar
AUTHORS
BuildingOgre.txt  
CMakeLists.txt  
COPYING  
OgreMain  
PlugIns  
RenderSystems  
Scripts  
Tests
BUGS    
CMake
Components
Docs
Other
README
Samples
SDK
Tools

E o README contem isso escrito lá
Citar
Please read ReadMe.html in the Docs folder.

-----

OGRE (www.ogre3d.org) is made available under the MIT License.

Copyright (c) 2000-2009 Torus Knot Software Ltd

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

E o ReadMe.html contem isso
Código: [Selecionar]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
  <meta http-equiv="CONTENT-TYPE" content="text/html; charset=windows-1252">
  <title>OGRE Readme</title>
  <link rel="stylesheet" type="text/css" href="style.css">
</head>
<body bgcolor="#003300" dir="ltr" lang="en-US" link="#ffff00" text="#ccffcc">
<p class="header" align="center"><img alt="" src="ogre-logo-wetfloor.gif"
width="235" height="78"></p>
<p class="header" align="center">OGRE (Object-Oriented Graphics
Rendering Engine)</p>
<p class="header" align="center">Source Distribution README file</p>
<p class="header" align="center"><a href="http://www.ogre3d.org/">http://www.ogre3d.org</a></p>
<p class="mainheader" align="left">Summary</p>
<p>OGRE (Object-Oriented Graphics Rendering Engine) is a
scene-oriented, flexible 3D engine written in C++ designed to make it
easier and more intuitive for developers to produce games and demos
utilising 3D hardware. The class library abstracts all the details of
using the underlying system libraries like Direct3D and OpenGL and
provides an interface based on world objects and other intuitive
classes.
</p>
<p class="mainheader" align="left">Index Of Contents</p>
<p class="newsdate"><a href="ChangeLog.html">What's New?</a></p>
<p>A summary of the new and altered features in this release.
</p>
<p class="newsdate"><a href="http://www.ogre3d.org/about/features">Features</a></p>
<p class="maincontent">A summary of OGRE's main features.</p>
<p class="newsdate"><a href="http://www.ogre3d.org/wiki/index.php/Building_From_Source">Building
the core OGRE libraries</a></p>
<p class="maincontent">If you're using the full source release, this will help you build it. If you're using a precompiled SDK then most of the work has already
been done for you, and you should use the sample projects to see how to compile your own code against OGRE. </p>
<p class="newsdate"><a href="manual/index.html">The OGRE Manual</a></p>
<p>A high-level guide to the major parts of the engine and script reference.
</p>
<p class="newsdate"><a href="api/html/index.html">API Reference</a></p>
<p class="maincontent">The full OGRE API documentation, as generated
from the (heavily!) commented source.</p>
<a style="font-weight: bold;" href="http://www.ogre3d.org/wiki">The OGRE
Wiki</a>
<p>A gold mine of tutorials, tips and code snippets which will help
you get up to speed with the engine.</p>

</p>
<p class="mainheader" align="left">Contributing</p>
<p align="left">We welcome all contributions to OGRE, be that new
plugins, bugfixes, extensions, tutorials, documentation, example
applications, artwork or pretty much anything else! If you would like
to contribute to the development of OGRE, please go to
the <a href="http://www.ogre3d.org/">web site </a>and click on the
'Developers' link.</p>
<p class="mainheader" align="left">Keeping Up To Date</p>

<p align="left">The best place to keep up to date with developments on
OGRE is the <a href="http://www.ogre3d.org/">Official Web Site</a>.
From there you can download the latest source code and documentation.
You can choose between keeping bang up to date with Subversion
or by just getting the regularly released snapshots.</p>

<p align="left">The changes included in this current version can be
viewed on the <a href="ChangeLog.html">ChangeLog</a>.
</p>
<p class="mainheader" align="left">Getting Support</p>
<p align="left">Please use our <a href="http://www.ogre3d.org/forums">community support forums</a> if you need help or
think you may have found a bug. </p>

<p class="mainheader" align="left">Licensing</p>
<p>Please see the <a href="License.html">full license documentation</a> for details.


</body>
</html>
Copie e salve em um documento com o formato .html


Não entendi nada do que esta escrito ai, por isso aguardo a ajuda de vocês para poder instalar esse aplicativo! :)

ps.: Eu procurei bastante, porém só encontrei como instalar no sistema da janelas! :P


[]'s


Alyscom
« Última modificação: 04 de Maio de 2010, 11:16 por Alyscom »
O álcool é o photoshop da vida real
 

Offline irtigor

  • Equipe Ubuntu
  • Usuário Ubuntu
  • *****
  • Mensagens: 4.344
  • Delete, delete, delete!
    • Ver perfil
Re: Compile Ogre3d
« Resposta #1 Online: 02 de Maio de 2010, 20:34 »
Você já leu as opções mostradas no wiki do ogre3d?*

http://www.ogre3d.org/wiki/index.php/FromSourceUbuntu

Como eles mesmo falam, você pode tentar usar os pacotes disponíveis para o Debian sid

http://www.ogre3d.org/wiki/index.php/Installing_the_Ogre_SDK_for_Debian


*Tá meio desatualizado mais a ideia é a mesma, talvez, mude alguma dependência.

Offline Alyscom

  • Usuário Ubuntu
  • *
  • Mensagens: 774
  • Apenas me dê o feijão!
    • Ver perfil
Re: Compile Ogre3d
« Resposta #2 Online: 03 de Maio de 2010, 11:28 »
Olá @irtigor!! :D
Eu posso instalar através do synaptic, porém é a versão antiga! :-\
A que eu estou tentando instalar é a 1.7.1, vou tentar usar a dica que você me deu! ;)

Extract with:
Código: [Selecionar]
tar -xvjf ogre_src_v1-7-1.tar.bz2
Enter the extracted source directory (ogrenew) with:
Código: [Selecionar]
cd ogrenew
Run aclocal with:
Código: [Selecionar]
aclocal
Run the bootstrapping program to create the initial files required for compiling.
Código: [Selecionar]
./bootstrap
Configure the package for your distribution and exact configuration.
Código: [Selecionar]
./configure
Make the source files
Código: [Selecionar]
make
Install the made files into their respective locations (which will also create a .deb package for future use should you need to reinstall).
Código: [Selecionar]
checkinstall
After the install, there is one more thing you need to do: Tell Ubuntu where to find the libraries.
Do this with by adding the following line to the bottom of /etc/ld.so.conf:
Código: [Selecionar]
include /usr/local/lib
:[Edit]: Não funcionou!! :(
No primeiro comando "aclocal" apareceu essa mensagem >> aclocal: `configure.ac' or `configure.in' is required
« Última modificação: 03 de Maio de 2010, 11:35 por Alyscom »
O álcool é o photoshop da vida real
 

Offline irtigor

  • Equipe Ubuntu
  • Usuário Ubuntu
  • *****
  • Mensagens: 4.344
  • Delete, delete, delete!
    • Ver perfil
Re: Compile Ogre3d
« Resposta #3 Online: 03 de Maio de 2010, 19:54 »
Já pensou em usar o PPA deles? https://launchpad.net/~ogre-team/+archive/ogre

Offline Alyscom

  • Usuário Ubuntu
  • *
  • Mensagens: 774
  • Apenas me dê o feijão!
    • Ver perfil
Re: Compile Ogre3d
« Resposta #4 Online: 04 de Maio de 2010, 11:15 »
Báh.. Valeu mesmo irtigor, não tinha pensado nisso! :D :D


[]'s


Alyscom
O álcool é o photoshop da vida real