Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Visual Studio  (Read 6340 times)

0 Members and 1 Guest are viewing this topic.

Jimmyhuybrechts

  • Guest
Visual Studio
« on: September 20, 2006, 06:20:00 PM »

I always used the precompiled but for this time i want to compile it myself. So i have installed visual studio 2005

And i have added:

C:\Program FilesMicrosoft Visual Studio 8
C:\Program FilesMicrosoft Platform SDK for Windows Server 2003 R2

To my path enviroment variables but it still says when i try to compile anope:

Looking for a suitable compiler...
Looking for: Microsoft visual studio 2005
ERROR: cannot find wsock32.lib - problably missing platform SDK.

ERROR: No suitable build tools were found!

What am i doing wrong as i know i have the sdk. I have windows xp service pack 2,
And can i get the modified build of anope?

[Edited on 20-9-2006 by Jimmyhuybrechts]
Logged

Tom65789

  • Anope User
  • Offline Offline
  • Posts: 343
    • www.t65789.co.uk
(No subject)
« Reply #1 on: September 20, 2006, 06:46:12 PM »

type "set" into your visual command prompt. see what the results are. then search for wsock32.lib see where it is and see if there is the path to that folder in LIBRARY

Pieter Bootsma

  • Team
  • *
  • Offline Offline
  • Posts: 189
    • http://geniusdex.net/
(No subject)
« Reply #2 on: September 20, 2006, 09:18:41 PM »

Have you downloaded and installed the platform SDK? And do you use the Visual Studio command prompt instead of the 'normal' command prompt?
Logged

heinz

  • Guest
(No subject)
« Reply #3 on: September 21, 2006, 01:51:16 PM »

Microsoft decided to change the location of the Platform SDK since I created install.js, so you have 2 choices:

1) Change the "Microsoft Platform SDK for Windows Server 2003 R2" folder to "Microsoft PlatformSDK"

2) Wait for 1.7.16 (or use the latest SVN revision) which corrects this problem.

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

Jimmyhuybrechts

  • Guest
(No subject)
« Reply #4 on: September 21, 2006, 03:45:51 PM »

Thanks for the answer Heinz,
Can you tell how i can download the anope version from SVN? Cause i think SDK chooses it's own path which isn't changeable.
Logged

heinz

  • Guest
(No subject)
« Reply #5 on: September 21, 2006, 03:50:40 PM »

You can rename the folder in c:\program files\ which will make it findable by install.js.

The latest svn revision tarball is available from here: http://dane.zero.org/websvn/dl.php?repname=Anope&path=%2Ftrunk%2F&rev=0&isdir=1

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

Jimmyhuybrechts

  • Guest
(No subject)
« Reply #6 on: September 21, 2006, 05:37:25 PM »

I thank you very much heinz :)
I downloaded the svn tried compiling it and it worked perfectly.

Now i have another question i want to compile it to use mysql if that's possible but it always says it's missing a dll. Or doesn't anope run on mysql at windows?
Logged

heinz

  • Guest
(No subject)
« Reply #7 on: September 21, 2006, 06:50:50 PM »

Which version of MySQL do you have installed? It should detect all versions, and copy a .dll file to the folder which Anope will run from.
Logged

Jimmyhuybrechts

  • Guest
(No subject)
« Reply #8 on: September 22, 2006, 10:16:40 AM »

I've got MySQL - 5.0.24a.
To which dll are you referring?
Logged

heinz

  • Guest
(No subject)
« Reply #9 on: September 22, 2006, 10:27:55 AM »

Did you install MySQL to a non-standard location? It should be installed in something like:

c:\program files\mysql\mysql server 5.0\

and it's looking for libmysql.dll in:

c:\program files\mysql\mysql server 5.0\lib\libmysql.dll
Logged

Jimmyhuybrechts

  • Guest
(No subject)
« Reply #10 on: September 22, 2006, 11:09:28 AM »

I got my Mysql install in C:\program files\MySQL5 as that's the standard location they use now. You got any solutions for that? So i still can sql support?
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
(No subject)
« Reply #11 on: September 22, 2006, 11:47:30 AM »

Not sure why it went in there, I just installed the same version and it went exactly where chris said it would ...
Logged

heinz

  • Guest
(No subject)
« Reply #12 on: September 22, 2006, 11:47:49 AM »

As far as i'm aware, the default installation location is still c:\program files\mysql\mysql server 5.0, so the best bet is to re-install MySQL in the default location.

Edit Snap ;)

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

Jimmyhuybrechts

  • Guest
(No subject)
« Reply #13 on: September 22, 2006, 11:57:32 AM »

Thanks heinz, I will do that next week when i get my new harddisk and thus my whole server gonna be herinstalled :)
Logged
Pages: [1]   Go Up