Message: error MSB3073 on Visual Studio Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None error MSB3073 on Visual Studio 

Forum: Installation and Configuration
Date: Jan 13, 02:17
From: Christopher Walker <Christopher Walker>

Hello,
   I am using Geant4 10.5, cmake 3.13.1, Windows 10, visual studio 2017.

I issued the command: cmake -G "Visual Studio 15 2017" -DCMAKE_INSTALL_PREFIX=C:\Users\chris\Geant4\geant4_10_05-install -DGEANT4_USE_OPENGL_WIN32=ON -DGEANT4_INSTALL_DATA=ON C:\Users\chris\Geant4\geant4_10_05

from the directory: C:\Users\chris\Geant4\geant4_10_05-build>

followed by: cmake --build . --config Release

followed by: cmake --build . --config Release --target install

I now get a lot of error MSB3073 reports (see bottom of this post) at the completion of the last command. A search of previous error reports suggests that this error can be caused by spaces in the install path. e.g. here: http://hypernews.slac.stanford.edu:5090/HyperNews/geant4/get/installconfig/1493.html

 However, there are no spaces in my install path. The are hyphens and underscores, but no spaces. Any suggestions welcome.

Thanks Chris

  -- Installing: C:/Users/chris/Geant4/geant4_10_05-install/include/Geant4/G4OpenGLWin32Viewer.hh
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,
5): error MSB3073: The command "setlocal [C:\Users\chris\Geant4\geant4_10_05-build\install.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,
5): error MSB3073: "C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake [C:\Users\chris\G
eant4\geant4_10_05-build\install.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,
5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd [C:\Users\chris\Geant4\geant4_10_05-build\install.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,
5): error MSB3073: :cmEnd [C:\Users\chris\Geant4\geant4_10_05-build\install.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,
5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone [C:\Users\chris\Geant4\geant4_10_05-build\
install.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,
5): error MSB3073: :cmErrorLevel [C:\Users\chris\Geant4\geant4_10_05-build\install.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,
5): error MSB3073: exit /b %1 [C:\Users\chris\Geant4\geant4_10_05-build\install.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,
5): error MSB3073: :cmDone [C:\Users\chris\Geant4\geant4_10_05-build\install.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,
5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd [C:\Users\chris\Geant4\geant4_10_05-build\install.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,
5): error MSB3073: :VCEnd" exited with code -1. [C:\Users\chris\Geant4\geant4_10_05-build\install.vcxproj]
Done Building Project "C:\Users\chris\Geant4\geant4_10_05-build\install.vcxproj" (default targets) -- FAILED.

Build FAILED.

"C:\Users\chris\Geant4\geant4_10_05-build\install.vcxproj" (default target) (1) ->
(PostBuildEvent target) ->
  EXEC : CMake error : failed to create symbolic link 'WIN32-VC': operation not permitted [C:\Users\chris\Geant4\geant4
_10_05-build\install.vcxproj]
  C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(13
8,5): error MSB3073: The command "setlocal [C:\Users\chris\Geant4\geant4_10_05-build\install.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,
5): error MSB3073: "C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake [C:\Users\chris\G
eant4\geant4_10_05-build\install.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,
5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd [C:\Users\chris\Geant4\geant4_10_05-build\install.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,
5): error MSB3073: :cmEnd [C:\Users\chris\Geant4\geant4_10_05-build\install.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,
5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone [C:\Users\chris\Geant4\geant4_10_05-build\
install.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,
5): error MSB3073: :cmErrorLevel [C:\Users\chris\Geant4\geant4_10_05-build\install.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,
5): error MSB3073: exit /b %1 [C:\Users\chris\Geant4\geant4_10_05-build\install.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,
5): error MSB3073: :cmDone [C:\Users\chris\Geant4\geant4_10_05-build\install.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,
5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd [C:\Users\chris\Geant4\geant4_10_05-build\install.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,
5): error MSB3073: :VCEnd" exited with code -1. [C:\Users\chris\Geant4\geant4_10_05-build\install.vcxproj]

    0 Warning(s)
    2 Error(s)

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Feedback: Re: error MSB3073 on Visual Studio   (Ben Morgan - Jan 24, 03:29)
(_ None: Re: error MSB3073 on Visual Studio   (Christopher Walker - Jan 27, 02:46)
(_ None: Re: error MSB3073 on Visual Studio   (Christopher Walker - Jan 27, 10:17)
 Add Message Add Message
to: "error MSB3073 on Visual Studio"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]