Page 1 of 1

Build Issues with VSC 2015

Posted: 25 Mar 2018, 06:25
by Greendogo
I just reinstalled Windows and while trying to build the OpenMW with the installer I'm getting an MSB3073 error. The first of such errors looks like this:

Code: Select all

Severity	Code	Description	Project	File	Line	Suppression State
Error	MSB3073	The command "setlocal
"C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
:VCEnd" exited with code 1.	INSTALL	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets	133	
Any ideas on what is causing this and how to fix it? It's specifically just when I try to build the INSTALL project.

Re: Build Issues with VSC 2015

Posted: 25 Mar 2018, 14:11
by AnyOldName3
I wouldn't bother with the install project. You've already got working executables before it works.

Re: Build Issues with VSC 2015

Posted: 25 Mar 2018, 14:28
by Greendogo
I understand why you'd say that, however my goal is to produce an installer, not just get the executables.

Re: Build Issues with VSC 2015

Posted: 19 May 2018, 16:13
by Greendogo
Bump, anyone there to help me get the installer building working? Where do I put all the dlls, for example?

Re: Build Issues with VSC 2015

Posted: 20 May 2018, 13:42
by Ace (SWE)
To get an installer you need to install NSIS and build the PACKAGE project, it'll grab all the DLLs from the Release folder to include in the installer.

It'll also look for a vcredist_[x86/x64].exe file in the solution folder that'll be baked in for installing the required Visual C++ redistributable.

I honestly don't think the INSTALL project has ever worked on Windows, not that I've personally tested it.

Re: Build Issues with VSC 2015

Posted: 14 Jun 2018, 08:54
by Greendogo
Thanks Ace, that worked! :D

Re: Build Issues with VSC 2015

Posted: 14 Jun 2018, 09:21
by psi29a
I've noticed on AppVeyor that we have constant failures with MSVC2015 but MSVC2017 _always_ works. There is something funky going on with logging output, so I'm not sure if is MSVC2015 or something AppVeyor or VM related.

Can we either set the AppVeyor to ignore the result of msvc2015 or can we just get rid of it all-together. Getting rid of it saves us having to wait for the build to complete before starting the msvc2017 build.