We are attempting to compile pymol on windows so that it is compiled against
the version of python that we use in all of our other software (due to our
IT situation this would make our plugin development substantially easier).
Our version of python is 2.6. We are using the distutils method where our
command to compile is 'python.exe setup.py build'
After dealing with all of the dependencies and fixing os_predef.h to ask the
linker to use recent versions of libraries it almost completely compiled. We
are stuck at the end with the following link error:

mfcs90.lib(nolib.obj) : error LNK2001: unresolved external symbol "int
__cdecl _
AfxInitManaged(void)" (?_AfxInitManaged@@YAHXZ)
mfcs90.lib(stdafx.obj) : error LNK2001: unresolved external symbol "int
__cdecl
_AfxInitManaged(void)" (?_AfxInitManaged@@YAHXZ)

 We have looked for a way to get this symbol in our program and are at a
loss. Google points to precompiled header issues but as far as we can tell,
distutils is not making use of precompiled headers.

If anyone has had any experience with this or any suggestions it would be
greatly appreciated.

thanks,

aaron bryden
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to