Yarp compilation issues

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Yarp compilation issues

guillaume_gibert
Hi all,
I have the following compilation error when trying to compile YARP (updated today using git) on a PC with windows 7 and visual c++ 2010:

3>  CMake Error at src/libYARP_OS/cmake_install.cmake:44 (FILE):
3>    file INSTALL cannot find
3>    "D:/_software/robotology/yarp_new/yarp/build/$(Configuration)/bin/YARP_OSd.dll".
3>  Call Stack (most recent call first):
3>    src/cmake_install.cmake:32 (INCLUDE)
3>    cmake_install.cmake:162 (INCLUDE)
3>  
3>  
3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: La commande "setlocal
3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: "C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -DBUILD_TYPE=Debug -P cmake_install.cmake
3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :cmEnd
3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :cmErrorLevel
3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: exit /b %1
3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :cmDone
3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd
3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :VCEnd" s'est arrêtée avec le code 1.
3>
3>ÉCHEC de la build.
3>
3>Temps écoulé 00:00:00.35

It happens when building the target INSTALL.  When building the target ALL_BUILD everything works fine.
Any suggestion is very much appreciated,
Best regards,
Guillaume Gibert
--
Guillaume Gibert, PhD
INSERM U846
Stem-Cell and Brain Research Institute
18 avenue Doyen Lépine
69675 Bron
Tel.: +33 (0)4 72 91 34 82
Fax: +33 (0)4 72 91 34 61
Web: http://swooz.free.fr
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Yarp compilation issues

paulfitz
Administrator
Hi Guillaume,

Thanks for reporting this.  I've replicated the problem and started an
issue for it here:
   https://github.com/robotology/yarp/issues/226

Cheers,
Paul

On 09/11/2014 02:44 PM, guillaume_gibert wrote:

> Hi all,
> I have the following compilation error when trying to compile YARP (updated
> today using git) on a PC with windows 7 and visual c++ 2010:
>
> 3>  CMake Error at src/libYARP_OS/cmake_install.cmake:44 (FILE):
> 3>    file INSTALL cannot find
> 3>
> "D:/_software/robotology/yarp_new/yarp/build/$(Configuration)/bin/YARP_OSd.dll".
> 3>  Call Stack (most recent call first):
> 3>    src/cmake_install.cmake:32 (INCLUDE)
> 3>    cmake_install.cmake:162 (INCLUDE)
> 3>
> 3>
> 3>C:\Program Files
> (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error
> MSB3073: La commande "setlocal
> 3>C:\Program Files
> (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error
> MSB3073: "C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -DBUILD_TYPE=Debug
> -P cmake_install.cmake
> 3>C:\Program Files
> (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error
> MSB3073: if %errorlevel% neq 0 goto :cmEnd
> 3>C:\Program Files
> (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error
> MSB3073: :cmEnd
> 3>C:\Program Files
> (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error
> MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
> 3>C:\Program Files
> (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error
> MSB3073: :cmErrorLevel
> 3>C:\Program Files
> (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error
> MSB3073: exit /b %1
> 3>C:\Program Files
> (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error
> MSB3073: :cmDone
> 3>C:\Program Files
> (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error
> MSB3073: if %errorlevel% neq 0 goto :VCEnd
> 3>C:\Program Files
> (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error
> MSB3073: :VCEnd" s'est arrêtée avec le code 1.
> 3>
> 3>ÉCHEC de la build.
> 3>
> 3>Temps écoulé 00:00:00.35
>
> It happens when building the target INSTALL.  When building the target
> ALL_BUILD everything works fine.
> Any suggestion is very much appreciated,
> Best regards,
> Guillaume Gibert
>
>
>
> -----


------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Robotcub-hackers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/robotcub-hackers
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Yarp compilation issues

guillaume_gibert
Thanks Paul! It works fine with your solution (replacing ${CMAKE_CFG_INTDIR} with ${CONFIG} in conf/YarpOptions.cmake).
Best,
Guillaume
--
Guillaume Gibert, PhD
INSERM U846
Stem-Cell and Brain Research Institute
18 avenue Doyen Lépine
69675 Bron
Tel.: +33 (0)4 72 91 34 82
Fax: +33 (0)4 72 91 34 61
Web: http://swooz.free.fr
Loading...