Re: [osg-users] OpenThreads build error (OSG 3.4.0)

2016-06-21 Thread Rick Irons
Hi Robert,

Thanks for the response.  I will wait to hear what others have to say.

Thanks,
Rick

-Original Message-
From: osg-users [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf 
Of Robert Osfield
Sent: Tuesday, June 21, 2016 10:49 AM
To: OpenSceneGraph Users <osg-users@lists.openscenegraph.org>
Subject: Re: [osg-users] OpenThreads build error (OSG 3.4.0)

Hi Rick,

On 21 June 2016 at 15:33, Rick Irons <rick.ir...@mathworks.com> wrote:
> Any thoughts on this issue?
>
> We are trying out option #2 below (Define WIN32_IE to 0x0600 in the 
> Open Thread cmake list file) since it is the more conservative of the 
> approaches.
> No issues so far.

I don't have Windows expertise to comment on specifics like this so have to 
defer to members of the community that have Windows knowledge like yourself.

One thing that is a bit curious though is why you are seeing build problems 
with 3.4.0 when others using Windows didn't report problems during the 3.4.0 
release testing cycle.  I have a Windows 7 dual boot on this system that I 
occasionally boot into and haven't seen problems, I think I have VS2013 
installed as well.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OpenThreads build error (OSG 3.4.0)

2016-06-21 Thread Robert Osfield
Hi Rick,

On 21 June 2016 at 15:33, Rick Irons  wrote:
> Any thoughts on this issue?
>
> We are trying out option #2 below (Define WIN32_IE to 0x0600 in the Open
> Thread cmake list file) since it is the more conservative of the approaches.
> No issues so far.

I don't have Windows expertise to comment on specifics like this so
have to defer to members of the community that have Windows knowledge
like yourself.

One thing that is a bit curious though is why you are seeing build
problems with 3.4.0 when others using Windows didn't report problems
during the 3.4.0 release testing cycle.  I have a Windows 7 dual boot
on this system that I occasionally boot into and haven't seen
problems, I think I have VS2013 installed as well.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OpenThreads build error (OSG 3.4.0)

2016-06-21 Thread Rick Irons
Hi all,

Any thoughts on this issue?

We are trying out option #2 below (Define WIN32_IE to 0x0600 in the Open Thread 
cmake list 
file)
 since it is the more conservative of the approaches.  No issues so far.

Thanks,
Rick

From: Rick Irons
Sent: Friday, June 17, 2016 1:08 PM
To: 'osg-users@lists.openscenegraph.org' 
Subject: OpenThreads build error (OSG 3.4.0)

Hi,

Our internal development environment was just recently updated and we are now 
encountering an OpenThreads build error on Windows with OSG 3.4.0.  The build 
error is included in the following Visual Studios 2013 build output...

1>-- Rebuild All started: Project: OpenThreads, Configuration: Debug x64 
--
2>-- Skipped Rebuild All: Project: uninstall, Configuration: Debug x64 
--
2>Project not selected to build for this solution configuration
1>  WIN32Condition.cpp
1>c:\program files (x86)\windows kits\8.1\include\shared\sdkddkver.h(272): 
fatal error C1189: #error :  _WIN32_WINNT settings conflicts with _WIN32_IE 
setting
1>  Win32Mutex.cpp
1>c:\program files (x86)\windows kits\8.1\include\shared\sdkddkver.h(272): 
fatal error C1189: #error :  _WIN32_WINNT settings conflicts with _WIN32_IE 
setting
1>  Win32Thread.cpp
1>c:\program files (x86)\windows kits\8.1\include\shared\sdkddkver.h(272): 
fatal error C1189: #error :  _WIN32_WINNT settings conflicts with _WIN32_IE 
setting
1>  Win32ThreadBarrier.cpp
1>  Version.cpp
1>  Atomic.cpp
1>c:\program files (x86)\windows kits\8.1\include\shared\sdkddkver.h(272): 
fatal error C1189: #error :  _WIN32_WINNT settings conflicts with _WIN32_IE 
setting
1>  Generating Code...
3>-- Rebuild All started: Project: osg, Configuration: Debug x64 --
3>  AlphaFunc.cpp
3>  AnimationPath.cpp
3>  ApplicationUsage.cpp
3>  ArgumentParser.cpp

The source of the issue appears to be the following line in sdkddkver.h

#if ((_WIN32_WINNT < _WIN32_WINNT_WIN2K) && (_WIN32_IE > _WIN32_IE_IE60SP1))

...where WIN32_WINNT is 0x0400 (per Open Thread 
definition),
 WIN32_WINNT_WIN2K is 
0x0500, WIN32_IE is 
0x0700 (new default in our dev environment), and WIN32_IE_IE60SP1 is 
0x0601.
  What appears to now be tripping the error is that the default value of 
WIN32_IE has changed in our dev environment from 0x0600 to 0x0700.

I am interested in feedback regarding how to properly address this issue.  
Possible options include...


1.)Changing WIN32_WINNT to 0x0500 in the Open Thread cmake list 
file.



2.)Define WIN32_IE to 0x0600 in the Open Thread cmake list 
file.

Thank you.

Rick
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] OpenThreads build error (OSG 3.4.0)

2016-06-17 Thread Rick Irons
Hi,

Our internal development environment was just recently updated and we are now 
encountering an OpenThreads build error on Windows with OSG 3.4.0.  The build 
error is included in the following Visual Studios 2013 build output...

1>-- Rebuild All started: Project: OpenThreads, Configuration: Debug x64 
--
2>-- Skipped Rebuild All: Project: uninstall, Configuration: Debug x64 
--
2>Project not selected to build for this solution configuration
1>  WIN32Condition.cpp
1>c:\program files (x86)\windows kits\8.1\include\shared\sdkddkver.h(272): 
fatal error C1189: #error :  _WIN32_WINNT settings conflicts with _WIN32_IE 
setting
1>  Win32Mutex.cpp
1>c:\program files (x86)\windows kits\8.1\include\shared\sdkddkver.h(272): 
fatal error C1189: #error :  _WIN32_WINNT settings conflicts with _WIN32_IE 
setting
1>  Win32Thread.cpp
1>c:\program files (x86)\windows kits\8.1\include\shared\sdkddkver.h(272): 
fatal error C1189: #error :  _WIN32_WINNT settings conflicts with _WIN32_IE 
setting
1>  Win32ThreadBarrier.cpp
1>  Version.cpp
1>  Atomic.cpp
1>c:\program files (x86)\windows kits\8.1\include\shared\sdkddkver.h(272): 
fatal error C1189: #error :  _WIN32_WINNT settings conflicts with _WIN32_IE 
setting
1>  Generating Code...
3>-- Rebuild All started: Project: osg, Configuration: Debug x64 --
3>  AlphaFunc.cpp
3>  AnimationPath.cpp
3>  ApplicationUsage.cpp
3>  ArgumentParser.cpp

The source of the issue appears to be the following line in sdkddkver.h

#if ((_WIN32_WINNT < _WIN32_WINNT_WIN2K) && (_WIN32_IE > _WIN32_IE_IE60SP1))

...where WIN32_WINNT is 0x0400 (per Open Thread 
definition),
 WIN32_WINNT_WIN2K is 
0x0500, WIN32_IE is 
0x0700 (new default in our dev environment), and WIN32_IE_IE60SP1 is 
0x0601.
  What appears to now be tripping the error is that the default value of 
WIN32_IE has changed in our dev environment from 0x0600 to 0x0700.

I am interested in feedback regarding how to properly address this issue.  
Possible options include...


1.)Changing WIN32_WINNT to 0x0500 in the Open Thread cmake list 
file.



2.)Define WIN32_IE to 0x0600 in the Open Thread cmake list 
file.

Thank you.

Rick
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org