Talk:Hugin SDK (MSVC 2013)

From Wiki
Revision as of 18:48, 26 May 2016 by Thomas (talk | contribs) (zlib small issue)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

My SDK build issues

Hello, Trying to build HUGIN in 64 bits mode, i had the following issues

zlib small issue

I had to update INSTALL section of Cmak to build zlib in X64 mode. Perhaps I miss something. --Pmllc (talk) 15:42, 22 May 2016 (UTC)

I don't what you mean with "update INSTALL section" -- Thomas (talk) 16:04, 25 May 2016 (UTC)
I'm talking about the CMake INSTALL section which still point to c:\program Files directory instead of SDKROOT\zlib. It causes an access error (which is normal) during compilation :
------ Build started: Project: INSTALL, Configuration: Release x64 ------
7>  -- Install configuration: "Release"
7>  CMake Error at cmake_install.cmake:50 (file):
7>    file cannot create directory: C:/Program Files/zlib/lib.  Maybe need
7>    administrative privileges.
7>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: The command "setlocal
7>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: "C:\Program Files (x86)\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake
7>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
7>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :cmEnd
7>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
7>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :cmErrorLevel
7>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: exit /b %1
7>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :cmDone
7>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd
7>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :VCEnd" exited with code 1.

--Pmllc (talk) 16:47, 25 May 2016 (UTC)

The instructions mentions CMAKE_INSTALL_PREFIX = SDKROOT\zlib. Maybe this was somehow overridden? If you found a better way or a missing, add it or correct it. -- Thomas (talk) 16:48, 26 May 2016 (UTC)

libpng issue

I had to configure ZLIB_LIBRARY_RELEASE not ZLIB_LIBRARY --Pmllc (talk) 15:42, 22 May 2016 (UTC)

Thanks. I fixed this. You can do such small fixes also by yourself. There may be more of this kind. -- Thomas (talk) 16:04, 25 May 2016 (UTC)