[News] Ogre3D now supports Windows Phone 8!

News, announcements and important global threads from the Ogre3D Team.
User avatar
OgreNewsBot
Your source of official Ogre news
Posts: 33
Joined: Mon Mar 21, 2011 10:56 am
x 3

[News] Ogre3D now supports Windows Phone 8!

Post by OgreNewsBot »

Some weeks ago, Microsoft and Nokia contacted us and offered to provide a patch to officially support Ogre3D on Windows Phone 8 (WP8). Now it is official!

Read the full story here:

http://www.ogre3d.org/2012/10/30/ogre-n ... ws-phone-8


We were also featured in the WP8 launch key note slides that were just presented at the BUILD 2012 developer conference:
Ogre3D Logo in WP8 KeyNote.png
Ogre3D Logo in WP8 KeyNote.png (149.37 KiB) Viewed 16819 times
A Visual Studio solution you can just download and compile
User avatar
Zonder
Ogre Magi
Posts: 1168
Joined: Mon Aug 04, 2008 7:51 pm
Location: Manchester - England
x 73

Re: [News] Ogre3D now supports Windows Phone 8!

Post by Zonder »

This doesn't surprise me to be honest.

And if I were people look into getting your apps store ready as I bet there will be free stuff up for grabs from Nokia and ms the current wp7 store gave xboxes and kinects for app submissions and in fact Nokia gave out 20,000 dev phones to the Symbian community with deployed apps ages ago. :)
There are 10 types of people in the world: Those who understand binary, and those who don't...
User avatar
Nauk
Gnoll
Posts: 653
Joined: Thu May 11, 2006 9:12 pm
Location: Bavaria
x 36
Contact:

Re: [News] Ogre3D now supports Windows Phone 8!

Post by Nauk »

Nice! ...and smart move of them, makes Windows Phone devices definately attractive :)
Oenone575
Gnoblar
Posts: 1
Joined: Tue Oct 30, 2012 11:45 pm

Re: [News] Ogre3D now supports Windows Phone 8!

Post by Oenone575 »

Will there be a C# wrapper or other managed C# interface for the WP8 version of Ogre3D?

The loss of XNA with no inbuilt C# alternative is a real shame in my opinion. Hopefully we'll have MonoGame available for WP8 soon, but it would be great to have other alternatives too and Ogre3D is one that would be superb to have.
qwertzui11
Halfling
Posts: 80
Joined: Wed May 14, 2008 10:44 am
Location: EU
x 22
Contact:

Re: [News] Ogre3D now supports Windows Phone 8!

Post by qwertzui11 »

+1
User avatar
Zonder
Ogre Magi
Posts: 1168
Joined: Mon Aug 04, 2008 7:51 pm
Location: Manchester - England
x 73

Re: [News] Ogre3D now supports Windows Phone 8!

Post by Zonder »

Oenone575 wrote:Will there be a C# wrapper or other managed C# interface for the WP8 version of Ogre3D?

The loss of XNA with no inbuilt C# alternative is a real shame in my opinion. Hopefully we'll have MonoGame available for WP8 soon, but it would be great to have other alternatives too and Ogre3D is one that would be superb to have.
help the mogre people then you get your managed enviroment. but that depends if windows phone has clr
There are 10 types of people in the world: Those who understand binary, and those who don't...
guy007
Gnoblar
Posts: 1
Joined: Thu Nov 01, 2012 2:34 pm

Re: [News] Ogre3D now supports Windows Phone 8!

Post by guy007 »

Hi, you mentioned in your announcement .. "We were also able to run Windows 8 with the Windows Phone 8 SDK using the free VMware player with some settings tweaking to allow the phone emulation to run on the virtual machine. So this is an interesting option for non-Windows users who want to install the SDK without changing their host OS."

Would you be able to share how you managed that ? .. e.g. what were the settings tweaked .. your feedback is much appreciated.
User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel
x 76

Re: [News] Ogre3D now supports Windows Phone 8!

Post by Assaf Raman »

guy007 wrote:Hi, you mentioned in your announcement .. "We were also able to run Windows 8 with the Windows Phone 8 SDK using the free VMware player with some settings tweaking to allow the phone emulation to run on the virtual machine. So this is an interesting option for non-Windows users who want to install the SDK without changing their host OS."

Would you be able to share how you managed that ? .. e.g. what were the settings tweaked .. your feedback is much appreciated.
Updated the info last night, see the bottom of the file: https://bitbucket.org/sinbad/ogre/src/f ... sPhone.txt
Watch out for my OGRE related tweets here.
User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel
x 76

Re: [News] Ogre3D now supports Windows Phone 8!

Post by Assaf Raman »

I will be happy if anyone can follow my "how to" and give me some feedback.
Watch out for my OGRE related tweets here.
User avatar
lderan
Gnoblar
Posts: 9
Joined: Mon Nov 05, 2012 2:06 am
Location: Staffs, UK

Re: [News] Ogre3D now supports Windows Phone 8!

Post by lderan »

Assaf Raman wrote:I will be happy if anyone can follow my "how to" and give me some feedback.
It was really quite good tho I have run into some issues when I try to run it

I copied the browser sample project to the samples dir in the generated project from cmake, I am currently getting this error

1>c:\users\thomas\desktop\o2\samples\browser\include\filesystemlayerimpl.h(31): fatal error C1083: Cannot open include file: 'FileSystemLayer.h': No such file or directory (..\src\FileSystemLayerImpl_WIN32.cpp)
1>c:\users\thomas\desktop\o2\samples\browser\include\samplebrowser.h(31): fatal error C1083: Cannot open include file: 'SampleContext.h': No such file or directory (SampleBrowserWinRT.cpp)
========== Build: 0 succeeded, 1 failed, 55 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========

I am quite new to ogre 3d so there is probably something I messed up with the cmake / hg pull, really am looking forward to making some games in wp8 but having come from xna I thought ogre would be the best route forward. Keep being awesome guys :D
User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel
x 76

Re: [News] Ogre3D now supports Windows Phone 8!

Post by Assaf Raman »

debug or release?
arm or win32?
Watch out for my OGRE related tweets here.
User avatar
lderan
Gnoblar
Posts: 9
Joined: Mon Nov 05, 2012 2:06 am
Location: Staffs, UK

Re: [News] Ogre3D now supports Windows Phone 8!

Post by lderan »

Debug on win32 on visual studio 2012 pro
User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel
x 76

Re: [News] Ogre3D now supports Windows Phone 8!

Post by Assaf Raman »

are you sure you used OGRE_STATIC?
Watch out for my OGRE related tweets here.
User avatar
lderan
Gnoblar
Posts: 9
Joined: Mon Nov 05, 2012 2:06 am
Location: Staffs, UK

Re: [News] Ogre3D now supports Windows Phone 8!

Post by lderan »

Will check this evening, 75% sure though
User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel
x 76

Re: [News] Ogre3D now supports Windows Phone 8!

Post by Assaf Raman »

seems like an easy issue, I will try to recreate on a new VM
Watch out for my OGRE related tweets here.
User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel
x 76

Re: [News] Ogre3D now supports Windows Phone 8!

Post by Assaf Raman »

ok, try this, right click SampleBrowserWP8 -> Properties -> C++ -> General -> Additional Include Directories
Add the path of
[your build directory]\include ex: c:\ogre\build6\include
[your dependencies dir]\include ex: C:\ogre\dep\include
[your dependencies dir]\include\ois

See if it solves the issue
Watch out for my OGRE related tweets here.
User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel
x 76

Re: [News] Ogre3D now supports Windows Phone 8!

Post by Assaf Raman »

BTW: For anyone that has cmake issues - seems that CMake 2.8.10 has issues with vs express, try using version 2.8.9 of cmake that worked for me
Watch out for my OGRE related tweets here.
User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel
x 76

Re: [News] Ogre3D now supports Windows Phone 8!

Post by Assaf Raman »

If you get

Code: Select all

... error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in ...
try this: select all project, right click any project from the selected ones -> Properties -> C++ -> Code generation -> Multi threaded Debug DLL (or release based on the config)

(I didn't use the official release WP8 SDK but the per-release - so this may be a new issue in the final release)
Watch out for my OGRE related tweets here.
User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel
x 76

Re: [News] Ogre3D now supports Windows Phone 8!

Post by Assaf Raman »

Was able to get everything to run on a new computer, updated my dependencies and the "how to compile" txt
Watch out for my OGRE related tweets here.
User avatar
lderan
Gnoblar
Posts: 9
Joined: Mon Nov 05, 2012 2:06 am
Location: Staffs, UK

Re: [News] Ogre3D now supports Windows Phone 8!

Post by lderan »

Well the errors I was getting has now gone away (woo!)
but I have new errors

Code: Select all

1112.
68>LINK : fatal error LNK1104: cannot open file 'H:\assaframan-ogre-dependencies-for-windows-phone-f16159239e75\src\ois-1.2.0\dll\OIS_d.lib'

1113.
========== Rebuild All: 66 succeeded, 2 failed, 0 skipped ==========
I have checked the directory, OIS.lib exists but not OIS_d.lib.

The output for the build is this

Code: Select all

1>------ Build started: Project: OIS, Configuration: Debug Win32 ------
1>  The system cannot find the path specified.
1>  H:\assaframan-ogre-dependencies-for-windows-phone-f16159239e75\src\ois-1.2.0\Win32\..\includes\OIS.h
1>  The system cannot find the path specified.
1>          0 file(s) copied.
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5): error MSB3073: The command "mkdir "H:\ogre\..\include\OIS"
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5): error MSB3073: copy "H:\assaframan-ogre-dependencies-for-windows-phone-f16159239e75\src\ois-1.2.0\Win32\..\includes\*.*" "H:\ogre\..\include\OIS" /y
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5): error MSB3073: 
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5): error MSB3073: :VCEnd" exited with code 1.
2>------ Build started: Project: SampleBrowserWP8, Configuration: Debug Win32 ------
2>LINK : fatal error LNK1104: cannot open file 'H:\assaframan-ogre-dependencies-for-windows-phone-f16159239e75\src\ois-1.2.0\dll\OIS_d.lib'
========== Build: 0 succeeded, 2 failed, 66 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========
http://pastebin.com/S5B2GLr1 - for the for full rebuild console output


-- edit

I tried removing the _d on the target name for OIS and it built a XAP! - woo! but it still errors

Code: Select all

1>------ Build started: Project: OIS, Configuration: Debug Win32 ------
1>  The system cannot find the path specified.
1>  H:\assaframan-ogre-dependencies-for-windows-phone-f16159239e75\src\ois-1.2.0\Win32\..\includes\OIS.h
1>  The system cannot find the path specified.
1>          0 file(s) copied.
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5): error MSB3073: The command "mkdir "H:\ogre\..\include\OIS"
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5): error MSB3073: copy "H:\assaframan-ogre-dependencies-for-windows-phone-f16159239e75\src\ois-1.2.0\Win32\..\includes\*.*" "H:\ogre\..\include\OIS" /y
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5): error MSB3073: 
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5): error MSB3073: :VCEnd" exited with code 1.
========== Build: 0 succeeded, 1 failed, 67 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========
User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel
x 76

Re: [News] Ogre3D now supports Windows Phone 8!

Post by Assaf Raman »

Remove the OIS project.
Watch out for my OGRE related tweets here.
User avatar
lderan
Gnoblar
Posts: 9
Joined: Mon Nov 05, 2012 2:06 am
Location: Staffs, UK

Re: [News] Ogre3D now supports Windows Phone 8!

Post by lderan »

It compiles and begins running on the emulator, but sadly more errors ;_;

Code: Select all

Finished parsing scripts for resource group Essential
Creating resources for group Essential
All done
Texture: sdk_bands.png: Loading 1 faces(PF_A8R8G8B8,2x32x1) with 5 generated mipmaps from Image. Internal format is PF_A8B8G8R8,2x32x1.
First-chance exception at 0x778E277C in SampleBrowserWP8.exe: Microsoft C++ exception: Ogre::UnimplementedException at memory location 0x0099DF04.
High-level program 05cbedc9-dca4-188b-e2a6-acad73e39f3f_VS encountered an error during loading and is thus not supported.
OGRE EXCEPTION(9:UnimplementedException): Cannot assemble/reflect D3D11 shader: 05cbedc9-dca4-188b-e2a6-acad73e39f3f_VS in shipping code
 in D3D11HLSLProgram::compileMicrocode at H:\sinbad-ogre-dc4874552a2b\RenderSystems\Direct3D11\src/OgreD3D11HLSLProgram.cpp (line 363)
First-chance exception at 0x778E277C in SampleBrowserWP8.exe: Microsoft C++ exception: Ogre::InvalidParametersException at memory location 0x0099EB58.
Unhandled exception at 0x713F4F23 (Msvcr110d.dll) in SampleBrowserWP8.exe: An invalid parameter was passed to a function that considers invalid parameters fatal.
The program '[2936] SampleBrowserWP8.exe' has exited with code 0 (0x0).
it stops at line 131 on invarg.c (Microsoft Visual Studio 11.0\VC\crt\src)

full output here - http://pastebin.com/f8aMnfKi

Apologies I am bit useless at debugging this sort of thing.
User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel
x 76

Re: [News] Ogre3D now supports Windows Phone 8!

Post by Assaf Raman »

This mean you didn't create and add the shader cache (Cache.bin)
Watch out for my OGRE related tweets here.
jarno
Gnoblar
Posts: 8
Joined: Wed Nov 07, 2012 11:18 am

Re: [News] Ogre3D now supports Windows Phone 8!

Post by jarno »

Hey, could someone save us some trouble and pass on the build results? And how long till the RC1?
User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel
x 76

Re: [News] Ogre3D now supports Windows Phone 8!

Post by Assaf Raman »

jarno wrote:Hey, could someone save us some trouble and pass on the build results?
I will create something for you.
jarno wrote: And how long till the RC1?
We are working on some new crashes (unrelated to WP8), and some issues with some of the samples (when running in WP8), when the issues will be resolved - we will release, I hope soon, will love some help - as my time will be limited this next few weeks.
Watch out for my OGRE related tweets here.
Post Reply