Difference between revisions of "Documentation/Labs/CMake-ified Python/2.7.3-VS2008-02042013"

From Slicer Wiki
Jump to: navigation, search
(Created page with '== Configure == No configure errors, but many options disabled due to missing libraries. == Build == First build: <pre> 1>------ Build started: Project: libpython-static, Con…')
 
Line 5: Line 5:
 
== Build ==
 
== Build ==
  
First build:
+
===First build ===
  
 
<pre>
 
<pre>
Line 26: Line 26:
 
4>Project not selected to build for this solution configuration  
 
4>Project not selected to build for this solution configuration  
 
========== Build: 0 succeeded, 3 failed, 2 up-to-date, 1 skipped ==========
 
========== Build: 0 succeeded, 3 failed, 2 up-to-date, 1 skipped ==========
 +
</pre>
 +
 +
=== Second Build ===
 +
 +
moved "strict-prototypes" flag to non-windows only.
 +
 +
Thousands of warnings, then:
 +
<pre>
 +
3>Compiling manifest to resources...
 +
3>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
 +
3>Copyright (C) Microsoft Corporation.  All rights reserved.
 +
3>Linking...
 +
3>LINK : fatal error LNK1104: cannot open file 'dl.lib'
 +
3>Build log was saved at "file://c:\pieper\CMakePython\cpython-2.7.3-build\cmake\python\python.dir\Debug\BuildLog.htm"
 +
3>python - 1 error(s), 48 warning(s)
 +
4>------ Skipped Build: Project: INSTALL, Configuration: Debug x64 ------
 +
4>Project not selected to build for this solution configuration
 +
========== Build: 2 succeeded, 1 failed, 2 up-to-date, 1 skipped ==========
 
</pre>
 
</pre>

Revision as of 13:31, 4 February 2013

Home < Documentation < Labs < CMake-ified Python < 2.7.3-VS2008-02042013

Configure

No configure errors, but many options disabled due to missing libraries.

Build

First build

1>------ Build started: Project: libpython-static, Configuration: Debug x64 ------
2>------ Build started: Project: pgen, Configuration: Debug x64 ------
2>Compiling...
1>Compiling...
2>cl : Command line error D8021 : invalid numeric argument '/Wstrict-prototypes'
2>Build log was saved at "file://c:\pieper\CMakePython\cpython-2.7.3-build\cmake\pgen\pgen.dir\Debug\BuildLog.htm"
2>pgen - 1 error(s), 0 warning(s)
1>cl : Command line error D8021 : invalid numeric argument '/Wstrict-prototypes'
1>Build log was saved at "file://c:\pieper\CMakePython\cpython-2.7.3-build\cmake\libpython\libpython-static.dir\Debug\BuildLog.htm"
1>libpython-static - 1 error(s), 0 warning(s)
3>------ Build started: Project: python, Configuration: Debug x64 ------
3>Compiling...
3>cl : Command line error D8021 : invalid numeric argument '/Wstrict-prototypes'
3>Build log was saved at "file://c:\pieper\CMakePython\cpython-2.7.3-build\cmake\python\python.dir\Debug\BuildLog.htm"
3>python - 1 error(s), 0 warning(s)
4>------ Skipped Build: Project: INSTALL, Configuration: Debug x64 ------
4>Project not selected to build for this solution configuration 
========== Build: 0 succeeded, 3 failed, 2 up-to-date, 1 skipped ==========

Second Build

moved "strict-prototypes" flag to non-windows only.

Thousands of warnings, then:

3>Compiling manifest to resources...
3>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
3>Copyright (C) Microsoft Corporation.  All rights reserved.
3>Linking...
3>LINK : fatal error LNK1104: cannot open file 'dl.lib'
3>Build log was saved at "file://c:\pieper\CMakePython\cpython-2.7.3-build\cmake\python\python.dir\Debug\BuildLog.htm"
3>python - 1 error(s), 48 warning(s)
4>------ Skipped Build: Project: INSTALL, Configuration: Debug x64 ------
4>Project not selected to build for this solution configuration 
========== Build: 2 succeeded, 1 failed, 2 up-to-date, 1 skipped ==========