Ogre 1.10 branch now 2.0?
-
- Silver Sponsor
- Posts: 605
- Joined: Fri Dec 14, 2007 11:44 am
- Location: Northern Ireland
- x 16
Ogre 1.10 branch now 2.0?
Hi Folks,
I was hoping to upgrade from 1.9 to 1.10, mostly for the excellent work on the new mesh LOD by sajty, but when I go to the branch in bitbucket it seems to have 2.0 changes in it. Has 1.10 been dropped in favour of 2.0 or I am just missing something?
Thanks guys!
All the best,
Ash
I was hoping to upgrade from 1.9 to 1.10, mostly for the excellent work on the new mesh LOD by sajty, but when I go to the branch in bitbucket it seems to have 2.0 changes in it. Has 1.10 been dropped in favour of 2.0 or I am just missing something?
Thanks guys!
All the best,
Ash
-
- OGRE Team Member
- Posts: 1525
- Joined: Fri Feb 03, 2006 10:37 pm
- Location: Austria - Leoben
- x 99
-
- OGRE Team Member
- Posts: 4304
- Joined: Mon Feb 04, 2008 2:02 pm
- Location: Germany
- x 136
Re: Ogre 1.10 branch now 2.0?
"default" is intended to always be the next version, in our current case v1.10. What makes it a bit confusing is, that in parallel we already do have the v2.0 branch since that is a major and time-consuming effort and is only loosely coupled with the v1.10 work.
Ogre Admin [Admin, Dev, PR, Finance, Wiki, etc.] | BasicOgreFramework | AdvancedOgreFramework
Don't know what to do in your spare time? Help the Ogre wiki grow! Or squash a bug...
Don't know what to do in your spare time? Help the Ogre wiki grow! Or squash a bug...
-
- Silver Sponsor
- Posts: 605
- Joined: Fri Dec 14, 2007 11:44 am
- Location: Northern Ireland
- x 16
Re: Ogre 1.10 branch now 2.0?
Thanks guys, I am following the progress of 2.0 quite closely, I knew that it was in parallel (and awesome!
), but what is confusing me is the mention of 2.0 in the changes I pull for v1-10. Is it just a case of Matias commiting changes from 2.0 back into 1.9 where appropriate?

You do not have the required permissions to view the files attached to this post.
-
- OGRE Retired Team Member
- Posts: 4270
- Joined: Sun Feb 25, 2007 4:56 am
- Location: Bloomington, MN
- x 126
Re: Ogre 1.10 branch now 2.0?
Unless you specify otherwise, you will all branches. So what you're seeing there is that the changes to the 2.0 branch are on your machine but you're working from the 1.10 branch. So the 2.0 changes are not going to be reflected in your working copy unless you update to that branch.
-
- Silver Sponsor
- Posts: 605
- Joined: Fri Dec 14, 2007 11:44 am
- Location: Northern Ireland
- x 16
Re: Ogre 1.10 branch now 2.0?
Aha, that makes sense now
Thanks!
Thanks!
-
- OGRE Team Member
- Posts: 5492
- Joined: Sat Jul 21, 2007 4:55 pm
- Location: Buenos Aires, Argentina
- x 1364
Re: Ogre 1.10 branch now 2.0?
It's just as David says. Mercurial works by pulling ALL changes, not just for your own branch. You have a full copy of the entire repository in your PC.
In your picture the default branch is in purple. SourceTree has dropdown menu in the top left corner that says "All branches" (right above the column label "Graph"). Change it to "Current branch" and it will filter all other branch' changes for cleaner visualization.
In your picture the default branch is in purple. SourceTree has dropdown menu in the top left corner that says "All branches" (right above the column label "Graph"). Change it to "Current branch" and it will filter all other branch' changes for cleaner visualization.
I'm not bringing anything back to 1.9. Though I did make a few fixes in both 2.0 & default simultaneously, for example the one that says "Fix CPU x86 detection bug"AshMcConnell wrote:Is it just a case of Matias commiting changes from 2.0 back into 1.9 where appropriate?
-
- Silver Sponsor
- Posts: 605
- Joined: Fri Dec 14, 2007 11:44 am
- Location: Northern Ireland
- x 16
Re: Ogre 1.10 branch now 2.0?
Cool, I wasn't aware that hg worked that way. Thanks for your help guys.
Now if only CMake would detect my compiler(s), but I'll post in help about that. I even installed VS 2013 to see if it would work. Going insane!
Thanks
Ash
Now if only CMake would detect my compiler(s), but I'll post in help about that. I even installed VS 2013 to see if it would work. Going insane!
Thanks
Ash
-
- OGRE Team Member
- Posts: 5492
- Joined: Sat Jul 21, 2007 4:55 pm
- Location: Buenos Aires, Argentina
- x 1364
Re: Ogre 1.10 branch now 2.0?
That's strange. I've had many problems with CMake, but I've never ever had trouble with it finding any of my compilers.AshMcConnell wrote:I even installed VS 2013 to see if it would work. Going insane!
-
- Old One
- Posts: 2565
- Joined: Sun Sep 11, 2005 1:04 am
- Location: Paris, France
- x 56
Re: Ogre 1.10 branch now 2.0?
I'm surprised too, this CMake problem seems strange.
Did you install VS into a disk that is not the same than the OS disk? Or in a custom location which is not Program Files?
It might make tons of tools not work properly.
Did you install VS into a disk that is not the same than the OS disk? Or in a custom location which is not Program Files?
It might make tons of tools not work properly.
-
- OGRE Team Member
- Posts: 5492
- Joined: Sat Jul 21, 2007 4:55 pm
- Location: Buenos Aires, Argentina
- x 1364
Re: Ogre 1.10 branch now 2.0?
Ahh... yeah, I always install these sensitive stuffs in default locations (C:\Program Files (x86)). Though I do have lots of partitions and custom setups.Klaim wrote:I'm surprised too, this CMake problem seems strange.
Did you install VS into a disk that is not the same than the OS disk? Or in a custom location which is not Program Files?
It might make tons of tools not work properly.
If you've installed them in your own location, try making a shared link (needs admin privileges console):
Code: Select all
mklink /D "C:\Program Files (x86)\Microsoft Visual Studio 12.0" "D:\PathWhereYouInstalledVS2013"
VS 2008 Microsoft Visual Studio 9.0
VS 2010 Microsoft Visual Studio 10.0
VS 2012 Microsoft Visual Studio 11.0
VS 2013 Microsoft Visual Studio 12.0
-
- Silver Sponsor
- Posts: 605
- Joined: Fri Dec 14, 2007 11:44 am
- Location: Northern Ireland
- x 16
Re: Ogre 1.10 branch now 2.0?
Thanks dark_sylinc,
I gave that a go, but unfortunately I get the same problem (linking to kernel32.lib). I get it with both 2012 and 2013. I tried to reinstall to the default location, but helpfully visual studio embeds itself in the registry and NEVER lets you change the install directory.
I've got it working on my laptop, but I can't see any differences. It's driving me slightly insane
I gave that a go, but unfortunately I get the same problem (linking to kernel32.lib). I get it with both 2012 and 2013. I tried to reinstall to the default location, but helpfully visual studio embeds itself in the registry and NEVER lets you change the install directory.
I've got it working on my laptop, but I can't see any differences. It's driving me slightly insane

-
- OGRE Moderator
- Posts: 7157
- Joined: Sun Jan 25, 2004 7:35 am
- Location: Brisbane, Australia
- x 535
Re: Ogre 1.10 branch now 2.0?
Go to http://technet.microsoft.com/en-us/sysi ... s/bb896645 and grab Process Monitor. Turn off the registry stuff and watch what files are accessed by cmake when it's run. That may show something that it's looking for that's missing on your system.
-
- OGRE Team Member
- Posts: 5492
- Joined: Sat Jul 21, 2007 4:55 pm
- Location: Buenos Aires, Argentina
- x 1364
Re: Ogre 1.10 branch now 2.0?
What is that problem exactly?AshMcConnell wrote:I gave that a go, but unfortunately I get the same problem (linking to kernel32.lib).
CMake stops with error?
Visual Studio linker says it can't find kernel32.lib?
Linking errors on all functions that should be defined by kernel32.lib?
-
- Silver Sponsor
- Posts: 605
- Joined: Fri Dec 14, 2007 11:44 am
- Location: Northern Ireland
- x 16
Re: Ogre 1.10 branch now 2.0?
Thanks Kojack, I'll give that a go - hadn't thought of using Process Monitor in this way!Kojack wrote:Go to http://technet.microsoft.com/en-us/sysi ... s/bb896645 and grab Process Monitor. Turn off the registry stuff and watch what files are accessed by cmake when it's run. That may show something that it's looking for that's missing on your system.
VS Linker can't find kernel32.lib (while linking a compiler test program): -dark_sylinc wrote:What is that problem exactly?AshMcConnell wrote:I gave that a go, but unfortunately I get the same problem (linking to kernel32.lib).
CMake stops with error?
Visual Studio linker says it can't find kernel32.lib?
Linking errors on all functions that should be defined by kernel32.lib?
Code: Select all
1>LINK : fatal error LNK1104: cannot open file 'kernel32.lib'
I haven't had a chance to really get to the bottom of it, I've been grabbing an hour here and there (mostly while commuting) as with a full time job, a baby and toddler time is short at the moment

*Edit* The SDK is selected using the env variables on my laptop, I need to check the desktop when I get home: -
Code: Select all
WindowsSdkDir=C:\Program Files (x86)\Windows Kits\8.0\
WindowsSdkDir_35=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\
Thanks for your help guys, I'm sure it's something embarrassingly stupid

-
- OGRE Team Member
- Posts: 5492
- Joined: Sat Jul 21, 2007 4:55 pm
- Location: Buenos Aires, Argentina
- x 1364
Re: Ogre 1.10 branch now 2.0?
Your problem is not with CMake at all.
CMake relies on VS to provide the default paths for those libs. When you go to Project propierties (Alt+F7) Linker->General "Additional Library Directories" and hit edit, there is a checkbox that says "Inherit from parent of project defaults"
If this checkbox is not checked (that would be very weird), it's cmake fault and ticking it should fix your problem.
If this checkbox is checked, your VS installation is corrupt.
There is a similar thread on http://stackoverflow.com/questions/1342 ... -windows-h. Apparently one of your default template files from VS got corrupted and may be fixable by hand.
I since your notebook works, I suggest you look at both your notebook and desktop machine templates to see what is at fault.
Edit: Either that, or you're reallly missing kernel32.lib; either way your installation is corrupt and who knows what else is also corrupt. Just format the system, run a memtest, and a full chkdsk to check for sector errors; just to be sure there are no HW problems corrupting your data.
CMake relies on VS to provide the default paths for those libs. When you go to Project propierties (Alt+F7) Linker->General "Additional Library Directories" and hit edit, there is a checkbox that says "Inherit from parent of project defaults"
If this checkbox is not checked (that would be very weird), it's cmake fault and ticking it should fix your problem.
If this checkbox is checked, your VS installation is corrupt.
There is a similar thread on http://stackoverflow.com/questions/1342 ... -windows-h. Apparently one of your default template files from VS got corrupted and may be fixable by hand.
I since your notebook works, I suggest you look at both your notebook and desktop machine templates to see what is at fault.
Edit: Either that, or you're reallly missing kernel32.lib; either way your installation is corrupt and who knows what else is also corrupt. Just format the system, run a memtest, and a full chkdsk to check for sector errors; just to be sure there are no HW problems corrupting your data.
-
- Silver Sponsor
- Posts: 605
- Joined: Fri Dec 14, 2007 11:44 am
- Location: Northern Ireland
- x 16
Re: Ogre 1.10 branch now 2.0?
Thanks for your help guys - just to say life is getting in the way at the moment and I haven't had a proper chance to go through your suggestions. They are appreciated, hopefully I'll get a chance at the weekend 
