[Bf-committers] Link errors with MSVC

Stephen Swaney bf-committers@blender.org
Wed, 03 Sep 2003 21:26:20 -0500


Matt Ebb wrote:
> 
> Hi, I'm trying to compile (clean build) the current bf-blender CVS using
> MSVC6, and I'm getting the following error:
> 
> Linking...
>    Creating library ..\..\bin\blender.lib and object ..\..\bin\blender.exp
>                     -- snip --
> BPY_python.lib(BPY_interface.obj) : error LNK2001: unresolved external
> symbol _bpy_registryDict
> BPY_python.lib(Blender.obj) : error LNK2001: unresolved external symbol
> _Registry_Init
> ..\..\bin\blender.exe : fatal error LNK1120: 2 unresolved externals
> Error executing link.exe.
> 
> I don't know whether it's just that the project files aren't updated, or if
> it's something in the code itself, and I don't know how to fix it myself.
> Just thought I'd mention it in case it's a problem :)

There's some new stuff down in the .../python/api2_2x dir.
Registry.[ch] for example.  I'm guessing these need to be added
to your project file.  I'm not afflicted with VisualC++ at the
moment so I can't tell for sure.

-- 
Stephen Swaney			
sswaney@swbell.net