Powered by Invision Power Board

Welcome Guest ( Log In | Register )

2 Pages  1 2 > 
Reply to this topicStart new topicStart Poll

Outline · [ Standard ] · Linear+

> emuleplus compilation, How to compile emuleplus

vieri
Dec 6 2008, 09:23
+Quote Post





Group: Members
Posts: 14
Joined: 6-December 08



Hi,

First post so sorry for my novice question.

I've read that compilation of emuleplus "requires" Visual Studio .NET 2003 + sp1. Unfortunately, I do not have this commercial compiler (I only have Visual Studio 6 which is too old for this... and I don't think I can afford buying another VS).

I was wondering if someone managed to compile it with another software. I'm currently trying out Viusal Studio 2008 Express edition.

Any feedback is greatly appreciated.

Thanks!
User is offlineProfile CardPM
Go to the top of the page
Post #1
KuSh
Dec 6 2008, 21:37
+Quote Post





Group: Developers
Posts: 1182
Joined: 15-December 03



Unfortunately you won't be able to do it with the Express Edition as ePlus is using ATL and MFC libraries that aren't included in free VS editions
User is offlineProfile CardPM
Go to the top of the page
Post #2
Aw3
Dec 7 2008, 00:56
+Quote Post





Group: Admins
Posts: 7320
Joined: 8-December 03



I like VS 6 myself. Unfortunately it cannot compile our code.
You need VS 2002, 2003 or 2005 (we don't use it, but it should be fine). I'm not sure it's possible to build it with VS 2008, as compiler gets unreasonable nasty, plus it doesn't have W9x support.
User is offlineProfile CardPM
Go to the top of the page
Post #3
vieri
Dec 7 2008, 14:54
+Quote Post





Group: Members
Posts: 14
Joined: 6-December 08



Thanks. I just found out the hard way that building emuleplus with VS2008 Pro (trial edition) fails immediately. The first error I get (which has already been reported to Microsoft) is "syntax error : '<L_TYPE_raw>'".

Does anyone know where I can download VS 2002, 2003 or 2005 as a "trial" version with MFC and ATL?
User is offlineProfile CardPM
Go to the top of the page
Post #4
muleteer
Dec 7 2008, 15:24
+Quote Post





Group: Betatesters
Posts: 8261
Joined: 29-February 04



Just a word of caution: the ed2k protocol is quite complicated with lots of rules regarding how a client is supposed to behave. If you change those settings in a way that violates these rules, your client will get banned.

For most of us the pre-compiled binaries are good enough. wink.gif
User is offlineProfile CardPM
Go to the top of the page
Post #5
vieri
Dec 7 2008, 16:06
+Quote Post





Group: Members
Posts: 14
Joined: 6-December 08



QUOTE(muleteer @ Dec 7 2008, 16:24)
Just a word of caution: the ed2k protocol is quite complicated with lots of rules regarding how a client is supposed to behave. If you change those settings in a way that violates these rules, your client will get banned.


I definitely don't want to change the protocol. ;-)

Just wanted to do a couple of minor adjustments. Also wanted to study the possibility of including an integrated RSS viewer.

Obviously, I need to build it first. No luck for now (I'm not even an MSDN subscriber :-( so I can't download from their site).
User is offlineProfile CardPM
Go to the top of the page
Post #6
vieri
Dec 9 2008, 19:12
+Quote Post





Group: Members
Posts: 14
Joined: 6-December 08



The L_TYPE_raw error in VS2008 can be fixed by a #define HRAWINPUT DWORD in stdafx.h (probably need to check out WINVER).

However, I then get a lot of errors about X not being a "class" (eg. X=typename, etc).

Any luck in making emule+ VS2008-compatible in the near future? ;-)

(just wondering)
User is offlineProfile CardPM
Go to the top of the page
Post #7
KuSh
Dec 9 2008, 19:46
+Quote Post





Group: Developers
Posts: 1182
Joined: 15-December 03



Speaking for myself, I don't want to spend my money in a new version of VS as ePlus is the only project I use it for.
If you have time and skills you can try and send us patches while keeping in mind to not broke VS2003 compatibility.
User is offlineProfile CardPM
Go to the top of the page
Post #8
muleteer
Dec 9 2008, 19:56
+Quote Post





Group: Betatesters
Posts: 8261
Joined: 29-February 04



QUOTE(vieri @ Dec 7 2008, 21:36)
(I'm not even an MSDN subscriber :-( so I can't download from their site).
*

In the midst of all the bad press the ed2k network (and p2p in general) has been getting regarding issues of copyright violation, it is refreshing to find someone who is unwilling to just grab a pirated version. thumbsup.gif respect.gif
User is offlineProfile CardPM
Go to the top of the page
Post #9
vieri
Dec 9 2008, 20:36
+Quote Post





Group: Members
Posts: 14
Joined: 6-December 08



@KuSh: my thought exactly. Don't want to spend a dime on another VS. You've done a great job and if I can send in some patches then great but don't count too much on that.

@muleteer: with all the open source or free compilers and libraries out there, why use MFC? or VS for that matter. Anyway, if I want to get a custom emule+ up and running, I'll have to break my principles and grab a copy somewhere. ;-)
User is offlineProfile CardPM
Go to the top of the page
Post #10
dheeraj
Dec 9 2008, 21:30
+Quote Post





Group: Members
Posts: 3
Joined: 5-December 08



Hi Vieri,
if you think,you can really solve your compilation promblem with
the above named compiler,get it here :

http://www.computerbase.de/downloads/softw...tudio_net_2003/

It`s the freer version with service pack 1

Have phun
User is offlineProfile CardPM
Go to the top of the page
Post #11
muleteer
Dec 9 2008, 22:13
+Quote Post





Group: Betatesters
Posts: 8261
Joined: 29-February 04



Er.. that link is for just the Service Pack. You'll need to install Visual Studio 2003 before applying that pack.

I'm not up to speed on this kind of programming, but I remember that there was a Visual Basic 6 Learning Edition which was good enough for my purposes. I wonder if there was anything like that for VS 2003. unsure.gif
User is offlineProfile CardPM
Go to the top of the page
Post #12
KuSh
Dec 9 2008, 22:20
+Quote Post





Group: Developers
Posts: 1182
Joined: 15-December 03



QUOTE(dheeraj @ Dec 9 2008, 22:30)
Hi Vieri,
if you think,you can really solve your compilation promblem with
the above named compiler,get it here :

http://www.computerbase.de/downloads/softw...tudio_net_2003/

It`s the freer version with service pack 1

Have phun
*


I don't read german but IMHO this download only contains the SP1, not the full version.
User is offlineProfile CardPM
Go to the top of the page
Post #13
KuSh
Dec 9 2008, 22:24
+Quote Post





Group: Developers
Posts: 1182
Joined: 15-December 03



QUOTE(muleteer @ Dec 9 2008, 23:13)
Er.. that link is for just the Service Pack. You'll need to install Visual Studio 2003 before applying that pack.

I'm not up to speed on this kind of programming, but I remember that there was a Visual Basic 6 Learning Edition which was good enough for my purposes. I wonder if there was anything like that for VS 2003. unsure.gif
*


You can use the free VS Express Edition but as stated above, it doesn't contain MFC & ATL libraries, so you won't be able to compile ePlus.
User is offlineProfile CardPM
Go to the top of the page
Post #14
dheeraj
Dec 11 2008, 19:16
+Quote Post





Group: Members
Posts: 3
Joined: 5-December 08



Hi vieri,

could offer you Visual Studio 98. I have no idea, if this can solve your problem,
but if you are interested , let me know about it
User is offlineProfile CardPM
Go to the top of the page
Post #15

2 Pages  1 2 >
Reply to this topicTopic OptionsStart new topic
 

Lo-Fi Version Time is now: 31st October 2014 - 08:17