From: Paul M. <p.e...@ru...> - 2006-08-24 08:25:09
|
Hi, Sorry, the previous mail was accidently sent before I finished it... I'm trying to build CR1.9-rc4 in the cygwin shell. The build goes quite a long way, but fails with a linker error. At first, there was a minor glitch in spu/tilesort/tilesortspu_diffapi.c, in which diffGetString() (line 137) wasn't defined as __stdcall. Because of this the assignment on line 356 fails as the variable the function is assigned to is of type GetStringFunc_t, which is: typedef const GLubyte * (SPU_APIENTRY *GetStringFunc_t)(GLenum); (include/spu_dispatch_table.h, line 830) This was easy to fix by adding the __stdcall qualifier to diffGetString(). But in building the tilesort SPU there's a linker error: Linking ../../built/tilesortspu/WIN_NT/tilesortspu.dll Creating library ../../built/tilesortspu/WIN_NT/tilesortspu.lib and object .. /../built/tilesortspu/WIN_NT/tilesortspu.exp tilesortspu_client.obj : error LNK2019: unresolved external symbol _crStateUseSe rverArrayElements referenced in function _tilesortspu_DrawElements@16 ../../built/tilesortspu/WIN_NT/tilesortspu.dll : fatal error LNK1120: 1 unresolv ed externals make[3]: *** [../../built/tilesortspu/WIN_NT/tilesortspu.dll] Error 2 make[2]: *** [dep] Error 2 make[1]: *** [tilesort.subdir] Error 2 make: *** [spu.subdir] Error 2 I checked to see where crStateUseServerArrayElements() is defined and it is in crstate.lib. But this lib is explicitly not linked on windows, so I'm unsure how to fix this... Any clues? Paul -- Paul Melis VR Specialist, Center for High-Performance Computing & Visualization, University of Groningen, The Netherlands T: +31 50 363 9298 E: p.e...@ru... W: http://www.rug.nl/rc/hpcv/index ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Chromium-users mailing list Chr...@li... https://lists.sourceforge.net/lists/listinfo/chromium-users -- Paul Melis VR Specialist, Center for High-Performance Computing & Visualization, University of Groningen, The Netherlands T: +31 50 363 9298 E: p.e...@ru... W: http://www.rug.nl/rc/hpcv/index |