From: Alessandro P. <al...@ti...> - 2000-07-05 14:30:31
|
Hi all. I'm having some problems with 3dnow and MMX optimized code compiling the Mesa3.2 for Win32 using 3dfx-Glide driver. I use MS-VC 6.0, NASM 0.98 and Glide SDK 2.x. The problem is: the code is compiled and linked successfully in opengl32.dll *only if* i do not set USE_X86_ASM nor USE_3DNOW_ASM nor USE_MMX_ASM, which i do adding /DUSE_xxx_ASM swtiches in the $(CPPOPTS) field of (mesadir)\WIN32\RULES\LIB.FXMESA and (mesadir)\WIN32\RULES\LIB.FXMESA32 . Enabling these switches (which make optimized routines becoming operative) cause code to be compiled successfully but resulting in a linked error from NASM during opengl32.dll creation. Also, as far as i see in makefile.fx file in (mesadir)\src, the file src\fx\x86\fx_3dnow_fastpath.S is NOT compiled 'cos it is missing in both lib.fxmesa and lib.fxmesa32. The error i obtain is specifically this: .\Release\fxmesa32\OpenGL32.dll ... NMAKE : fatal error U1077: 'E:\PROGRA~1\MICROS~2\VC98\BIN\link.exe' : return code '0x460' Stop. NMAKE : fatal error U1077: '"E:\PROGRAMMI\MICROSOFT VISUAL STUDIO\VC98\BIN\NMAKE.exe"' : return code '0x2' Stop. NMAKE : fatal error U1077: '"E:\PROGRAMMI\MICROSOFT VISUAL STUDIO\VC98\BIN\NMAKE.exe"' : return code '0x2' Stop. I found it happens IF AND ONLY IF the gl_init_xxx_asm_transforms() (where xxx can assume values of x86, 3dnow, mmx) function is compiled. Is this a known problem ? What can I do ? Thank you in advance, TXM --- Alessandro Pisani aka TXM - email:al...@ti..., ICQ #2209087 INWO Project Head-programmer - http://www.inwoproject.f2s.com/ Team Isa++ software design coder ----- http://teamisa.cjb.net/ |