From: Jianrong S. <jia...@gm...> - 2009-07-17 22:21:05
|
I fixed most of the problems except that the linker couldn't find the definition of _finite function, which is Microsoft's implementation of isfinite. The error messages as follows: 1>mesa.lib(s_aatriangle.obj) : error LNK2001: unresolved external symbol _finite 1>mesa.lib(s_aaline.obj) : error LNK2001: unresolved external symbol _finite 1>mesa.lib(prog_execute.obj) : error LNK2019: unresolved external symbol _finite referenced in function __mesa_execute_program 1>mesa.lib(s_triangle.obj) : error LNK2001: unresolved external symbol _finite 1>mesa.lib(s_lines.obj) : error LNK2001: unresolved external symbol _finite 1>mesa.lib(s_points.obj) : error LNK2001: unresolved external symbol _finite This problem might be caused by some settings in the project file, but I couldn't figure out. Any ideas? Thanks, Jianrong On Wed, Jun 24, 2009 at 4:24 PM, Brian Paul<br...@vm...> wrote: > Jianrong Shu wrote: >> >> Hi there, >> >> I tried to build Mesa 7.5 branch on Windows using Visual Studio 2008 >> and the VC8 solution file and got several errors. >> >> First, the "mesa" project included a file "prog_debug.c", which >> doesn't exist. After deleting it from the project, I was able to >> compile it successfully. Then, when building the "gdi" project, I got >> the following error messages: >> >> 1>Linking... >> 1>mesa.def : error LNK2001: unresolved external symbol >> _mesa_get_compressed_teximage >> 1>mesa.def : error LNK2001: unresolved external symbol >> _mesa_get_program_register >> 1>mesa.def : error LNK2001: unresolved external symbol _mesa_get_teximage >> 1>mesa.def : error LNK2001: unresolved external symbol >> _mglapi_check_multithread >> 1>mesa.def : error LNK2001: unresolved external symbol >> _mglapi_get_proc_address >> >> I also tried the master branch and the same problem exists. Any fix to >> this? > > The Visual Studio project files haven't been actively maintained lately > (we've been using scons on Windows). > > If you can provide updated project files, that'd be great. It's just a > matter of removing references to old/removed files and adding the new ones. > > -Brian > > |