vs2010 Build error,odd![CMake 2.8.3 / VS2010]

Added by xingbarking over 7 years ago

I'm use next manuals:

http://dev.ryzom.com/wiki/ryzom/BuildForWindows
http://dev.ryzom.com/wiki/ryzom/EverythingWindows

...
1> CMake does not need to re-run because C:/Ryzom/code/build/ryzom/server/src/shard_unifier_service/CMakeFiles/generate.stamp is up-to-date.
1> CMake does not need to re-run because C:/Ryzom/code/build/ryzom/server/src/tick_service/CMakeFiles/generate.stamp is up-to-date.
1>FinalizeBuildStatus:
A similar error for each project:
7>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(253,5): error MSB3491: Could not write lines to file“ryzom_landexport.dir\Debug\Ryzom, Library, World: Land Export.lastbuildstate”。 The network path was not found.。


Replies (8)

RE: vs2010 Build error,odd!!!!!!!!!![Environmental Testing buding] - Added by vl over 7 years ago

I don't see any error in the log!
Just informative messages that says your system is up to date

RE: vs2010 Build error,odd!!!!!!!!!![Environmental Testing buding] - Added by xingbarking over 7 years ago

A similar error for each project
7>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(253,5): error MSB3491: Could not write lines to file“ryzom_landexport.dir\Debug\Ryzom, Library, World: Land Export.lastbuildstate”。 The network path was not found.。

RE: vs2010 Build error,odd![CMake 2.8.3 / VS2010] - Added by xingbarking over 7 years ago

help me! if change Cmake 2.8.2 ,error:
C:\ryzom\external_stlport\include\stlport\stl/_cstddef.h(31): fatal error C1083: Cannot open include file: '../include/cstddef': No such file or directory

RE: vs2010 Build error,odd![CMake 2.8.3 / VS2010] - Added by Yar over 7 years ago

I can confirm both behaviours with Cmake 2.8.2 and 2.8.3.

Must be some cahnges to the CMakeFiles ... but where exactly...

RE: vs2010 Build error,odd![CMake 2.8.3 / VS2010] - Added by Solitude over 7 years ago

I have a similar error to above, could you tell me what your solution was? Or if anyone can point me in the right direction for mine (if it is not related)?

133>------ Build started: Project: NeL, Tools, 3D: Zone Viewer, Configuration: Release Win32 ------
133>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(253,5): error MSB3491: Could not write lines to file "zviewer.dir\Release\NeL, Tools, 3D: Zone Viewer.lastbuildstate". The given path's format is not supported.

one of these errors for each project :(

Thanks.

VS2010, cmake2.8.3

RE: vs2010 Build error,odd![CMake 2.8.3 / VS2010] - Added by dfighter over 7 years ago

I'm using VS2k10 pro and cMake 2.8.3, and I've found a possible solution to this.
The problem basically is the filenames of those lastbuildstate files, since they are generated according to the project label, and "Ryzom, Library, World: Land Export.lastbuildstate" is not really a valid filename.
The patch I'm including with this post changes that to use the "name" variable for project label generation in the NL_DEFAULT_PROPS macro.
It's probably a bad solution since I am new to cMake, but it did make this error go away.

vs2k10.diff (704 Bytes) Magnifier

RE: vs2010 Build error,odd![CMake 2.8.3 / VS2010] - Added by kervala over 7 years ago

Thanks dfighter :)

I will investigate further in VC++ 2010 configuration as soon MS will provides a Windows SDK compatible with it, which is not the case currently.

RE: vs2010 Build error,odd![CMake 2.8.3 / VS2010] - Added by dfighter over 7 years ago

That's kinda sad.
Anyways even after getting rid of this error there are issues still.
In debug mode cmake somehow generates incompatible compiler flags ( rtc1 and o2 ). I tried to find out where and how but I'm not experienced enough yet.
In release mode there is some inclusion issue with the STL port. So it's still a no-go.

The only partial success I could achieve with vs2k10 was with nmake generator, but even then the client fails to build, I'll see if I can make that somehow work out.

(1-8/8)