Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: vs2005 compile error - version.sh.exe  (Read 6119 times)

0 Members and 1 Guest are viewing this topic.

sdamon

  • Anope User
  • Offline Offline
  • Posts: 15
vs2005 compile error - version.sh.exe
« on: August 13, 2006, 02:29:15 AM »

Code: [Select]
C:devanope-1.7.15>nmake -f Makefile.win32

Microsoft (R) Program Maintenance Utility   Version 7.00.8882
Copyright (C) Microsoft Corp 1988-2000. All rights reserved.

        cl /D USE_MYSQL /D USE_RDB /w /O2 /MD /I "C:Program FilesMicrosoft Vis
ual Studio 8VCInclude" /I "C:Program FilesMicrosoft Platform SDKInclude" /I
 "C:Program FilesMySQLMySQL Server 5.0Include" /D HAVE_MYSQL_MYSQL_H include
version.sh.c /link /LIBPATH:"C:Program FilesMicrosoft Visual Studio 8VCLib"
 /LIBPATH:"C:Program FilesMicrosoft Platform SDKLib"
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86
Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.

version.sh.c
Microsoft (R) Incremental Linker Version 7.10.3077
Copyright (C) Microsoft Corporation.  All rights reserved.

/out:version.sh.exe
"/LIBPATH:C:Program FilesMicrosoft Visual Studio 8VCLib"
"/LIBPATH:C:Program FilesMicrosoft Platform SDKLib"
version.sh.obj
version.sh.obj : warning LNK4229: invalid directive '/manifestdependency:type='w
in32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='x86
' publicKeyToken='1fc8b3b9a1e18e3b'' encountered; ignored
MSVCRT.lib(crtexe.obj) : warning LNK4229: invalid directive '/manifestdependency
:type='win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitect
ure='x86' publicKeyToken='1fc8b3b9a1e18e3b'' encountered; ignored
        version.sh.exe
NMAKE : fatal error U1077: 'version.sh.exe' : return code '0xc0000135'
Stop.


the error stems from not generateing a manifest file for version.sh.exe.  I do not know how to fix that...

[Edited on 13-8-2006 by sdamon]
Logged

heinz

  • Guest
(No subject)
« Reply #1 on: August 13, 2006, 03:00:25 AM »

Er, the error is actually you compiling with the version 7 compiler (VS.NET 2003) instead of the version 8 compiler (VS 2005). You need to ensure you start the correct command prompt window for the compiler you are using.
Logged

sdamon

  • Anope User
  • Offline Offline
  • Posts: 15
(No subject)
« Reply #2 on: August 13, 2006, 03:06:05 AM »

...
*learns to read*
...
*uninstalls 2003*
Logged

sdamon

  • Anope User
  • Offline Offline
  • Posts: 15
(No subject)
« Reply #3 on: August 13, 2006, 03:21:29 AM »

Logged

heinz

  • Guest
(No subject)
« Reply #4 on: August 13, 2006, 03:31:45 AM »

Things work well as they are at the moment, but embedding the manifest inside the executable is an idea for the future.
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
(No subject)
« Reply #5 on: August 13, 2006, 07:54:54 AM »

Looks fairly straight forward to do too ... Would tidy things up nicely.
Logged

Jobe

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1023
    • Anope IRC Services
(No subject)
« Reply #6 on: August 13, 2006, 12:55:26 PM »

And would have prevented the missing manifest file problem we had to start with, with the Windows pre-compiled version.
:P
Logged
Your IP: ()
My IRC Status:

Come along and visit http://www.anopequotes.org/
Pages: [1]   Go Up