It looks like you are not compiling all the files.

Be sure you have these files in your project:

Added files to project list:
hash_table.[ch]
lex.yy.c with -D
YY_NO_UNISTD_H
YY_USE_CONST
_CRT_SECURE_NO_DEPRECATE
_CRT_NONSTDC_NO_DEPRECATE
program_parse_extra.c
program_parse_tab.[ch] with -D
YYMALLOC=malloc
YYFREE=free
prog_parameter_layout.[ch]
symbol_table.[ch]
syncobj.[ch]

Somehow you didn't pick up the new windows/VC8/mesa/mesa/mesa.vcproj  file.
Maybe you had it open when you replaced it.

Moving to VS 2008 won't help.

Hint:  If you see that a symbol is unresolved, try looking for that symbol
in the source files and then determine if the source file(s) defining the
symbol are being built.

On Tue, Nov 17, 2009 at 2:29 AM, Delle <dell...@gmail.com> wrote:

>
> Thank you guys for the response!
>
> The Compile error has gone. But now I have a Link error:
>
> Using Visual Studio 2005, now I try with Visual Studio 2008... ;-)
>
> 1>------ Build started: Project: gdi, Configuration: Debug Static CRT Win32
> ------
> 1>Linking...
> 1>   Creating library C:\Documents and
> Settings\XXX\Desktop\Mesa-7.6\windows\VC8\mesa\Debug Static
> CRT\OPENGL32.lib
> and object C:\Documents and
> Settings\XXX\Desktop\Mesa-7.6\windows\VC8\mesa\Debug Static
> CRT\OPENGL32.exp
> 1>driverfuncs.obj : error LNK2019: unresolved external symbol
> __mesa_init_sync_object_functions referenced in function
> __mesa_init_driver_functions
> 1>mesa.lib(context.obj) : error LNK2019: unresolved external symbol
> __mesa_init_sync referenced in function _init_attrib_groups
> 1>mesa.lib(context.obj) : error LNK2019: unresolved external symbol
> __mesa_free_sync_data referenced in function __mesa_free_context_data
> 1>mesa.lib(api_exec.obj) : error LNK2019: unresolved external symbol
> __mesa_getsyn...@20 referenced in function __mesa_init_exec_table
> 1>mesa.lib(api_exec.obj) : error LNK2019: unresolved external symbol
> __mesa_waits...@16 referenced in function __mesa_init_exec_table
> 1>mesa.lib(api_exec.obj) : error LNK2019: unresolved external symbol
> __mesa_clientwaits...@16 referenced in function __mesa_init_exec_table
> 1>mesa.lib(api_exec.obj) : error LNK2019: unresolved external symbol
> __mesa_fences...@8 referenced in function __mesa_init_exec_table
> 1>mesa.lib(api_exec.obj) : error LNK2019: unresolved external symbol
> __mesa_deletes...@4 referenced in function __mesa_init_exec_table
> 1>mesa.lib(api_exec.obj) : error LNK2019: unresolved external symbol
> __mesa_iss...@4 referenced in function __mesa_init_exec_table
> 1>mesa.lib(shared.obj) : error LNK2019: unresolved external symbol
> __mesa_unref_sync_object referenced in function __mesa_free_shared_state
> 1>mesa.lib(arbprogparse.obj) : error LNK2019: unresolved external symbol
> __mesa_parse_arb_program referenced in function
> __mesa_parse_arb_fragment_program
> 1>C:\Documents and Settings\XXX\Desktop\Mesa-7.6\windows\VC8\mesa\Debug
> Static CRT\OPENGL32.dll : fatal error LNK1120: 11 unresolved externals
> 1>Build log was saved at "file://c:\Documents and
> Settings\XXX\Desktop\Mesa-7.6\windows\VC8\mesa\gdi\Debug Static
> CRT\BuildLog.htm"
> 1>gdi - 12 error(s), 0 warning(s)
> 2>------ Build started: Project: glu, Configuration: Debug Static CRT Win32
> ------
> 3>------ Build started: Project: osmesa, Configuration: Debug Static CRT
> Win32 ------
> 3>Linking...
> 2>Linking...
> 3>   Creating library C:\Documents and
> Settings\XXX\Desktop\Mesa-7.6\windows\VC8\mesa\Debug Static
> CRT\OSMESA32.lib
> and object C:\Documents and
> Settings\XXX\Desktop\Mesa-7.6\windows\VC8\mesa\Debug Static
> CRT\OSMESA32.exp
> 2>   Creating library C:\Documents and
> Settings\XXX\Desktop\Mesa-7.6\windows\VC8\mesa\Debug Static CRT\GLU32.lib
> and object C:\Documents and
> Settings\XXX\Desktop\Mesa-7.6\windows\VC8\mesa\Debug Static CRT\GLU32.exp
> 3>Embedding manifest...
> 3>Performing Post-Build Event...
> 3>        1 file(s) copied.
> 2>Embedding manifest...
> 3>        1 file(s) copied.
> 3>Build log was saved at "file://c:\Documents and
> Settings\XXX\Desktop\Mesa-7.6\windows\VC8\mesa\osmesa\Debug Static
> CRT\BuildLog.htm"
> 3>osmesa - 0 error(s), 0 warning(s)
> 2>Performing Post-Build Event...
> 2>        1 file(s) copied.
> 2>        1 file(s) copied.
> 2>Build log was saved at "file://c:\Documents and
> Settings\XXX\Desktop\Mesa-7.6\windows\VC8\mesa\glu\Debug Static
> CRT\BuildLog.htm"
> 2>glu - 0 error(s), 0 warning(s)
> ========== Build: 2 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
> --
> View this message in context:
> http://old.nabble.com/Error-building-MesaLib-7.6-onto-Win32-with-Microsoft-Visual-Studio-2005-and-2008-tp25990977p26386773.html
> Sent from the mesa3d-dev mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Mesa3d-dev mailing list
> Mesa3d-dev@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to