Tina,

        "layer0/MemoryCache.c" is missing from the list of sources in
the setup.py file.  If you add that in right after the
"layer0/MemoryDebug.c", it should build.

Sorry about that!

Cheers,
Warren


--
mailto:war...@delanoscientific.com
Warren L. DeLano, Ph.D.
Principal Scientist
DeLano Scientific LLC
Voice (650)-346-1154 
Fax   (650)-593-4020

> -----Original Message-----
> From: pymol-users-ad...@lists.sourceforge.net [mailto:pymol-users-
> ad...@lists.sourceforge.net] On Behalf Of Tina Li
> Sent: Friday, August 22, 2003 10:31 AM
> To: pymol-users@lists.sourceforge.net
> Subject: [PyMOL] linker errors on win32?
> 
> Hello,
> 
> I was following instructions in setup/INSTALL.win32 (as in pymol-0_90-
> src.tgz)
> to build PyMOL. I have all the external components (glut, zlib,
libpng) in
> place. When I tried
> 
> python setup.py build
> 
> It generated linker errors:
> 
> C:\Program Files\Microsoft Visual Studio\VC98\BIN\link.exe /DLL
/nologo
> /INCREME
> NTAL:NO /LIBPATH:win32/lib /LIBPATH:C:\Python22\libs opengl32.lib
> glu32.lib
> glut
> 32.lib libpng.lib zlib.lib /EXPORT:init_cmd
> build\temp.win32-2.2\Release\Block.o [...more .obj here...]
> ...
>    Creating library build\temp.win32-2.2\Release\_cmd.lib and object
> build\temp.win32-2.2\Release\_cmd.exp
> Map.obj : error LNK2001: unresolved external symbol _MemoryCacheFree
> MemoryDebug.obj : error LNK2001: unresolved external symbol
> _MemoryCacheFree
> Basis.obj : error LNK2001: unresolved external symbol _MemoryCacheFree
> Ray.obj : error LNK2001: unresolved external symbol _MemoryCacheFree
> Map.obj : error LNK2001: unresolved external symbol _MemoryCacheMalloc
> MemoryDebug.obj : error LNK2001: unresolved external symbol
> _MemoryCacheMalloc
> Basis.obj : error LNK2001: unresolved external symbol
_MemoryCacheMalloc
> Ray.obj : error LNK2001: unresolved external symbol _MemoryCacheMalloc
> Map.obj : error LNK2001: unresolved external symbol _MemoryCacheCalloc
> MemoryDebug.obj : error LNK2001: unresolved external symbol
> _MemoryCacheRealloc
> main.obj : error LNK2001: unresolved external symbol _MemoryCacheDone
> main.obj : error LNK2001: unresolved external symbol _MemoryCacheInit
> build\lib.win32-2.2\pymol\_cmd.pyd : fatal error LNK1120: 6 unresolved
> externals
> 
> error: command '"C:\Program Files\Microsoft Visual
> Studio\VC98\BIN\link.exe"'
> failed with exit status 1120
> 
> I wonder if I'm missing a particular library.
> 
> 
> Thanks much,
> 
> Tina
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: VM Ware
> With VMware you can run multiple operating systems on a single
machine.
> WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
> at the same time. Free trial click
> here:http://www.vmware.com/wl/offer/358/0
> _______________________________________________
> PyMOL-users mailing list
> PyMOL-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pymol-users


Reply via email to