ogre and addons with msvc2015 cross-compile tool?

Discussion of issues specific to mobile platforms such as iOS, Android, Symbian and Meego.
Post Reply
frostbyte
Orc Shaman
Posts: 737
Joined: Fri May 31, 2013 2:28 am
x 65

ogre and addons with msvc2015 cross-compile tool?

Post by frostbyte »

hi did any one had luck with msvc2015 cross compile tool for ios,android?
https://msdn.microsoft.com/en-us/librar ... 40%29.aspx
i was thinking of just opening my many msvc2010 projects in msvc2015 press some buttons and let the magic happen...
i'm wondering if i'm too optemistic and if it's a better idea just to write cmake scripts and an orgenized build system( oh... the lazyness... )
any comment on this is appreciated....
the woods are lovely dark and deep
but i have promises to keep
and miles to code before i sleep
and miles to code before i sleep..

coolest videos link( two minutes paper )...
https://www.youtube.com/user/keeroyz/videos
brainsandwich
Gnoblar
Posts: 11
Joined: Fri Mar 13, 2015 11:18 am
x 2

Re: ogre and addons with msvc2015 cross-compile tool?

Post by brainsandwich »

Never tried cross-compile tools of MSVC.
I think it's not sufficient to just target ARM (or other Android device) processors, the process has to create a signed APK with Java manifests ...
But maybe MSVC 2015 does that automagically :)
I'd love to hear more about your investigations on this !
frostbyte
Orc Shaman
Posts: 737
Joined: Fri May 31, 2013 2:28 am
x 65

Re: ogre and addons with msvc2015 cross-compile tool?

Post by frostbyte »

currently this thread is my invetigation :wink:

don't have enough space for msvc2015 on my drive...dont think i can install on external drive...
hard to believe anyone here tried it since its sort of new...but who knows...no harm in asking...

my spider sense tells me that good old proper cmake is a better choise, but i'm a noob on cmake...

regarding msvc cross compile-
i think they are sending jobs to native-compilers for each platform( ndk, xcode clang etc...) they even require to install java/connect to a mac with xcode...
so signing apps should'nt be a problem, and anyway i just need to compile some libs( so many small sub-projects and addons... )

i'm realy curious did MS did something right here? this could be a game changer...
hmmm...i'll have to try it sometime...damm multi-partititioned-small hard-drives....
anyhow thanks for your comment :)
the woods are lovely dark and deep
but i have promises to keep
and miles to code before i sleep
and miles to code before i sleep..

coolest videos link( two minutes paper )...
https://www.youtube.com/user/keeroyz/videos
brainsandwich
Gnoblar
Posts: 11
Joined: Fri Mar 13, 2015 11:18 am
x 2

Re: ogre and addons with msvc2015 cross-compile tool?

Post by brainsandwich »

Nice, keep this up :)

Yeah MS radically changed their policy regarding "opensourcing" and platform support (like win10 on raspberry https://dev.windows.com/en-US/iot).
They even have a version of MSVC for Linux and Mac now : https://www.visualstudio.com/products/code-vs (!!!) (it's not for C/C++ compilation though, but still an awesome move)
If the platform support gets better and better they really could be a change the face of programming -- of Apple's "it's our property !" motto.
frostbyte
Orc Shaman
Posts: 737
Joined: Fri May 31, 2013 2:28 am
x 65

Re: ogre and addons with msvc2015 cross-compile tool?

Post by frostbyte »

reporting back:
after downloading and installing the msvc2015 beast to a weak lappy just for testing( takes a few hours and ~15GB )
and after playing a bit with samples( 5 minutes )
i'm glad to say, i feel that the future is here...good times ahead for cross-platform c++ libs and devs... :P

While not yet functional to ogre and other cmake based projects ( http://public.kitware.com/Bug/view.php?id=15579 )
and while it's still in a very early stage and a few target templates are missing( linux,emscripten,osx? )
msvc2015 looks very promising...

Once target projects are set up with shared references to the code your'e just one click from a Build'em All scenario.
Coupled with nuGet packages, emphasis on team-dev and a fast snappy IDE with good looking gui...it's a sure winner...

Alas, no automagic "convert my msvc2010 to cross platform" button, i'm gonna have to write them boring cmake scripts anyway...
i can create multiple projects with cross references, but that would take me about the same time and would result in a total mess...
but never mind my small pathetic problems , msvc2015 is the real deal 8)
the woods are lovely dark and deep
but i have promises to keep
and miles to code before i sleep
and miles to code before i sleep..

coolest videos link( two minutes paper )...
https://www.youtube.com/user/keeroyz/videos
Post Reply