MSBuild.exe and root

Hi.

I have problems with installing root. First, I did

cmake -G "Visual Studio 10" -DCMAKE_INSTALL_PREFIX=c:\root -DPOSTGRESQL_INCLUDE_DIR="C:\Program Files\PostgreSQL\9.3\include" -DPOSTGRESQL_LIBRARIES="C:\Program Files\PostgreSQL\9.3\lib\libpq.lib" ..\root
then

C:\Install\build>C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe ROOT.sln /t:Clean /p:Configuration=Release and

C:\Install\build>C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe ROOT.sln /t:Build /p:Configuration=Release
It worked. Now I have problems with installing:

Installing stops immediately and returns an error:

[quote]“C:\Install\build\ROOT.sln” (Install target) (1) ->
C:\Install\build\ROOT.sln.metaproj : error MSB4057: The target “Install” does
not exist in the project. [C:\Install\build\ROOT.sln][/quote]
Do you have any idea how to fix this?

Cheers, M

Hi,

I usually use CMake to build (i.e. “cmake --build . --config Debug --target install”), but you can try:

Cheers, Bertrand.