Re: [osg-users] Need Build Support OSG 2.2.0\STLPort 4.5\VC 6
Hi Robert, I am a new user. I newly downloaded OSG 2.2.0.. I read the documentation and followed the instructions for VS6. It did not work so I figured I had missed something. It was not a flame! I work for a Japanese company in the USA and I have only worked here for 5 months and they use VS6 for this monolithic code base. So I am currently trying to port it to VS8 (as of yesterday). It requires a lot of changes and Japan has to approve every code change (with no body who will take responsibility). Anyway, I was mislead by the installation documentation to believe that I could install STLPort 4.5 and OSG 2.2.0 would work with VS6. Thanks, Judie ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Need Build Support OSG 2.2.0\STLPort 4.5\VC 6
Hi, I am in a similar situation and therefore still using v1.2. I was hoping to tweak the v2.4 to compile with VC6 knowing that I have successfully compiled v1.2 and the OSG is multi-platform so there should be no a-priori reason why not. Or are they some code-structures now used in v2.x that make it plainly impossible now? I am perfectly aware of an extra time I will have to spend on this. But my experiences have taught me that the effort to learn a new IDE and mainly to overcome its drawbacks and hidden bugs is many times not worth of it (and surely not for every two-year period a new IDE is released). Of course I would prefer to know in advance if there is no chance to use v2.x in VC6 and then will probably stay in v1.2. Thanks for opinions, Milan - Original Message - From: Paul Martz [EMAIL PROTECTED] To: 'OpenSceneGraph Users' osg-users@lists.openscenegraph.org Sent: Wednesday, April 02, 2008 12:55 AM Subject: Re: [osg-users] Need Build Support OSG 2.2.0\STLPort 4.5\VC 6 Hi Judie -- I don't think anyone is using VC6 for OSG anymore due to exactly the types of problems you've encountered. VC6's STL isn't up to par, and the various hacks to get around that (STLPort) are difficult tow work with. Robert might comment but I believe OSG v2.0 officially dropped support for VC6. -Paul _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Judie Stanley Sent: Tuesday, April 01, 2008 4:39 PM To: osg-users@lists.openscenegraph.org Subject: [osg-users] Need Build Support OSG 2.2.0\STLPort 4.5\VC 6 Hi, I am new to this community. To qualify, let me say that I have downloaded all the files for building the OpenSceneGraph 2.2.0 osg core plus the applications and examples. I have configured builds for both VC 8 and VC 6. I installed SVN so I could optain the latest 3rdParty items. I have built the VC 8 configuration just fine. My problem is, our project has to be built using VC 6. So I also read and configured everything for VC 6. I built and used STLPort 4.5 but I get the following error when used with the osg build (and I googled and tried everything I could find to resolve it - rest assured my stlPort include and library paths come before the Microsoft SDK ones). When using STLPort 4.5 - I get these errors for the OpenThreads: Win32Thread.cpp C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\winbase.h(1392) : error C2733: second C linkage of overloaded function 'InterlockedIncrement' not allowed C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\winbase.h(1390) : see declaration of 'InterlockedIncrement' C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\winbase.h(1399) : error C2733: second C linkage of overloaded function 'InterlockedDecrement' not allowed C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\winbase.h(1397) : see declaration of 'InterlockedDecrement' C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\winbase.h(1407) : error C2733: second C linkage of overloaded function 'InterlockedExchange' not allowed C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\winbase.h(1404) : see declaration of 'InterlockedExchange' But we have an older version of STLPort that is used to build our project in VC6 which also has the 1.2 version of OpenSceneGraph. I was hoping to update us to the 2.2.0 version, however. So when I use this older version of STLPort (and I can't find the version number anywhere), It gets past the above error and the OpenThreads project builds just fine, but then I get the following errors: Configuration: osg - Win32 Debug Compiling... AnimationPath.cpp C:\Program Files\OpenSceneGraph\osgsrc\OpenSceneGraph\include\osg/ OperationThread(35) : error C2437: 'Referenced' : already initialized Billboard.cpp C:\Program Files\OpenSceneGraph\osgsrc\OpenSceneGraph\include\osg/ OperationThread(35) : error C2437: 'Referenced' : already initialized BufferObject.cpp C:\Program Files\OpenSceneGraph\osgsrc\OpenSceneGraph\src\osg \BufferObject.cpp(408) : error C2374: 'itr' : redefinition; multiple initialization C:\Program Files\OpenSceneGraph\osgsrc\OpenSceneGraph\src\osg \BufferObject.cpp(356) : see declaration of 'itr' C:\Program Files\OpenSceneGraph\osgsrc\OpenSceneGraph\src\osg \BufferObject.cpp(577) : error C2374: 'itr' : redefinition; multiple initialization C:\Program Files\OpenSceneGraph\osgsrc\OpenSceneGraph\src\osg \BufferObject.cpp(525) : see declaration of 'itr' Camera.cpp C:\Program Files\OpenSceneGraph\osgsrc\OpenSceneGraph\include\osg/ OperationThread(35) : error C2437: 'Referenced' : already initialized ClusterCullingCallback.cpp C:\Program Files\OpenSceneGraph\osgsrc\OpenSceneGraph\include\osg/ OperationThread(35) : error C2437: 'Referenced' : already initialized ComputeBoundsVisitor.cpp C:\Program Files\OpenSceneGraph\osgsrc\OpenSceneGraph\include\osg/ OperationThread(35) : error C2437: 'Referenced' : already
Re: [osg-users] Need Build Support OSG 2.2.0\STLPort 4.5\VC 6
On Wed, 2008-04-02 at 16:28 +0200, Milan Simunek wrote: Hi, I am in a similar situation and therefore still using v1.2. I was hoping to tweak the v2.4 to compile with VC6 knowing that I have successfully compiled v1.2 and the OSG is multi-platform so there should be no a-priori reason why not. Or are they some code-structures now used in v2.x that make it plainly impossible now? I am perfectly aware of an extra time I will have to spend on this. But my experiences have taught me that the effort to learn a new IDE and mainly to overcome its drawbacks and hidden bugs is many times not worth of it (and surely not for every two-year period a new IDE is released). Of course I would prefer to know in advance if there is no chance to use v2.x in VC6 and then will probably stay in v1.2. Thanks for opinions, It's a shame when the IDE constrains your ability to use the best available version of a piece of software. :( In my opinion, it is the purpose of an IDE to make this process as easily and modular as possible, but that's just me. Hopefully someone here can help... Then again, if you consider VI an IDE, I would absolutely die without it. Luckily, Open Source to the rescue... :) Milan - Original Message - From: Paul Martz [EMAIL PROTECTED] To: 'OpenSceneGraph Users' osg-users@lists.openscenegraph.org Sent: Wednesday, April 02, 2008 12:55 AM Subject: Re: [osg-users] Need Build Support OSG 2.2.0\STLPort 4.5\VC 6 Hi Judie -- I don't think anyone is using VC6 for OSG anymore due to exactly the types of problems you've encountered. VC6's STL isn't up to par, and the various hacks to get around that (STLPort) are difficult tow work with. Robert might comment but I believe OSG v2.0 officially dropped support for VC6. -Paul _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Judie Stanley Sent: Tuesday, April 01, 2008 4:39 PM To: osg-users@lists.openscenegraph.org Subject: [osg-users] Need Build Support OSG 2.2.0\STLPort 4.5\VC 6 Hi, I am new to this community. To qualify, let me say that I have downloaded all the files for building the OpenSceneGraph 2.2.0 osg core plus the applications and examples. I have configured builds for both VC 8 and VC 6. I installed SVN so I could optain the latest 3rdParty items. I have built the VC 8 configuration just fine. My problem is, our project has to be built using VC 6. So I also read and configured everything for VC 6. I built and used STLPort 4.5 but I get the following error when used with the osg build (and I googled and tried everything I could find to resolve it - rest assured my stlPort include and library paths come before the Microsoft SDK ones). When using STLPort 4.5 - I get these errors for the OpenThreads: Win32Thread.cpp C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\winbase.h(1392) : error C2733: second C linkage of overloaded function 'InterlockedIncrement' not allowed C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\winbase.h(1390) : see declaration of 'InterlockedIncrement' C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\winbase.h(1399) : error C2733: second C linkage of overloaded function 'InterlockedDecrement' not allowed C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\winbase.h(1397) : see declaration of 'InterlockedDecrement' C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\winbase.h(1407) : error C2733: second C linkage of overloaded function 'InterlockedExchange' not allowed C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\winbase.h(1404) : see declaration of 'InterlockedExchange' But we have an older version of STLPort that is used to build our project in VC6 which also has the 1.2 version of OpenSceneGraph. I was hoping to update us to the 2.2.0 version, however. So when I use this older version of STLPort (and I can't find the version number anywhere), It gets past the above error and the OpenThreads project builds just fine, but then I get the following errors: Configuration: osg - Win32 Debug Compiling... AnimationPath.cpp C:\Program Files\OpenSceneGraph\osgsrc\OpenSceneGraph\include\osg/ OperationThread(35) : error C2437: 'Referenced' : already initialized Billboard.cpp C:\Program Files\OpenSceneGraph\osgsrc\OpenSceneGraph\include\osg/ OperationThread(35) : error C2437: 'Referenced' : already initialized BufferObject.cpp C:\Program Files\OpenSceneGraph\osgsrc\OpenSceneGraph\src\osg \BufferObject.cpp(408) : error C2374: 'itr' : redefinition; multiple initialization C:\Program Files\OpenSceneGraph\osgsrc\OpenSceneGraph\src\osg \BufferObject.cpp(356) : see declaration of 'itr' C:\Program Files\OpenSceneGraph\osgsrc\OpenSceneGraph\src\osg \BufferObject.cpp(577) : error C2374: 'itr' : redefinition; multiple initialization C:\Program Files
Re: [osg-users] Need Build Support OSG 2.2.0\STLPort 4.5\VC 6
Hi Milan, Judie, It's a shame when the IDE constrains your ability to use the best available version of a piece of software. In addition to what Paul and Jeremy said, I find it a shame for other reasons. VC6 was just a horrible compiler, with a horrible standard library implementation. Upgrading will give you much more than just being able to compile and use OSG 2.x, including using multiple cores for compilation, better optimization, better debugging, a *much* more standards-compliant STL/Standard C++ Library implementation, etc. 2 years is a long time in computing. Just look at how far OSG has come in 2 years, and try to predict where it will be 2 years from now. The more you put off following new versions of your tools, the harder the upgrade will be (but then again, it doesn't pay to be reckless with upgrades either, I'm just advocating a balanced approach). My own 0.02$. J-S -- __ Jean-Sebastien Guay[EMAIL PROTECTED] http://www.cm-labs.com/ http://whitestar02.webhop.org/ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Need Build Support OSG 2.2.0\STLPort 4.5\VC 6
On Wed, 2008-04-02 at 11:23 -0400, Jean-Sébastien Guay wrote: Hi Milan, Judie, It's a shame when the IDE constrains your ability to use the best available version of a piece of software. In addition to what Paul and Jeremy said, I find it a shame for other reasons. VC6 was just a horrible compiler, with a horrible standard library implementation. Upgrading will give you much more than just being able to compile and use OSG 2.x, including using multiple cores for compilation, better optimization, better debugging, a *much* more standards-compliant STL/Standard C++ Library implementation, etc. 2 years is a long time in computing. Just look at how far OSG has come in 2 years, and try to predict where it will be 2 years from now. The J-S, there's no need to try and predict! Robert clearly indicated yesterday that will be using DirectX VERY SOON and, paramount to everything else, will finally have support for ALL OF THE OPTICAL MOUSE BUTTONS! :) more you put off following new versions of your tools, the harder the upgrade will be (but then again, it doesn't pay to be reckless with upgrades either, I'm just advocating a balanced approach). My own 0.02$. J-S ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Need Build Support OSG 2.2.0\STLPort 4.5\VC 6
In my company it also improved the program performance by more than 20%. Guy. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jean-S?bastien Guay Sent: Wednesday, April 02, 2008 5:24 PM To: [EMAIL PROTECTED]; OpenSceneGraph Users Subject: Re: [osg-users] Need Build Support OSG 2.2.0\STLPort 4.5\VC 6 Hi Milan, Judie, It's a shame when the IDE constrains your ability to use the best available version of a piece of software. In addition to what Paul and Jeremy said, I find it a shame for other reasons. VC6 was just a horrible compiler, with a horrible standard library implementation. Upgrading will give you much more than just being able to compile and use OSG 2.x, including using multiple cores for compilation, better optimization, better debugging, a *much* more standards-compliant STL/Standard C++ Library implementation, etc. 2 years is a long time in computing. Just look at how far OSG has come in 2 years, and try to predict where it will be 2 years from now. The more you put off following new versions of your tools, the harder the upgrade will be (but then again, it doesn't pay to be reckless with upgrades either, I'm just advocating a balanced approach). My own 0.02$. J-S -- __ Jean-Sebastien Guay[EMAIL PROTECTED] http://www.cm-labs.com/ http://whitestar02.webhop.org/ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or g ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Need Build Support OSG 2.2.0\STLPort 4.5\VC 6
On Wed, Apr 2, 2008 at 4:34 PM, Jeremy Moles [EMAIL PROTECTED] wrote: J-S, there's no need to try and predict! Robert clearly indicated yesterday that will be using DirectX VERY SOON and, paramount to everything else, will finally have support for ALL OF THE OPTICAL MOUSE BUTTONS! Alas the April fools prank was not me, rather an impostor, albeit with a good sense of humour :-) Go back to the email and check the address - its [EMAIL PROTECTED] not [EMAIL PROTECTED] which is the real Robert Osfield... Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Need Build Support OSG 2.2.0\STLPort 4.5\VC 6
Hi Judie and Milan, As others have mentioned in 2.x we officially dropped VS6.0 support. The motivation for doing this is two fold: 1. Fixes to compile under VS6.0 entails modify code so its less clear than proper Standard C++ code, items like the for loop variable scope being one classic example, or oddities in headers. 2. The number of developers using VS6.0 was getting smaller and smaller to such an extent that few VS6 users were ever contributing fixes prior to releses, in fact for a numbers of years its been the case that often no VS6.0 users would test pre releases/dev versions, only waiting till after a release to chip in there was a problem. Item 2 is the killer. If people on niche platforms ignore the calls for testing then its really down to them if support for them is patchy. Now if you guys are willing to start using SVN and the dev releases and consistently get build fixes to use then perhaps we could start thinking about putting VS6.0 support back in. However, this needs to be a real commitment, you can't expect others to pay in time for the luxury of you using an outdated and broken compiler. Robert. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Need Build Support OSG 2.2.0\STLPort 4.5\VC 6
Hi Jeremy, 2 years is a long time in computing. Just look at how far OSG has come in 2 years, and try to predict where it will be 2 years from now. The J-S, there's no need to try and predict! Robert clearly indicated yesterday that will be using DirectX VERY SOON and, paramount to everything else, will finally have support for ALL OF THE OPTICAL MOUSE BUTTONS! Doh! slaps forehead So I guess that means OSG 3.0 will not support VC6, 7 or 8 but will be VC9 only, and probably Vista only as well. Case closed! :-) J-S (sorry this went to you personally on the first try) -- __ Jean-Sebastien Guay[EMAIL PROTECTED] http://www.cm-labs.com/ http://whitestar02.webhop.org/ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Need Build Support OSG 2.2.0\STLPort 4.5\VC 6
Hi Judie -- I don't think anyone is using VC6 for OSG anymore due to exactly the types of problems you've encountered. VC6's STL isn't up to par, and the various hacks to get around that (STLPort) are difficult tow work with. Robert might comment but I believe OSG v2.0 officially dropped support for VC6. -Paul _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Judie Stanley Sent: Tuesday, April 01, 2008 4:39 PM To: osg-users@lists.openscenegraph.org Subject: [osg-users] Need Build Support OSG 2.2.0\STLPort 4.5\VC 6 Hi, I am new to this community. To qualify, let me say that I have downloaded all the files for building the OpenSceneGraph 2.2.0 osg core plus the applications and examples. I have configured builds for both VC 8 and VC 6. I installed SVN so I could optain the latest 3rdParty items. I have built the VC 8 configuration just fine. My problem is, our project has to be built using VC 6. So I also read and configured everything for VC 6. I built and used STLPort 4.5 but I get the following error when used with the osg build (and I googled and tried everything I could find to resolve it - rest assured my stlPort include and library paths come before the Microsoft SDK ones). When using STLPort 4.5 - I get these errors for the OpenThreads: Win32Thread.cpp C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\winbase.h(1392) : error C2733: second C linkage of overloaded function 'InterlockedIncrement' not allowed C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\winbase.h(1390) : see declaration of 'InterlockedIncrement' C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\winbase.h(1399) : error C2733: second C linkage of overloaded function 'InterlockedDecrement' not allowed C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\winbase.h(1397) : see declaration of 'InterlockedDecrement' C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\winbase.h(1407) : error C2733: second C linkage of overloaded function 'InterlockedExchange' not allowed C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\winbase.h(1404) : see declaration of 'InterlockedExchange' But we have an older version of STLPort that is used to build our project in VC6 which also has the 1.2 version of OpenSceneGraph. I was hoping to update us to the 2.2.0 version, however. So when I use this older version of STLPort (and I can't find the version number anywhere), It gets past the above error and the OpenThreads project builds just fine, but then I get the following errors: Configuration: osg - Win32 Debug Compiling... AnimationPath.cpp C:\Program Files\OpenSceneGraph\osgsrc\OpenSceneGraph\include\osg/ OperationThread(35) : error C2437: 'Referenced' : already initialized Billboard.cpp C:\Program Files\OpenSceneGraph\osgsrc\OpenSceneGraph\include\osg/ OperationThread(35) : error C2437: 'Referenced' : already initialized BufferObject.cpp C:\Program Files\OpenSceneGraph\osgsrc\OpenSceneGraph\src\osg \BufferObject.cpp(408) : error C2374: 'itr' : redefinition; multiple initialization C:\Program Files\OpenSceneGraph\osgsrc\OpenSceneGraph\src\osg \BufferObject.cpp(356) : see declaration of 'itr' C:\Program Files\OpenSceneGraph\osgsrc\OpenSceneGraph\src\osg \BufferObject.cpp(577) : error C2374: 'itr' : redefinition; multiple initialization C:\Program Files\OpenSceneGraph\osgsrc\OpenSceneGraph\src\osg \BufferObject.cpp(525) : see declaration of 'itr' Camera.cpp C:\Program Files\OpenSceneGraph\osgsrc\OpenSceneGraph\include\osg/ OperationThread(35) : error C2437: 'Referenced' : already initialized ClusterCullingCallback.cpp C:\Program Files\OpenSceneGraph\osgsrc\OpenSceneGraph\include\osg/ OperationThread(35) : error C2437: 'Referenced' : already initialized ComputeBoundsVisitor.cpp C:\Program Files\OpenSceneGraph\osgsrc\OpenSceneGraph\include\osg/ OperationThread(35) : error C2437: 'Referenced' : already initialized CopyOp.cpp C:\Program Files\OpenSceneGraph\osgsrc\OpenSceneGraph\include\osg/ OperationThread(35) : error C2437: 'Referenced' : already initialized DrawPixels.cpp C:\Program Files\OpenSceneGraph\osgsrc\OpenSceneGraph\include\osg/ OperationThread(35) : error C2437: 'Referenced' : already initialized Drawable.cpp C:\Program Files\OpenSceneGraph\osgsrc\OpenSceneGraph\include\osg/ OperationThread(35) : error C2437: 'Referenced' : already initialized FrameBufferObject.cpp C:\Program Files\OpenSceneGraph\osgsrc\OpenSceneGraph\include\osg/ OperationThread(35) : error C2437: 'Referenced' : already initialized GLObjects.cpp C:\Program Files\OpenSceneGraph\osgsrc\OpenSceneGraph\include\osg/ OperationThread(35) : error C2437: 'Referenced' : already initialized Geode.cpp C:\Program Files\OpenSceneGraph\osgsrc\OpenSceneGraph\include\osg/ OperationThread(35) : error C2437: 'Referenced' : already initialized Geometry.cpp C:\Program Files\OpenSceneGraph\osgsrc\OpenSceneGraph\include\osg/ OperationThread(35) : error C2437: 'Referenced'