RE: [Mesa-dev] Win32 directory in CVS?
Man, Win32 development really annoys me at times :) Oh, to be at home working on my Linux box... I'm not sure if anyone has tried this in a while, but the src-glut/ directory basically won't compile under Windows. Maybe it's just the use of the old DSP files from 3.0, but even starting from scratch was a nightmare. I've hacked up a project file that will build the thing (Brian, I had to take out your changes to src-glut/glutint.h), but of course I get debug assertions with each event complaining about different calling conventions. Ted, have you had a chance to look at putting the win32/ directory back into CVS? Has anyone else had more luck? I'd really like to get the tessellation code working before the next beta release, so any help would be _greatly_ appreciated. -- Gareth == Gareth Hughesmailto:[EMAIL PROTECTED] DEFINITY® Site Administration Project Lucent Technologies, Bell Labs Australia ph: +61 2 9352 8608 ___ Mesa-dev maillist - [EMAIL PROTECTED] http://lists.mesa3d.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] Win32 directory in CVS?
"Hughes, Gareth" wrote: Man, Win32 development really annoys me at times :) Oh, to be at home working on my Linux box... I'm not sure if anyone has tried this in a while, but the src-glut/ directory basically won't compile under Windows. Maybe it's just the use of the old DSP files from 3.0, but even starting from scratch was a nightmare. I've hacked up a project file that will build the thing (Brian, I had to take out your changes to src-glut/glutint.h), but of course I get debug assertions with each event complaining about different calling conventions. Well I have compiled glut succesfully using the makefile.fx (in src-glut). (Compiled with VisualStudio 97 == VC++ 5.0) I had to do two changes: 1) clean the makefile.fx line endings (I used GNUEmacs on windows and deleted the ^M characters) 2) Applied the attached patch to glutint.h AFAIK the fact that the glut is compiled with Makefile.fx does not make it 3dfx specific. (Actually I have used it with TNT2 system also) Brian/Ted/Gareth, could you do the clean operations to the CVS tree? Eero Index: glutint.h === RCS file: /cvs/mesa3d/Mesa/src-glut/glutint.h,v retrieving revision 1.1 diff -c -r1.1 glutint.h *** glutint.h 1999/08/19 13:58:21 1.1 --- glutint.h 1999/09/14 06:12:01 *** *** 22,30 --- 22,32 #endif /* added by BrianP: */ + #ifndef _WIN32 #define APIENTRY GLAPIENTRY #define __cdecl GLAPIENTRY #define CDECL GLAPIENTRY + #endif #define GLUT_BUILDING_LIB /* Building the GLUT library itself. */
RE: [Mesa-dev] Win32 directory in CVS?
Well I have compiled glut succesfully using the makefile.fx (in src-glut). (Compiled with VisualStudio 97 == VC++ 5.0) I had to do two changes: 1) clean the makefile.fx line endings (I used GNUEmacs on windows and deleted the ^M characters) Done. 2) Applied the attached patch to glutint.h Done. I'll try this out now - although I'm just about to head home and work under Linux again :) -- Gareth ___ Mesa-dev maillist - [EMAIL PROTECTED] http://lists.mesa3d.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] Win32 directory in CVS?
There shouldn't be "two" win32 directories - remember that Windblows doesn't differentiate files/dirs base case of lettering, so all of the fines in both "Win32/" and "win32/" should be in one hierarchy. The creation of these two separate directories was probably a typing mistake (likely on my part) when creating update Zip files or some-such. I'll have things double-checked by Friday with what is currently in CVS now, and post status. I can update the DSP files, but that would move them over to DevStudio 6 as I no longer have DevStudio 5, and I don't know how that would affect the user base at all (they DSP/DSW files are NOT compatible across versions, although 6 will load -and convert- 5's). Opinions? -Ted "Hughes, Gareth" wrote: Is there still meant to be one? The Win32 makefiles seem to live here, but as this directory isn't in CVS anymore it seems kinda hard to build Mesa for Win32. Or am I just missing something? :-) This would greatly assist in me getting the new tessellation code in - I no longer have a home machine and my new one doesn't arrive 'til the weekend. I could upload the code at work tommorrow, but that machine is Win32 only. Mesa 3.0 had both Win32/ and win32/ directories: % ls Win32 3dfx/ MesaDemos-samples.dsw MesaGLUT32.dsp demos/ GLUT-SGIGL.dsp MesaDemos-samples.opt MesaLib.dsw fxMesaGL32.dsp MesaDemos-3dfx.dsw MesaGL.dspMesaLib.ncb res/ MesaDemos-3dfx.opt MesaGL32.aps MesaLib.opt s3MesaGL32.dsp MesaDemos-book.dsw MesaGL32.dsp NMAKE.MAK samples/ MesaDemos-book.opt MesaGLU.dsp NMAKE.MIF MesaDemos-demos.dsw MesaGLU32.dsp RULES/ MesaDemos-demos.opt MesaGLUT.dsp book/ % ls win32 MesaDemos-3dfx.ncb MesaDemos-demos.ncbRULES/ samples/ MesaDemos-book.ncb MesaDemos-samples.ncb demos/ Which one is needed? Both? -Brian ___ Mesa-dev maillist - [EMAIL PROTECTED] http://listsmesa3dorg/mailman/listinfo/mesa-dev ___ Mesa-dev maillist - [EMAIL PROTECTED] http://lists.mesa3d.org/mailman/listinfo/mesa-dev
RE: [Mesa-dev] Win32 directory in CVS?
I can update the DSP files, but that would move them over to DevStudio 6 as I no longer have DevStudio 5, and I don't know how that would affect the user base at all (they DSP/DSW files are NOT compatible across versions, although 6 will load -and convert- 5's). Opinions? I'm using 6 at work and home, so that would suit me fine. -- Gareth ___ Mesa-dev maillist - [EMAIL PROTECTED] http://lists.mesa3d.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] Win32 directory in CVS?
"Hughes, Gareth" wrote: Win32 support is moving away from the IDE and to the command line, so win32/ looks more like the right one (according to the README.WIN32). However, we need NMAKE.MAK and NMAKE.MIF to build Mesa... Ted, any help here? I've taken my 3.0 Win32/ dir and hacked the workspace/project files to work, so I guess that will do for now. (Actually I think I sent a message about this some time ago) I have compiled the Mesa using the win32 files. I think the only modification needed was adding vertices.c into RULES/lib.mesagl.core If somebody puts the win32 directory into CVS I could check a CVS diff and do some more testing. ___ Mesa-dev maillist - [EMAIL PROTECTED] http://lists.mesa3d.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] Win32 directory in CVS?
"Hughes, Gareth" wrote: Is there still meant to be one? The Win32 makefiles seem to live here, but as this directory isn't in CVS anymore it seems kinda hard to build Mesa for Win32. Or am I just missing something? :-) This would greatly assist in me getting the new tessellation code in - I no longer have a home machine and my new one doesn't arrive 'til the weekend. I could upload the code at work tommorrow, but that machine is Win32 only. Mesa 3.0 had both Win32/ and win32/ directories: % ls Win32 3dfx/MesaDemos-samples.dsw MesaGLUT32.dsp demos/ GLUT-SGIGL.dsp MesaDemos-samples.opt MesaLib.dsw fxMesaGL32.dsp MesaDemos-3dfx.dsw MesaGL.dsp MesaLib.ncb res/ MesaDemos-3dfx.opt MesaGL32.aps MesaLib.opt s3MesaGL32.dsp MesaDemos-book.dsw MesaGL32.dsp NMAKE.MAK samples/ MesaDemos-book.opt MesaGLU.dspNMAKE.MIF MesaDemos-demos.dsw MesaGLU32.dsp RULES/ MesaDemos-demos.opt MesaGLUT.dsp book/ % ls win32 MesaDemos-3dfx.ncb MesaDemos-demos.ncbRULES/ samples/ MesaDemos-book.ncb MesaDemos-samples.ncb demos/ Which one is needed? Both? -Brian ___ Mesa-dev maillist - [EMAIL PROTECTED] http://lists.mesa3d.org/mailman/listinfo/mesa-dev