Failed to build 5.34.04 with VS2010 Express + CMake

Root version 5.34.04; Windows 7 64-bit with VS2010 Express and CMake 2.8.7.

First, CMake runs fine. Then, it’s OK to open the ROOT.sln and build “ALL_BUILD”. I failed to build “INSTALL” with the error below:

158>  -- Installing: D:/Exaos/Utils/ROOT/include/TSVG.h
158>  -- Installing: D:/Exaos/Utils/ROOT/lib/mathtext.lib
158>  CMake Error at graf2d/mathtext/cmake_install.cmake:44 (FILE):
158>    file INSTALL cannot find
158>    "D:/Exaos/Utils/Build-msvc10/root-5.34/bin/Debug/libmathtext.pdb".
158>  Call Stack (most recent call first):
158>    graf2d/cmake_install.cmake:36 (INCLUDE)
158>    cmake_install.cmake:173 (INCLUDE)
158>  
158>  
158>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: 命令“setlocal
158>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: "C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -DBUILD_TYPE=Debug -P cmake_install.cmake
158>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
158>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :cmEnd
158>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
158>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :cmErrorLevel
158>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: exit /b %1
158>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :cmDone
158>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd
158>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :VCEnd”已退出,代码为 1。
========== 生成: 成功 157 个,失败 1 个,最新 34 个,跳过 0 个 ==========

What’s wrong with “graf2d/mathtext/cmake_install.cmake”?

Can anybody provide a windows build package with Python 2.7 support?
The binaries avaliable are build against 2.6.6.

Hi,

All the Windows binaries have been re-built against python 2.7

Cheers, Bertrand.

[quote=“bellenot”]Hi,

All the Windows binaries have been re-built against python 2.7

Cheers, Bertrand.[/quote]
But I also failed to import ROOT (5.34.04) in Python 2.7.3:

[code]In [1]: import ROOT

ImportError Traceback (most recent call last)
in ()
----> 1 import ROOT

D:\Exaos\Utils\ROOT\bin\ROOT.py in ()
83 sys.setdlopenflags( 0x100 | 0x2 ) # RTLD_GLOBAL | RTLD_NOW
84
—> 85 import libPyROOT as _root
86
87 # reset dl flags if needed

ImportError: DLL load failed: %1 不是有效的 Win32 应用程序。[/code]
P.S., I successfully play with ROOT (5.34.00) in python 2.6 before.

Hi,

Well, I don’t have any problem with the latest build:

[code]C:\Users\bellenot\root_build\root_v5.34.04>python
Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] on win32
Type “help”, “copyright”, “credits” or “license” for more information.

import ROOT
ROOT.gROOT.GetVersion()
‘5.34/04’

[/code]
Which file did you download? (this is with root_v5.34.04.win32.vc10)

Cheers, Bertrand.

[quote=“bellenot”]
Which file did you download? (this is with root_v5.34.04.win32.vc10)

Cheers, Bertrand.[/quote]
Thanks! I downloaded the new tar built in 2013-01-22. It works like a breeze.