RAGDOLLS N EXPLOSIONS Mac OS

Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.

  1. Ragdolls N Explosions Mac Os X
  2. Ragdolls N Explosions Mac Os Catalina
IMPORTANT: These instructions are meant to be used with old releases of Ogre.For Ogre 1.10+, rather use BuildingOgre.md.
  • 主题桌垫设计 大小:900mm x 400mm x 4mm 锁边 布面,橡胶底 爆裂魔法. RAMA x Explosion 金属个性键帽. 阳极氧化铝合金 珐琅填色 兼容 MX 轴体 红色 / 金色. 团购时间: 2020 年 6 月 1 日 - 2020 年 7 月 1 日 预计 2021 年 1 月发货.
  • Create your own worlds, build interesting mechanisms and just beautiful buildings, everything depends on your imagination.

This is an attempt to provide an up to date guide on how to build Ogre from scratch on a recent Mac platform. We will be using Xcode 4.6, and Mac OS X 10.7.5. Tested on a Mac mini 2011, if that matters.
The motivation for this guide was the result of general frustration of the difficulty of building Ogre the Mac platform. My background is from using Visual Studio 2008, so I wanted a step-by-step guide
on how to build Ogre.

For simplicity, directories will be created in the home directory, although that may not be generally desirable.

Because of my requirements (32 bit only third party library), we will build a static version for i386 only, although it should be easy to identify and tweak those options for your own use.

Building Boost for Ogre

Although not strictly necessary, Boost is nice for cross platform stuff, and I feel it makes me more productive. However, you sacrifice compile times and binary sizes.
Hopefully the negatives will eventually disappear in the future as compilers get better.


After following these steps, you have lots of *.a files in ~/boost/stage/lib . Since layout=version is specified, they have the suffix -xgcc42-mt-1_53

CMake

Pretty simple. Go to their website, download CMake, and install. Also install the command-line tools at the end.
In the terminal, do 'cmake --version' to check that the version is at least 2.8.10.2

Install NVIDIA Cg

Also pretty simple. Just use the install inside the DMG.
NVIDIA Cg Download

Building OGRE Dependencies

Since we are building our own version of Boost, we might as well build the Ogre dependencies also.

Building OGRE


After performing these steps, you should have a ~/ogre/build/sdk/ directory, which contains the files that you will need to use Ogre in your application.

Getting the XCode 4 template Up and Running

Download the latest Xcode template by going to http://sourceforge.net/projects/ogre/files/ogre-dependencies-mac/1.8/ and downloading Ogre_Xcode4_Templates_20120621.pkg.zip
Close Xcode and install this pkg file.

Now when you create a new project, under the OS X section there should be an Ogre category with 'Mac OS X Application' that has the Ogre head logo. Choose that and create a new project.
The first thing you should notice when you enter project is the missing frameworks. Remove those.
open /System/Library/Frameworks/ and drag AGL.framework, GL.framework, and QuartzCore.framework into the Frameworks folder in Xcode.
open /Library/Frameworks/ and drag Cg.framework into Framworks like above.

Now tweak the following Build Settings:

RAGDOLLS

Architectures
32-bit Intel

Valid Architectures
i386

Other Linker Flags
-lOIS -lOgreMainStatic -lfreetype -lFreeImage -lboost_thread-xgcc42-mt-1_53 -lboost_system-xgcc42-mt-1_53 -lzziplib -lzlib -lPlugin_CgProgramManagerStatic -lRenderSystem_GLStatic

Important that /Library/Frameworks is added below, otherwise compiler won't be able to find Cg/cg.h
Framework Search Paths
$(inherited) '$(SYSTEM_APPS_DIR)/Xcode.app/Contents/Developer/Library/Frameworks' /Library/Frameworks

Header Search Paths
~/ogre/build/sdk/include/OGRE ~/ogre/build/sdk/include/OGRE/OSX ~/ogre/build/sdk/include/OGRE/Plugins/CgProgramManager ~/ogre/build/sdk/include/OGRE/RenderSystems/GL ~/ogre/build/sdk/include/OIS ~/boost

Library Search Paths
~/boost/stage/lib ~/ogre/build/sdk/lib

Below 2 settings are important, otherwise you get mysterious bad codegen, pointer diff errors
Inline Methods Hidden
No

Symbols Hidden by Default
No

Minor edits to files

Add this to the beginning of the Precompiled Header

If you don't do this, you get errors saying how glew.h needs to be included before gl.h and glext.h

Comment out 'delete m_pRoot' in OgreFramework::~OgreFramework()
Right now it crashes inside OgreRoot::shutdown(), and I have no idea why. If I have time I will probably investigate later by making Debug builds of Ogre.

Ragdolls N Explosions Mac Os X

Success (Hopefully)

Ragdolls N Explosions Mac Os Catalina

Press 'Run' and hopefully everything goes well except for the 'PBXCp Error' that you can ignore and you should have the Config Screen.
Press 'OK' and you should see the famous Ogre head
Press Escape to close the application.