Hi Robert.

>MUST Have
>
>    * CVS version must compile under Windows .NET 7.x and 8.x, Linux
>and OSX - we needing testing and feedback.


An issue with Visual Studio 7 and 8 is an error prevents
anything compiling when you attempt to compile projects that 
are held on a windows share.

eg..
1>------ Build started: Project: WindowMessages, Configuration: Release
Win32 ------
1>Compiling...
1>cl : Command line error D8022 : cannot open
'x:\Code\Gaming\WindowNames\WindowMessages_20060808\Release\RSP000007380
44064.rsp'

My work-around for this is to go into the project properties page,
Configuration Properties -> General and set
"Intermediate Directory" to $(temp)\$(ProjectName)\$(ConfigurationName) 

There are allegedly some security settings in XP which 
"fix" this, but I don't know what they are, and suspect that
not everybody has privilages to do this anyway.

I did once try this once with Samba shares (served from an SGI box, 
onto an XP box), but it wasn't an issue.  It's only a problem
with MS Windows file server shares onto a MS Windows box.


Also: As a result of compiling the CVS version of OpenScenegraph,
with Visual Studio 8, I noticed a number of warnings.
They don't prevent compilation, but I vaguely remember
you saying that you like to have no errors and no warnings.
See below for list.

Hope the above makes sense.

Gary.



------ Build started: Project: osgPlugin net, Configuration: Release
Win32 ------
Compiling...
sockstream.cpp
d:\osg_cvs_20060808\openscenegraph\src\osgplugins\net\sockstream.h(324)
: warning C4996: 'std::basic_streambuf<_Elem,_Traits>::xsgetn' was
declared deprecated
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>
        ]
        C:\Program Files\Microsoft Visual Studio
8\VC\include\streambuf(324) : see declaration of
'std::basic_streambuf<_Elem,_Traits>::xsgetn'
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>
        ]
        Message: 'You have used a std:: construct that is not safe. See
documentation on how to use the Safe Standard C++ Library'





------ Build started: Project: osgPlugin hdr, Configuration: Release
Win32 ------
Compiling...
ReaderWriterHDR.cpp
hdrloader.cpp
..\..\..\src\osgPlugins\hdr\hdrloader.cpp(52) : warning C4996: 'fopen'
was declared deprecated
        C:\Program Files\Microsoft Visual Studio
8\VC\include\stdio.h(234) : see declaration of 'fopen'
        Message: 'This function or variable may be unsafe. Consider
using fopen_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\..\..\src\osgPlugins\hdr\hdrloader.cpp(72) : warning C4996: 'fopen'
was declared deprecated
        C:\Program Files\Microsoft Visual Studio
8\VC\include\stdio.h(234) : see declaration of 'fopen'
        Message: 'This function or variable may be unsafe. Consider
using fopen_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\..\..\src\osgPlugins\hdr\hdrloader.cpp(108) : warning C4996: 'sscanf'
was declared deprecated
        C:\Program Files\Microsoft Visual Studio
8\VC\include\stdio.h(311) : see declaration of 'sscanf'
        Message: 'This function or variable may be unsafe. Consider
using sscanf_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'







------ Build started: Project: osgPlugin lwo, Configuration: Release
Win32 ------
Compiling...
VertexMap.cpp
Unit.cpp
Tessellator.cpp
Surface.cpp
ReaderWriterLWO.cpp
Polygon.cpp
old_Lwo2Layer.cpp
old_Lwo2.cpp
old_lw.cpp
..\..\..\src\osgPlugins\lwo\old_lw.cpp(187) : warning C4996: 'strcpy'
was declared deprecated
        C:\Program Files\Microsoft Visual Studio
8\VC\include\string.h(73) : see declaration of 'strcpy'
        Message: 'This function or variable may be unsafe. Consider
using strcpy_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\..\..\src\osgPlugins\lwo\old_lw.cpp(189) : warning C4996: 'strcpy'
was declared deprecated
        C:\Program Files\Microsoft Visual Studio
8\VC\include\string.h(73) : see declaration of 'strcpy'
        Message: 'This function or variable may be unsafe. Consider
using strcpy_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\..\..\src\osgPlugins\lwo\old_lw.cpp(329) : warning C4996: 'fopen' was
declared deprecated
        C:\Program Files\Microsoft Visual Studio
8\VC\include\stdio.h(234) : see declaration of 'fopen'
        Message: 'This function or variable may be unsafe. Consider
using fopen_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\..\..\src\osgPlugins\lwo\old_lw.cpp(351) : warning C4996: 'fopen' was
declared deprecated
        C:\Program Files\Microsoft Visual Studio
8\VC\include\stdio.h(234) : see declaration of 'fopen'
        Message: 'This function or variable may be unsafe. Consider
using fopen_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'






------ Build started: Project: osgPlugin 3ds, Configuration: Release
Win32 ------
Compiling...
viewport.cpp
vector.cpp
tracks.cpp
..\..\..\src\osgPlugins\lib3ds\tracks.cpp(1329) : warning C4996:
'strcpy' was declared deprecated
        C:\Program Files\Microsoft Visual Studio
8\VC\include\string.h(73) : see declaration of 'strcpy'
        Message: 'This function or variable may be unsafe. Consider
using strcpy_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\..\..\src\osgPlugins\lib3ds\tracks.cpp(1333) : warning C4996:
'strcpy' was declared deprecated
        C:\Program Files\Microsoft Visual Studio
8\VC\include\string.h(73) : see declaration of 'strcpy'
        Message: 'This function or variable may be unsafe. Consider
using strcpy_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\..\..\src\osgPlugins\lib3ds\tracks.cpp(1355) : warning C4996:
'strcpy' was declared deprecated
        C:\Program Files\Microsoft Visual Studio
8\VC\include\string.h(73) : see declaration of 'strcpy'
        Message: 'This function or variable may be unsafe. Consider
using strcpy_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\..\..\src\osgPlugins\lib3ds\tracks.cpp(1358) : warning C4996:
'strcpy' was declared deprecated
        C:\Program Files\Microsoft Visual Studio
8\VC\include\string.h(73) : see declaration of 'strcpy'
        Message: 'This function or variable may be unsafe. Consider
using strcpy_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'
tcb.cpp
shadow.cpp
readwrite.cpp
ReaderWriter3DS.cpp
quat.cpp
node.cpp
mesh.cpp
..\..\..\src\osgPlugins\lib3ds\mesh.cpp(64) : warning C4996: 'strcpy'
was declared deprecated
        C:\Program Files\Microsoft Visual Studio
8\VC\include\string.h(73) : see declaration of 'strcpy'
        Message: 'This function or variable may be unsafe. Consider
using strcpy_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\..\..\src\osgPlugins\lib3ds\mesh.cpp(97) : warning C4996: 'strcpy'
was declared deprecated
        C:\Program Files\Microsoft Visual Studio
8\VC\include\string.h(73) : see declaration of 'strcpy'
        Message: 'This function or variable may be unsafe. Consider
using strcpy_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\..\..\src\osgPlugins\lib3ds\mesh.cpp(108) : warning C4996: 'strcpy'
was declared deprecated
        C:\Program Files\Microsoft Visual Studio
8\VC\include\string.h(73) : see declaration of 'strcpy'
        Message: 'This function or variable may be unsafe. Consider
using strcpy_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\..\..\src\osgPlugins\lib3ds\mesh.cpp(112) : warning C4996: 'strcpy'
was declared deprecated
        C:\Program Files\Microsoft Visual Studio
8\VC\include\string.h(73) : see declaration of 'strcpy'
        Message: 'This function or variable may be unsafe. Consider
using strcpy_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\..\..\src\osgPlugins\lib3ds\mesh.cpp(116) : warning C4996: 'strcpy'
was declared deprecated
        C:\Program Files\Microsoft Visual Studio
8\VC\include\string.h(73) : see declaration of 'strcpy'
        Message: 'This function or variable may be unsafe. Consider
using strcpy_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\..\..\src\osgPlugins\lib3ds\mesh.cpp(120) : warning C4996: 'strcpy'
was declared deprecated
        C:\Program Files\Microsoft Visual Studio
8\VC\include\string.h(73) : see declaration of 'strcpy'
        Message: 'This function or variable may be unsafe. Consider
using strcpy_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\..\..\src\osgPlugins\lib3ds\mesh.cpp(124) : warning C4996: 'strcpy'
was declared deprecated
        C:\Program Files\Microsoft Visual Studio
8\VC\include\string.h(73) : see declaration of 'strcpy'
        Message: 'This function or variable may be unsafe. Consider
using strcpy_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\..\..\src\osgPlugins\lib3ds\mesh.cpp(128) : warning C4996: 'strcpy'
was declared deprecated
        C:\Program Files\Microsoft Visual Studio
8\VC\include\string.h(73) : see declaration of 'strcpy'
        Message: 'This function or variable may be unsafe. Consider
using strcpy_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\..\..\src\osgPlugins\lib3ds\mesh.cpp(157) : warning C4996: 'strcpy'
was declared deprecated
        C:\Program Files\Microsoft Visual Studio
8\VC\include\string.h(73) : see declaration of 'strcpy'
        Message: 'This function or variable may be unsafe. Consider
using strcpy_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'
matrix.cpp
material.cpp
light.cpp
..\..\..\src\osgPlugins\lib3ds\light.cpp(65) : warning C4996: 'strcpy'
was declared deprecated
        C:\Program Files\Microsoft Visual Studio
8\VC\include\string.h(73) : see declaration of 'strcpy'
        Message: 'This function or variable may be unsafe. Consider
using strcpy_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'
lib3ds_float.cpp
file.cpp
..\..\..\src\osgPlugins\lib3ds\file.cpp(71) : warning C4996: 'fopen' was
declared deprecated
        C:\Program Files\Microsoft Visual Studio
8\VC\include\stdio.h(234) : see declaration of 'fopen'
        Message: 'This function or variable may be unsafe. Consider
using fopen_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\..\..\src\osgPlugins\lib3ds\file.cpp(109) : warning C4996: 'fopen'
was declared deprecated
        C:\Program Files\Microsoft Visual Studio
8\VC\include\stdio.h(234) : see declaration of 'fopen'
        Message: 'This function or variable may be unsafe. Consider
using fopen_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\..\..\src\osgPlugins\lib3ds\file.cpp(138) : warning C4996: 'strcpy'
was declared deprecated
        C:\Program Files\Microsoft Visual Studio
8\VC\include\string.h(73) : see declaration of 'strcpy'
        Message: 'This function or variable may be unsafe. Consider
using strcpy_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\..\..\src\osgPlugins\lib3ds\file.cpp(1100) : warning C4996: 'strcpy'
was declared deprecated
        C:\Program Files\Microsoft Visual Studio
8\VC\include\string.h(73) : see declaration of 'strcpy'
        Message: 'This function or variable may be unsafe. Consider
using strcpy_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\..\..\src\osgPlugins\lib3ds\file.cpp(1101) : warning C4996: 'strcat'
was declared deprecated
        C:\Program Files\Microsoft Visual Studio
8\VC\include\string.h(78) : see declaration of 'strcat'
        Message: 'This function or variable may be unsafe. Consider
using strcat_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\..\..\src\osgPlugins\lib3ds\file.cpp(1102) : warning C4996: 'strcat'
was declared deprecated
        C:\Program Files\Microsoft Visual Studio
8\VC\include\string.h(78) : see declaration of 'strcat'
        Message: 'This function or variable may be unsafe. Consider
using strcat_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'
ease.cpp
chunk.cpp
..\..\..\src\osgPlugins\lib3ds\chunk.cpp(49) : warning C4996: 'strcat'
was declared deprecated
        C:\Program Files\Microsoft Visual Studio
8\VC\include\string.h(78) : see declaration of 'strcat'
        Message: 'This function or variable may be unsafe. Consider
using strcat_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\..\..\src\osgPlugins\lib3ds\chunk.cpp(295) : warning C4996:
'vsprintf' was declared deprecated
        C:\Program Files\Microsoft Visual Studio
8\VC\include\stdio.h(345) : see declaration of 'vsprintf'
        Message: 'This function or variable may be unsafe. Consider
using vsprintf_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'
camera.cpp
..\..\..\src\osgPlugins\lib3ds\camera.cpp(57) : warning C4996: 'strcpy'
was declared deprecated
        C:\Program Files\Microsoft Visual Studio
8\VC\include\string.h(73) : see declaration of 'strcpy'
        Message: 'This function or variable may be unsafe. Consider
using strcpy_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to