Hi Philip, As the person who did the 64 bit build support, I didn't have VS 6.0 to test with but I didn't think that the changes would break that version either.
The easiest way to get a build in the short term is probably to open a command window, and set the environment variables appropriately, then run VS 6 and build that configuration. set PlatformName=Win32 set ConfigurationName="Debug Static" msdev.exe set ConfigurationName="Release Static" msdev.exe etc... In the longer term it may be worth investigating to see how to be better backward-compatible. If you care about this, can you look in the project settings for analogous variables (VS calls them "macros"), to see if they've just changed names between versions of VS? Look for a macro with the value Win32 and one with the same value as the configuration (Debug/Release/Debug Static/Release Static). I could have sworn I used something analogous to $(ConfigurationName) back in VS 6.0. -Mike ________________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield Sent: Wednesday, September 06, 2006 6:26 AM To: osg users Subject: Re: Re: [osg-users] Build Problems: OSG 1.2 RC 2 with VC 6 Hi Philip, I'm sure other windows users will be able to help. It was under the belief the VS6.0 would be able to handle the new changes to the .dsp's, but hadn't personally tested this. BTW, The errors you copy and pasted were for Producer not OpenThreads. If you were actually testing OpenThreads then an error like this would suggest that the wrong .dsp is in place. I have just checked OpenThreads/win32_src/ and it only contains OpenThreads.dsp, and this dsp looks to be correct. Robert. On 9/6/06, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: Hi Robert I know from past emails that you are not a Wintel user, so I guess it will someone else who can help. I downloaded the 1.2 rc2 zip file to WinXP Home, unzipped it, read the README file and opened the OpenThread VS6 workspace, and then attempted the release build. The VS 6 output was cut and pasted into my original email. I did not try to build Producer because the README states the build order is OpenThreads, Producer and then OSG, and I figured that if the first build failed and the second build depended on the first build, then there was not much point trying the second build <breath here!!> After I sent the original email, I discovered that the change was due to the introduction of combined 32 and 64 bit build support after 1.1. It may be that VS 7 and VS 8 support these fields, but VS 6 doesn't. I am stuck with VS 6 (I have it and I need MFC support) even though VS 8 Express is available as a free download. So all OSG 1.2 needs is for someone to suggest some extra words to add to the README to describe how to configure VS 6 to support these extra environmental variables. It could be that for VS 6 usage, the instruction is to delete the "offending" variables from the workspace. regards Phil > > From: "Robert Osfield" <[EMAIL PROTECTED]> > Date: 2006/09/06 Wed AM 10:36:28 GMT > To: "osg users" < [email protected]> > Subject: Re: [osg-users] Build Problems: OSG 1.2 RC 2 with VC 6 > > Hi Philip, > > I don't really have any suggestions, but to help track down a solution it'd > be useful to know more about what has compileand what has failed. > > I presume OpenThreads compiled fine? > > Did Producer compile ok, so save for what looks like a linker error? > > Did the dynamic library build of Producer work ok? > > Robert. > > On 9/5/06, Philip Taylor <[EMAIL PROTECTED]> wrote: > > > > > > Never having built with VC6 (+ STLPort 5), I just tried the OT build after > > reading the README.TXT file. The build fails with following output: > > > > --------------------Configuration: Producer - Win32 Release > > Static-------------------- > > Compiling resources... > > RC : fatal error RC1109 : error creating /_Static/Producer.res > > Error executing rc.exe. > > > > Producer_s.lib - 1 error(s), 0 warning(s) > > The following environment variables were not found > > $(PlatformName) > > $(ConfigurationName) > > This looks like the perennial problem of fixing a problem on a PC years > > ago but never getting around to document it because, onece its done it > > needs > > never be done again. What should the settings be? > > > > Regards > > > > Phil > > > > -----Original Message----- > > *From:* [EMAIL PROTECTED] [mailto: > > [EMAIL PROTECTED] Behalf Of *Robert Osfield > > *Sent:* 05 September 2006 21:48 > > *To:* osg users > > *Subject:* [osg-users] OpenSceneGraph-1.2 Release Candidate 2 uploaded > > > > Hi All, > > > > Earlier I tagged 1.2-rc1, then right after recieved Xcode project updates > > from Eric! So I have now checked in Eric's change to the Xcode projects and > > then tagged 1.2-rc2, making 1.2-rc1 the shortest lived release in the > > history of the OSG ;-) I have now uploaded the rc2 to the downloads page: > > > > http://openscenegraph.org/osgwiki/pmwiki.php/Downloads/Downloads > > > > As ever code you all please test out the OSG_OP_OT- 1.2-rc2 release on as > > wide a range of platform and application software as possible, any problems > > please just email the list, any fixes send them to the osg-submissions list. > > > > > > Platforms that need testing are: > > > > Windows XP - 32 & 64 bit - Visual Studio 6.0, 7.x & 8.0, Cgwin, Mingw > > Linux 32 & x86_64 bit build (if possible i64;) > > FreeBSD > > OSX > > IRIX > > Solaris > > HP's UX > > HP's AIX. > > > > Boy that's quite a few build combinations in there, so users we need you > > all. Thanks in advance for all your delicious testing ;-) > > > > Robert. > > > > > > > > _______________________________________________ > > osg-users mailing list > > [email protected] > > http://openscenegraph.net/mailman/listinfo/osg-users > > http://www.openscenegraph.org/ > > > > > > ----------------------------------------- Email sent from www.ntlworld.com Virus-checked using McAfee(R) Software Visit www.ntlworld.com/security for more information ----------------------------------------- Email sent from www.ntlworld.com Virus-checked using McAfee(R) Software Visit www.ntlworld.com/security for more information _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/ _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
