Problem compiling scummvm

Ask for help with ScummVM problems

Moderator: ScummVM Team

Post Reply
User avatar
Vorph
Posts: 91
Joined: Sat Nov 19, 2005 4:58 pm
Location: Germany

Problem compiling scummvm

Post by Vorph » Thu May 12, 2011 8:06 pm

Hello there...

I couldn't compile the last revisions of scummvm due to the following error:

src\scummvm-svn\base\internal_version.h(8): fatal error C1083: Cannot open include file: 'internal_revision.h': No such file or directory

The file is missing indeed and doesn't seem to exist on the github either...

Vorph

User avatar
Julien
ScummVM Developer
Posts: 25
Joined: Wed Jul 11, 2007 2:45 am
Location: Boston, USA

Post by Julien » Thu May 12, 2011 10:14 pm

Hi!

A couple questions:
  • Are you using Visual Studio 2010 or Visual Studio 2008/2005?
  • Did you use the default batch file in the dists folder or did you use a custom command line? If so, can you copy the one you used?
  • Are you building out-of-tree (ie. not inside one of the msvc8/9/10 folders)?
  • Did you touch the generated project files in any way (changing build events, etc.)?
  • What does the rest of the build log say? In particular, at the start of the scummvm compilation (after all the engines have been compiled), does it say anything about failing to determine a revision number?
Thanks!

User avatar
Vorph
Posts: 91
Joined: Sat Nov 19, 2005 4:58 pm
Location: Germany

Post by Vorph » Fri May 13, 2011 5:13 am

Hello,

- I'm using Visual Studio 2010
- I used the standard "create_msvc10.bat" file, if thats the one you are talking about...using a freshly complied "create_project.exe"
- ehhh ?? I don't think so...
- noooo
- here is the complete output:

32>------ Rebuild All started: Project: scummvm, Configuration: Debug Win32 ------
32> Executing Pre-Build script...
32>
32> [Error] Invalid number of arguments (was: 8, expected: 2)
32> Performing Custom Build Tools
32> Performing Custom Build Tools
...
32>d:\microsoft visual studio 10.0\src\scummvm-svn\common\algorithm.h(248): warning C4146: unary minus operator applied to unsigned type, result still unsigned
...
32>d:\microsoft visual studio 10.0\src\scummvm-svn\base\internal_version.h(8): fatal error C1083: Cannot open include file: 'internal_revision.h': No such file or directory
========== Rebuild All: 31 succeeded, 1 failed, 0 skipped ==========

Thanks for the quick reply

Vorph

User avatar
Julien
ScummVM Developer
Posts: 25
Joined: Wed Jul 11, 2007 2:45 am
Location: Boston, USA

Post by Julien » Fri May 13, 2011 5:27 am

Thanks! Will have a fix ready sometimes tomorrow.

User avatar
Vorph
Posts: 91
Joined: Sat Nov 19, 2005 4:58 pm
Location: Germany

Post by Vorph » Sat May 14, 2011 4:09 pm

Thanx alot this far...

Compiling is working again. :D

Kind regards

Vorph

Post Reply