Hello.
I am practicing with latest pymol src on windows.

1. I have installed the latest python and ran
>python setup.py build
It crashed compying about lack of Visual Studio 2003 and thus C compiler.

2. I have installed cygwin, mingw and compiled glut to mingw folder. When I run
>python setup.py build -c mingw32
I get the following. Do you have any suggestions? By the way, is there
any other suitable way to compile pymol in windows?

Thanks!


C:\SVN\pymol>python setup.py build -c mingw32
running build
running build_py
running build_ext
building 'pymol._cmd' extension
c:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -D_PYMOL_MODULE
-DWIN32 -D_HAVE_LIBPNG -Iov/src -Ilayer0 -Ilayer1 -Ilayer2 -
Ilayer3 -Ilayer4 -Ilayer5 -Iwin32/include -IC:\Python25\include
-IC:\Python25\PC -c layer0/Block.c -o build\temp.win32-2.5\R
elease\layer0\block.o
In file included from layer0/Block.c:16:
layer0/os_predef.h:43: warning: ignoring #pragma comment
layer0/os_predef.h:89: warning: ignoring #pragma comment
layer0/os_predef.h:94: warning: ignoring #pragma comment
layer0/os_predef.h:95: warning: ignoring #pragma comment
layer0/os_predef.h:96: warning: ignoring #pragma comment
layer0/os_predef.h:97: warning: ignoring #pragma comment
layer0/os_predef.h:98: warning: ignoring #pragma comment
layer0/os_predef.h:99: warning: ignoring #pragma comment
layer0/os_predef.h:100: warning: ignoring #pragma comment
layer0/os_predef.h:101: warning: ignoring #pragma comment
layer0/os_predef.h:104: warning: ignoring #pragma comment
In file included from layer0/os_predef.h:169,
                 from layer0/Block.c:16:
ov/src/ov_types.h:57: error: syntax error before "ov_int64"
ov/src/ov_types.h:57: warning: type defaults to `int' in declaration
of `ov_int64'
ov/src/ov_types.h:57: warning: data definition has no type or storage class
ov/src/ov_types.h:58: error: syntax error before "ov_uint64"
ov/src/ov_types.h:58: warning: type defaults to `int' in declaration
of `ov_uint64'
ov/src/ov_types.h:58: warning: data definition has no type or storage class
ov/src/ov_types.h:160: error: syntax error before "ov_int64"
ov/src/ov_types.h:160: warning: no semicolon at end of struct or union
ov/src/ov_types.h:160: warning: no semicolon at end of struct or union
ov/src/ov_types.h:161: warning: type defaults to `int' in declaration
of `uint64'
ov/src/ov_types.h:161: warning: data definition has no type or storage class
ov/src/ov_types.h:180: error: syntax error before "ov_int64"
ov/src/ov_types.h:180: warning: no semicolon at end of struct or union
ov/src/ov_types.h:181: warning: type defaults to `int' in declaration
of `uint64'
ov/src/ov_types.h:181: error: conflicting types for 'uint64'
ov/src/ov_types.h:161: error: previous declaration of 'uint64' was here
ov/src/ov_types.h:181: warning: data definition has no type or storage class
ov/src/ov_types.h:182: error: syntax error before '}' token
ov/src/ov_types.h:182: warning: type defaults to `int' in declaration of `ptr'
ov/src/ov_types.h:182: warning: data definition has no type or storage class
ov/src/ov_types.h:184: error: syntax error before '}' token
ov/src/ov_types.h:184: warning: type defaults to `int' in declaration of `data'
ov/src/ov_types.h:184: warning: data definition has no type or storage class
ov/src/ov_types.h:185: error: syntax error before '}' token
ov/src/ov_types.h:193: warning: parameter has incomplete type
ov/src/ov_types.h:193: warning: parameter has incomplete type
ov/src/ov_types.h:194: warning: parameter has incomplete type
ov/src/ov_types.h:194: warning: parameter has incomplete type
ov/src/ov_types.h:194: warning: parameter has incomplete type
error: command 'gcc' failed with exit status 1

Reply via email to