Trying to compile client: Cannot open include file: 'revision.h': No such file or directory

Added by nestath over 2 years ago

After a while trying to figure out why is this happening and, also, trying to find some similar problem on this forum I couldn't find a answer...

I am currently getting this result trying to compile ryzom client:

1>------ Build started: Project: ZERO_CHECK, Configuration: Release Win32 ------
2>------ Build started: Project: Ryzom, Client - Ryzom Core Client, Configuration: Release Win32 ------
2>  libwww.cpp
2>..\..\..\..\ryzom\client\src\libwww.cpp(35): fatal error C1083: Cannot open include file: 'revision.h': No such file or directory
========== Build: 1 succeeded, 1 failed, 11 up-to-date, 0 skipped ==========

and building the project to generate revision.h I'm getting this result:

1>------ Build started: Project: ZERO_CHECK, Configuration: Release Win32 ------
2>------ Build started: Project: revision, Configuration: Release Win32 ------
2>  Generating revision.h
========== Build: 2 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

but cant find this header inside solution anyway...

any sugestions?

ps: using {windows7/32bits, vs2010, cMake 2.8.9}. Everything runs ok in CMake process but after, in VS, it is happening.


Replies (3)

RE: Trying to compile client: Cannot open include file: 'revision.h': No such file or directory - Added by kervala over 2 years ago

Hi,

Normally, it should find hg.exe, but if you didn't put TortoiseHg folder in path, you can have this error.

I'll be fixing it, by checking if hg.exe is not found, don't create revision.h

I'll update this topic when fix is commited :)

RE: Trying to compile client: Cannot open include file: 'revision.h': No such file or directory - Added by nestath over 2 years ago

Thank you very much Kervala, I've put TortoiseHG on my path and it works fine for now...

RE: Trying to compile client: Cannot open include file: 'revision.h': No such file or directory - Added by kervala over 2 years ago

You're welcome :)

My fix should be commited now, by the way, the Hg repository is now : https://bitbucket.org/ryzom/ryzomcore

We moved to Bitbucket and we still have to update all links :s

(1-3/3)