[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

[News] Ogre3D now supports Windows Phone 8!

Post by OgreNewsBot » Tue Oct 30, 2012 7:10 pm

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 11425 times
A Visual Studio solution you can just download and compile
0 x

User avatar
Zonder
Gargoyle
Posts: 1088
Joined: Mon Aug 04, 2008 7:51 pm
Location: Manchester - England
x 5

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

Post by Zonder » Tue Oct 30, 2012 7:27 pm

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. :)
0 x
There are 10 types of people in the world: Those who understand binary, and those who don't...
My Blog - http://www.This post is suspected as SPAM! If you feel otherwise contact a moderator.


Oenone575
Gnoblar
Posts: 1
Joined: Tue Oct 30, 2012 11:45 pm

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

Post by Oenone575 » Wed Oct 31, 2012 12:49 am

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.
0 x

qwertzui11
Halfling
Posts: 77
Joined: Wed May 14, 2008 10:44 am
Location: EU
Contact:

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

Post by qwertzui11 » Wed Oct 31, 2012 6:12 am

+1
0 x

User avatar
Zonder
Gargoyle
Posts: 1088
Joined: Mon Aug 04, 2008 7:51 pm
Location: Manchester - England
x 5

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

Post by Zonder » Thu Nov 01, 2012 2:36 am

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
0 x
There are 10 types of people in the world: Those who understand binary, and those who don't...
My Blog - http://www.This post is suspected as SPAM! If you feel otherwise contact a moderator.

guy007
Gnoblar
Posts: 1
Joined: Thu Nov 01, 2012 2:34 pm

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

Post by guy007 » Thu Nov 01, 2012 2:47 pm

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.
0 x

User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel

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

Post by Assaf Raman » Sun Nov 04, 2012 1:52 pm

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
0 x
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

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

Post by Assaf Raman » Sun Nov 04, 2012 1:55 pm

I will be happy if anyone can follow my "how to" and give me some feedback.
0 x
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 » Mon Nov 05, 2012 2:11 am

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
0 x

User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel

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

Post by Assaf Raman » Mon Nov 05, 2012 5:50 am

debug or release?
arm or win32?
0 x
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 » Mon Nov 05, 2012 8:00 am

Debug on win32 on visual studio 2012 pro
0 x

User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel

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

Post by Assaf Raman » Mon Nov 05, 2012 8:24 am

are you sure you used OGRE_STATIC?
0 x
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 » Mon Nov 05, 2012 9:57 am

Will check this evening, 75% sure though
0 x

User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel

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

Post by Assaf Raman » Mon Nov 05, 2012 10:07 am

seems like an easy issue, I will try to recreate on a new VM
0 x
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

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

Post by Assaf Raman » Mon Nov 05, 2012 4:44 pm

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
0 x
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

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

Post by Assaf Raman » Mon Nov 05, 2012 4:45 pm

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
0 x
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

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

Post by Assaf Raman » Mon Nov 05, 2012 4:58 pm

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)
0 x
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

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

Post by Assaf Raman » Mon Nov 05, 2012 6:43 pm

Was able to get everything to run on a new computer, updated my dependencies and the "how to compile" txt
0 x
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 » Mon Nov 05, 2012 10:56 pm

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 ==========
0 x

User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel

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

Post by Assaf Raman » Tue Nov 06, 2012 6:15 am

Remove the OIS project.
0 x
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 » Tue Nov 06, 2012 9:35 pm

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.
0 x

User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel

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

Post by Assaf Raman » Wed Nov 07, 2012 6:37 am

This mean you didn't create and add the shader cache (Cache.bin)
0 x
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 » Wed Nov 07, 2012 11:20 am

Hey, could someone save us some trouble and pass on the build results? And how long till the RC1?
0 x

User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel

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

Post by Assaf Raman » Wed Nov 07, 2012 12:05 pm

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.
0 x
Watch out for my OGRE related tweets here.

Post Reply