Bug #1431

VS2010 annoying warning

Added by pavelb almost 7 years ago. Updated almost 7 years ago.

Status:Rejected Start date:02/23/2012
Priority:Low Due date:
Assignee:pavelb % Done:

0%

Category:Build
Target version:Version 0.9.0

Description

There are about 2100 same warnings when you re-build all Ryzom solution. I understand that warning is not that important, but when you have so many of them you won't see some important one.
The warning is "Warning 3 warning MSB4057: The target "CoreCompile" does not exist in the project. NeL, Library-NeL Misc".

WarningCoreCompile.png (425.6 kB) pavelb, 02/23/2012 04:38 pm

Version1922.png (90.4 kB) pavelb, 02/23/2012 07:14 pm

History

#1 Updated by kervala almost 7 years ago

Please could you confirm you generated solutions and project for VC++ 2010 with CMake ?

This errors seems to appear only when creating VC++ 2008 projects and converting them to VC++ 2010.

Edit: See bug report on http://connect.microsoft.com/VisualStudio/feedback/details/459119/msb4057-with-application-depending-on-nmake-project

#2 Updated by pavelb almost 7 years ago

Yes
These days I played around a lot with it. It is "Visual Studio 10" with "Native compilers" option. I did it again now. Even deleted cache, for clean test. It didn't help. Still have this warning.

#3 Updated by kervala almost 7 years ago

How did you replace the ":" by "-" ? If you did it by hand, you surely changed target names too. You should revert all your changes and update again with TortoiseHg.

#4 Updated by pavelb almost 7 years ago

kervala wrote:

How did you replace the ":" by "-" ? If you did it by hand, you surely changed target names too. You should revert all your changes and update again with TortoiseHg.

I changed it in nel.cmake - see revision 1922

#5 Updated by pavelb almost 7 years ago

Also, we should add in documentation that for VS2010 we have to copy [VC++ folder]\redist to the external_stlport, according to the line 539 from nel.cmake

#6 Updated by kervala almost 7 years ago

pavelb wrote:

kervala wrote:

How did you replace the ":" by "-" ? If you did it by hand, you surely changed target names too. You should revert all your changes and update again with TortoiseHg.

I changed it in nel.cmake - see revision 1922

Sorry to say that, but that's your local changes that we can't see :)

#7 Updated by pavelb almost 7 years ago

kervala wrote:

pavelb wrote:

kervala wrote:

How did you replace the ":" by "-" ? If you did it by hand, you surely changed target names too. You should revert all your changes and update again with TortoiseHg.

I changed it in nel.cmake - see revision 1922

Sorry to say that, but that's your local changes that we can't see

can you connect to the irc?

#8 Updated by pavelb almost 7 years ago

Here is the revision.

#9 Updated by pavelb almost 7 years ago

pavelb wrote:

Here is the revision.

  1. Argument: ###
    MACRO
    - IF
    - SET_TARGET_PROPERTIES(${name} PROPERTIES PROJECT_LABEL ${label})
    - ENDIF
    + SET ( newLabel ${label})
    + IF
    + string(REPLACE ": " "-" newLabel ${label})
    + ENDIF
    + SET_TARGET_PROPERTIES(${name} PROPERTIES PROJECT_LABEL ${newLabel})
    GET_TARGET_PROPERTY(type ${name} TYPE)
    IF # Set versions only if target is a shared library

#10 Updated by pavelb almost 7 years ago

Close this task I figured out what caused this warning and it isn't related to the Ryzom itself and even to the CMake. It's somehow related to the targets for the Sharepoint, located in MSBuild\4.0\AfterInstall folder and tried to load them. So, for now, I have just removed this targets file from there.

#11 Updated by kervala almost 7 years ago

  • Status changed from New to Rejected

Also available in: Atom PDF