Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: An error while compiling anope on windows  (Read 8603 times)

0 Members and 1 Guest are viewing this topic.

Kn0ck3D

  • Guest
An error while compiling anope on windows
« on: September 14, 2006, 09:56:13 PM »

hey all
I have two versions of visual c++ installed on my system
C++ 2003 and C++ 2005 and each one has command prompt.

For compiling the anope version i used both of them but did not work,

here what i get:-



Please help me,,
thank you very much.
Logged

Kn0ck3D

  • Guest
(No subject)
« Reply #1 on: September 17, 2006, 04:35:27 PM »

still waiting for answer///
Logged

Tom65789

  • Anope User
  • Offline Offline
  • Posts: 343
    • www.t65789.co.uk
(No subject)
« Reply #2 on: September 17, 2006, 08:35:53 PM »

which version of Anope are you trying to compile.

Kn0ck3D

  • Guest
1.7.15
« Reply #3 on: September 17, 2006, 11:19:31 PM »

1.7.15
Logged

heinz

  • Guest
(No subject)
« Reply #4 on: September 20, 2006, 05:07:31 PM »

Let me know if you're still having this issue or not. At a guess i'd say PlatformSDK was either missing or installed into it's "new name folder" and it missed it, and suggested that you were using VC6 instead.
Logged

Kn0ck3D

  • Guest
(No subject)
« Reply #5 on: September 23, 2006, 10:57:15 AM »

hey heinz
am quite sure that PlatformSDK is well installed and even updated.
I installed 2 versions of SDK trying to solve this problem.
I used PlatformSDK of Windows Xp services pack 2
and I used PlatformSDK for Windows server 2003 R2
,,

Here is my set :

Logged

heinz

  • Guest
(No subject)
« Reply #6 on: September 23, 2006, 12:54:14 PM »

Did you run install.js? If so, what did it say when detecting a compiler?

I see you are using the D drive instead of the C drive, so you'll need to edit install.js to reflect this.
Logged

Kn0ck3D

  • Guest
(No subject)
« Reply #7 on: September 23, 2006, 01:15:33 PM »

yeah heinz,, i ran the command install.js
and i got this:-




I saw two errors .. it seems like missing files

MSVCRT.lib

How can i get this file? how to install it ? what is the suitable path to put it after downloading it? because am quite sure that i installed microsoft visual studio 2005 and 2003 carefully and with "FULL" option and not "CUSTOM".
so how is it possible to miss that file?
please help me to figure it out..

Thank you very much.
Logged

heinz

  • Guest
(No subject)
« Reply #8 on: September 23, 2006, 01:21:22 PM »

Quote
Originally posted by heinz
I see you are using the D drive instead of the C drive, so you'll need to edit install.js to reflect this.


If you haven't done what I suggested there, then you'll see these errors as it thinks you're installing to the C drive.

Open install.js with Wordpad or something, and find the following line:

var defaultDrive = "C";

and change it to:

var defaultDrive = "D";

and then it should detect your installations.
Logged

Kn0ck3D

  • Guest
(No subject)
« Reply #9 on: September 23, 2006, 01:45:33 PM »

Yes , I have edited the file install.js and changed the valuedriver from c to d
I got new errors ,,

here what i got:-



But it could not be ,,

please see this

as i said am quite sure that everything is okay and i have installed everything well, its impossible that there are missing files.
see my pictures:-










and above as i showed u the "set" .
Logged

heinz

  • Guest
(No subject)
« Reply #10 on: September 23, 2006, 02:25:49 PM »

You appear to have the newer version of PSDK installed, so you'll need to go into the 'Program Files' folder and rename the folder:

'Microsoft Platform SDK for Windows Server 2003 R2'
to
'Microsoft Platform SDK'

Or you can wait for the next 1.7 release (or use the SVN version) which will correct this problem.
Logged

Kn0ck3D

  • Guest
(No subject)
« Reply #11 on: September 23, 2006, 02:35:58 PM »

How can i get the SVN version ? and how to use it?

THanks a lot for helping.
Logged

heinz

  • Guest
(No subject)
« Reply #12 on: September 23, 2006, 03:20:28 PM »

http://dane.zero.org/websvn/dl.php?repname=Anope&path=%2Ftrunk%2F&rev=0&isdir=1

It's the same as the source tarball you downloaded.. so the same instructions apply.

[Edited on 23-9-2006 by heinz]
Logged

Kn0ck3D

  • Guest
(No subject)
« Reply #13 on: September 23, 2006, 04:21:28 PM »

heinz ,, thank you very much for your help,
they should call you c++ best master coder programmer brain.

sorry for this but i'm facing a new problem with the SVN version : -



[Edited on 23-9-2006 by Kn0ck3D]
Logged

heinz

  • Guest
(No subject)
« Reply #14 on: September 23, 2006, 04:27:17 PM »

Looks like it you have conflicting Visual Studio's installed on your system. Your compiling with .NET 2003, whilst it thinks you're using VS2005.

You should use the Visual C++ 2005 Command prompt if possible.
Logged

Kn0ck3D

  • Guest
(No subject)
« Reply #15 on: September 23, 2006, 04:30:15 PM »

hey heinz ,, the same error message with 2005 command prompt :S crazy
Logged

heinz

  • Guest
(No subject)
« Reply #16 on: September 23, 2006, 04:34:37 PM »

Okay, so, you probably have the .NET 2003 paths in your PATH line before the 2005 ones, which is why it's using the wrong compiler.

You'll probably need to edit your PATH variable and remove all references to .NET 2003, and then try with the 2005 command prompt again.
Logged

Kn0ck3D

  • Guest
(No subject)
« Reply #17 on: September 23, 2006, 09:26:03 PM »

Finallyyyyyyyyyyyyy
Yehaaaaaaaaaaao
Done Done Done!! :) thanksssssss a lot
heinz :P
you are great!




[Edited on 23-9-2006 by Kn0ck3D]
Logged
Pages: [1]   Go Up