Chromium build failed - chromium

I'm trying to build Chromium 40.0.2214.111
ninja -C out/Release chrome
But it failed with the error:
FAILED: ninja -t msvc -e environment.x86 -- "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\amd64_x86\cl.exe" /nologo /showIncludes /FC #obj\device
bluetooth\device_bluetooth.bluetooth_low_energy_defs_win.obj.rsp /c ..\..\device\bluetooth\bluetooth_low_energy_defs_win.cc /Foobj\device\bluetooth\device_blue
ooth.bluetooth_low_energy_defs_win.obj /Fdobj\device\bluetooth\device_bluetooth.cc.pdb
c:\program files (x86)\windows kits\8.1\include\um\bluetoothleapis.h(685) : error C2061: syntax error : identifier 'PFNBLUETOOTH_GATT_EVENT_CALLBACK'
c:\program files (x86)\windows kits\8.1\include\um\bluetoothleapis.h(711) : error C2065: 'BLUETOOTH_GATT_EVENT_HANDLE' : undeclared identifier
c:\program files (x86)\windows kits\8.1\include\um\bluetoothleapis.h(711) : error C2146: syntax error : missing ')' before identifier 'EventHandle'
c:\program files (x86)\windows kits\8.1\include\um\bluetoothleapis.h(711) : warning C4229: anachronism used : modifiers on data are ignored
c:\program files (x86)\windows kits\8.1\include\um\bluetoothleapis.h(713) : error C2059: syntax error : ')'
[8/6758] ACTION Generating C++ API bundle code for function registration
ninja: build stopped: subcommand failed.
I have tried to solve the issue with the google, but I did not succeed

Related

fb-prophet python package installation failed with exit status 2

I have a typical issue installing fbprophet package on Windows with pip. Now it's something else.
Here're my specs:
Windows Server 2019 64-bit OS, x64-based processor
AMD EPYC 75020 32-Core Processor
Python 3.9.10
pip 22.0.2 from C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\site-packages\pip (python 3.9)
installed the latest Microsoft C++ Build Tools from here https://visualstudio.microsoft.com/visual-cpp-build-tools/
Tried installing like
pip install fbprophet --user AND also without --user
Log:
C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\src\stan/io/cmd_line.hpp(32): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\src\stan/lang/rethrow_located.hpp(117): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\src\stan/model/indexing/rvalue_index_size.hpp(20): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data
C:\Users\ADMINI~1\AppData\Local\Temp\3\pystan_d0i2q6os\stanfit4anon_model_f5236004a3fd5b8429270d00efcc0cf9_3508975502107987478.cpp(5153): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
error: Command "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -IC:\Users\ADMINI~1\AppData\Local\Temp\3\pystan_d0i2q6os -IC:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan -IC:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\src -IC:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math -IC:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\lib\eigen_3.3.3 -IC:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\lib\boost_1.69.0 -IC:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\lib\sundials_4.1.0\include -IC:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\site-packages\numpy\core\include -IC:\Users\Administrator\AppData\Local\Programs\Python\Python39\include -IC:\Users\Administrator\AppData\Local\Programs\Python\Python39\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include -IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt /EHsc /TpC:\Users\ADMINI~1\AppData\Local\Temp\3\pystan_d0i2q6os\stanfit4anon_model_f5236004a3fd5b8429270d00efcc0cf9_3508975502107987478.cpp /FoC:\Users\ADMINI~1\AppData\Local\Temp\3\pystan_d0i2q6os\Users\ADMINI~1\AppData\Local\Temp\3\pystan_d0i2q6os\stanfit4anon_model_f5236004a3fd5b8429270d00efcc0cf9_3508975502107987478.obj /EHsc -DBOOST_DATE_TIME_NO_LIB /std:c++14" failed with exit status 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> fbprophet
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

"cannot open file 'user32.lib'" when trying to use Visual Studio 2005 on Windows 10

I'm attempting to match output with a C++ Win32 executable compiled with Visual Studio 2005, so I'm trying to use that MSVC to do so. I have a project defined in CMake. I open "Visual Studio 2005 Command Prompt", but when I try to cmake -G "NMake Makefiles" .. I get LINK : fatal error LNK1104: cannot open file 'user32.lib'.
Here's the CMakeLists.txt:
cmake_minimum_required(VERSION 3.15)
# set the project name
project(LEGOStarWarsSaga)
# add the executable
add_executable(LEGOStarWarsSaga src/main.cpp)
Here's the Visual Studio 2005 Command Prompt output:
C:\Users\aprim\Documents\lstsc>mkdir build
C:\Users\aprim\Documents\lstsc>cd build
C:\Users\aprim\Documents\lstsc\build>cmake -G "NMake Makefiles" ..
-- The C compiler identification is MSVC 14.0.50727
-- The CXX compiler identification is MSVC 14.0.50727
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 8/VC/bin/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 8/VC/bin/cl.exe - broken
CMake Error at C:/Program Files/CMake/share/cmake-3.19/Modules/CMakeTestCCompiler.cmake:66 (message):
The C compiler
"C:/Program Files (x86)/Microsoft Visual Studio 8/VC/bin/cl.exe"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: C:/Users/aprim/Documents/lstsc/build/CMakeFiles/CMakeTmp
Run Build Command(s):nmake /nologo cmTC_41947\fast && "C:\Program Files (x86)\Microsoft Visual Studio 8\VC\BIN\nmake.exe" -f CMakeFiles\cmTC_41947.dir\build.make /nologo -L CMakeFiles\cmTC_41947.dir\build
Building C object CMakeFiles/cmTC_41947.dir/testCCompiler.c.obj
C:\PROGRA~2\MI30EB~1\VC\bin\cl.exe #C:\Users\aprim\AppData\Local\Temp\nmBDB4.tmp
testCCompiler.c
Linking C executable cmTC_41947.exe
"C:\Program Files\CMake\bin\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\cmTC_41947.dir --rc=C:\PROGRA~2\MI30EB~1\VC\bin\rc.exe --mt=C:\PROGRA~2\MI30EB~1\VC\bin\mt.exe --manifests -- C:\PROGRA~2\MI30EB~1\VC\bin\link.exe /nologo #CMakeFiles\cmTC_41947.dir\objects1.rsp #C:\Users\aprim\AppData\Local\Temp\nmBE13.tmp
LINK Pass 1: command "C:\PROGRA~2\MI30EB~1\VC\bin\link.exe /nologo #CMakeFiles\cmTC_41947.dir\objects1.rsp /out:cmTC_41947.exe /implib:cmTC_41947.lib /pdb:C:\Users\aprim\Documents\lstsc\build\CMakeFiles\CMakeTmp\cmTC_41947.pdb /version:0.0 /machine:X86 /debug /INCREMENTAL:YES /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:CMakeFiles\cmTC_41947.dir/intermediate.manifest CMakeFiles\cmTC_41947.dir/manifest.res" failed (exit code 1104) with the following output:
LINK : fatal error LNK1104: cannot open file 'user32.lib'
NMAKE : fatal error U1077: '"C:\Program Files\CMake\bin\cmake.exe"' : return code '0xffffffff'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 8\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:4 (project)
-- Configuring incomplete, errors occurred!
See also "C:/Users/aprim/Documents/lstsc/build/CMakeFiles/CMakeOutput.log".
See also "C:/Users/aprim/Documents/lstsc/build/CMakeFiles/CMakeError.log".
After reading online, I've come to find that this is something to do with missing the Windows SDK. However, I have the Windows SDKs 7.1 and 10.0 installed. What am I missing?
Bonus points if there's a build tool that'll make this process (nearly) seamless for anyone cloning the project.
EDIT: Installing Visual Studio 2005 Professional with the full Visual C++ option installs the SDK properly, and the project builds. My worry is that not everyone has access to VS 2005 Pro.

pyGObject installation error

I accidentally deleted 'pyGObject' package from python3.6 interpreter. After trying to reinstall I get the following error message.
C:\WINDOWS\system32>pip install pygobject
Collecting pygobject
Using cached PyGObject-3.28.2.tar.gz
Collecting pycairo>=1.11.1 (from pygobject)
Using cached pycairo-1.16.3.tar.gz
Building wheels for collected packages: pygobject, pycairo
Running setup.py bdist_wheel for pygobject ... error
Complete output from command "c:\program files\python\python36\python.exe" -u -c "import setuptools, tokenize;__file__='C:\\Users\\ISHARA~1\\AppData\\Local\\Temp\\pip-build-c0j2dbt2\\pygobject\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d
.
.
.
copying gi\overrides\__init__.py -> build\lib.win-amd64-3.6\gi\overrides
running build_ext
pycairo: new API
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\ISHARA~1\AppData\Local\Temp\pip-build-c0j2dbt2\pygobject\setup.py", line 840, in <module>
main()
.
.
.
File "C:\Users\ISHARA~1\AppData\Local\Temp\pip-build-c0j2dbt2\pygobject\setup.py", line 532, in find_new_api
import cairo
ModuleNotFoundError: No module named 'cairo'
----------------------------------------
Failed building wheel for pygobject
.
.
.
c:\users\ishara madhawa\appdata\local\temp\pip-build-c0j2dbt2\pycairo\cairo\pycairo.h(37): fatal error C1083: Cannot open include file: 'cairo.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2
.
.
.
creating build\temp.win-amd64-3.6\Release\cairo
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DPYCAIRO_VERSION_MAJOR=1 -DPYCAIRO_VERSION_MINOR=16 -DPYCAIRO_VERSION_MICRO=3 "-Ic:\program files\python\python36\include" "-Ic:\program files\python\python36\include" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\\winrt" /Tccairo/device.c /Fobuild\temp.win-amd64-3.6\Release\cairo/device.obj
device.c
c:\users\ishara madhawa\appdata\local\temp\pip-build-c0j2dbt2\pycairo\cairo\pycairo.h(37): fatal error C1083: Cannot open include file: 'cairo.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2
----------------------------------------
Command ""c:\program files\python\python36\python.exe" -u -c "import setuptools, tokenize;__file__='C:\\Users\\ISHARA~1\\AppData\\Local\\Temp\\pip-build-c0j2dbt2\\pycairo\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\ISHARA~1\AppData\Local\Temp\pip-qffygonq-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\ISHARA~1\AppData\Local\Temp\pip-build-c0j2dbt2\pycairo\
Please can any one help me to sort out this error?

CMake "RUN_TESTS" or "test" target

In my "plange_superbuild" CMakeLists.txt, I have:
add_test(plange_test ${CMAKE_COMMAND} --build ${CMAKE_BINARY_DIR}/prefix/src/plange-build --target test)
which should invoke the "plange" sub-project's test target, and works fine when using the Makefile generator. However, the CMake Testing documentation explains:
[ enable_testing() ] adds another build target, which is test for Makefile generators,
or RUN_TESTS for integrated development environments (like Visual
Studio).
So, my snippet doesn't work on builds with an IDE because I'm just saying "test". How can I make the command also work in IDE builds?
I've thought of some possible workaround options. One is to use an existing CMake variable, should it exist, to get the name of the test target. That is a variable (lets call it CMAKE_TEST_TARGET) that would be equal to test except in IDE builds where it would be equal to RUN_TESTS, allowing the following:
add_test(plange_test ${CMAKE_COMMAND} --build ${CMAKE_BINARY_DIR}/prefix/src/plange-build --target ${CMAKE_TEST_TARGET})
I'm not aware of such a variable though. Perhaps I could detect IDE based builds via the CMAKE_GENERATOR variable (or MSVC and similar) and manually set the so-called CMAKE_TEST_TARGET variable. That would require knowing (and maintaining) the exact logic that CMake uses to determine "test" or "RUN_TESTS" in my CMakeLists.txt, which would be unreliable.
My other thought is to invoke ctest directly using a variable (let's call is CTEST_COMMAND) that's similar to CMAKE_COMMAND, but points to the ctest executable. Again, I'm not aware of such a variable.
Edit: There is CMAKE_CTEST_COMMAND See https://stackoverflow.com/a/736838/395029 and my comment therein
I derived this variable from CMAKE_COMMAND, using get_filename_component() to extract the bin directory, but this depends on CMAKE_COMMAND not having any embedded arguments. Is that a safe assumption? This works with the Makefile generator, but not with VC++2017 generator. The error message in VC++ is not clear, but here's what I tried:
get_filename_component(CMAKE_EXECUTABLES_DIR ${CMAKE_COMMAND} DIRECTORY)
set(CTEST_COMMAND "${CMAKE_EXECUTABLES_DIR}/ctest${CMAKE_EXECUTABLE_SUFFIX}")
add_test(NAME plange_test COMMAND ${CTEST_COMMAND} WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/prefix/src/plange-build)
The error message in VC++2017 in the superbuild project:
1>The following tests FAILED:
1> 1 - plange_test (Failed)
1>Errors while running CTest
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): error MSB3073: The command "setlocal
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): error MSB3073: "C:\Program Files\CMake\bin\ctest.exe" --force-new-ctest-process -C Debug
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmEnd
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmErrorLevel
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): error MSB3073: exit /b %1
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmDone
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): error MSB3073: :VCEnd" exited with code 8.
1>Done building project "RUN_TESTS.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
I was able to run the command from that error output successully:
C:\...\plange.build\prefix\src\plange-build>ctest --force-new-ctest-process -C Debug
but:
C:\...\plange.build>ctest --force-new-ctest-process -C Debug
fails, so that makes the failure even more confusing. Are one of these common practice? Is there some superior (working) approach that I haven't considered?
Edit: with CMAKE_CTEST_COMMAND I learned that "-C Debug" isn't passed, which makes it fail in IDE. See my comments
In cmake source you can find a variable that is undocummented but may serve your purpose if you are using include(CTest) instead of enable_testing()
Check out this commit: https://github.com/Kitware/CMake/commit/816c9d1aa1f2b42d40c81a991b68c96eb12b6d26#diff-73eaa76f278a4e8afe41a9ffb838ccc4:
# If requested, add an alias that is the equivalent of the built-in "test"
# or "RUN_TESTS" target:
if(CTEST_TEST_TARGET_ALIAS)
add_custom_target(${CTEST_TEST_TARGET_ALIAS}
${CMAKE_CTEST_COMMAND} ${__conf_types}
USES_TERMINAL
)
endif()
endif()
Meaning that if in your Cmakelist.txt you call set(CTEST_TEST_TARGET_ALIAS my_name_for_target_test) and then include(CTest), you can use reliably the my_name_for_target_test acording to this comment (I did not check myself if this really does the trick). Since this alias is created via add_custom_target, this is not a builtins target and you dont have the (really annoying) limitations of thoses, including not being able to add a dependency on it / from it.

GDCM vtk msvc2013

I have successfully built VTK 7.1.1 and Qt 5.3.2 with MSVC2013. I have downloaded GCDM and configured with Cmake with no shared_lib. I can build the ALL_BUILD project in GDCM solution configured with CMake, but the INSTALL project can not be built and it gives me this error:
1>------ Build started: Project: vtkgdcm, Configuration: Debug x64 ------
1> vtkImageMapToColors16.cxx
1>c:\vtk\gdcm-2.6.7\utilities\vtk\vtkImageMapToColors16.h(116): error C2555: 'vtkImageMapToColors16::GetMTime': overriding virtual function return type differs and is not covariant from 'vtkObject::GetMTime'
1> C:\VTK\VTK-7.1.1\Common\Core\vtkObject.h(107) : see declaration of 'vtkObject::GetMTime'
2>------ Build started: Project: INSTALL, Configuration: Debug x64 ------
2> -- Install configuration: "Debug"
2> CMake Error at cmake_install.cmake:31 (file):
2> file INSTALL cannot find "C:/VTK/bin/../../../bin/vtkCommonCore-7.1.dll".
2>
2>
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: The command "setlocal
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: "C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Debug -P cmake_install.cmake
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :cmEnd
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :cmErrorLevel
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: exit /b %1
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :cmDone
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :VCEnd" exited with code 1.
========== Build: 0 succeeded, 2 failed, 17 up-to-date, 0 skipped ==========
It says it can not find vtkCommonCore-7.1.dll ,and that file does not exist on my vtk, but the .lib version of the file exists.
Can anybody save me?
I solved my problem this way:
First, I built the .dll missing files by building VTK using shared_libs option ON.
Secondly, as Jamey mentioned I fixed the error C2555 by changing the definition of GetMTime in vtkImageMapToColors16, apparently VTK version 7.1.1 was not compatible with GDCM 2.6. So I changed the output type of GetMTime function from long int to output of the virtual function in vtkObject::GetMTime.