Compile DC++

Problems compiling? Don't understand the source code? Don't know how to code your feature? Post here.

Moderator: Moderators

Locked
Stalix
Posts: 14
Joined: 2004-09-05 23:31

Compile DC++

Post by Stalix » 2004-11-05 04:27

OK I totally know nothing about c++ codes. But i have downloaded the source and changed some stuff. Now how the heck do i turn all those files into a DC++ exe??? pleas help me. what is the simplest way???

.Sulan.
Posts: 17
Joined: 2004-10-24 15:33

Post by .Sulan. » 2004-11-05 05:31

You need a program for that, use:
Microsoft Visual Studio .NET 2003 Enterprise Architect Edition
When it is installed, read compile.txt

Stalix
Posts: 14
Joined: 2004-09-05 23:31

Post by Stalix » 2004-11-05 15:05

Ok I got Microsoft Visual Studio .NET 2003 Enterprise Architect Edition and installed it. Now can someone explaine what to do. Keep in mind I'm a toatal 99.9% newbie to this. What file do i open it in VS and how do I even open it in VS???

Please help.

It would be great if someone put a step by step tutorial of how to compila all thise source files to make it a fully working dc++ exe.

joakim_tosteberg
Forum Moderator
Posts: 587
Joined: 2003-05-07 02:38
Location: Sweden, Linkoping

Post by joakim_tosteberg » 2004-11-05 15:52

Check http://www.imperialnet.org/forum/viewtopic.php?t=511 (it's for DCDM++/DC++k CDM but it is almos the same but read compile.txt which comes with the source).

Stalix
Posts: 14
Joined: 2004-09-05 23:31

Post by Stalix » 2004-11-05 16:38

OK that helped a lot, but now I get a lot of sytax and a lot of other differnt errors... what does that mean and how do I fix them?

.Sulan.
Posts: 17
Joined: 2004-10-24 15:33

Post by .Sulan. » 2004-11-05 19:38

Have you included wtl and stlport like it say in compile.txt?

Stalix
Posts: 14
Joined: 2004-09-05 23:31

Post by Stalix » 2004-11-05 20:13

Yes, I added the WTL and STL Port in the options. But I get a lot of sytax errors and other errors and the exe never gets created it says 2 completed, 4 failed, 0 skipped.

Please help me.

.Sulan.
Posts: 17
Joined: 2004-10-24 15:33

Post by .Sulan. » 2004-11-05 20:54

You dont want to add anyting in the options if you are trying to compile the latest DC++

Stalix
Posts: 14
Joined: 2004-09-05 23:31

Post by Stalix » 2004-11-05 22:45

I don't understand your last post sulan but I have tried VS with and without the STLPort and WLT. But i get a lot more errors without the plug-ins. I'm really yanking mty hair wit this thing... Who woulod of thougt C++ was so complex hehe. I have a new found respect for you peeps that made DC++, you are seriously some talented people. All that text in the source looks like some sort of alien language, with just some letters looking familiar. Well I'm about to give-up so if anybody knows anything I could try, maybe a simpler compiler if there is any. I have the source already altered, all i need is to compile it.

Xan1977
Forum Moderator
Posts: 627
Joined: 2003-06-05 20:15

Post by Xan1977 » 2004-11-05 23:26

Stalix wrote: I have the source already altered, all i need is to compile it.
O_o have you compiled the unaltered source?

TheParanoidOne
Forum Moderator
Posts: 1420
Joined: 2003-04-22 14:37

Post by TheParanoidOne » 2004-11-05 23:56

Why exactly do you need to compile the code? Is it purely as a learning point? Is there some deficiency in DC++ (or indeed one of the many pre-built mods out there)?
Stalix wrote:All that text in the source looks like some sort of alien language, with just some letters looking familiar.
Stalix wrote:I have the source already altered, all i need is to compile it.
This is the second time you've said something in this vein. How is it that you were able to alter the code (in a valid way) if it all looks completely alien to you?
The world is coming to an end. Please log off.

DC++ Guide | Words

Stalix
Posts: 14
Joined: 2004-09-05 23:31

Post by Stalix » 2004-11-06 03:10

i didnt make myself clear. I can read the text just fine just making a little joke of how complex c++ is.
Yes I have tried compiling the unaltered source and I still get the same ptobs, so some settings probably not right...right?

joakim_tosteberg
Forum Moderator
Posts: 587
Joined: 2003-05-07 02:38
Location: Sweden, Linkoping

Post by joakim_tosteberg » 2004-11-06 04:05

Post some of the errors you are getting and we might br able to help you,

Gasman1015
Posts: 184
Joined: 2003-05-26 11:29
Location: UK

Post by Gasman1015 » 2004-11-06 10:19

it would also help if you mentioned which version of source code you are trying to compile.
Always remember you're unique, just like everyone else.

Stalix
Posts: 14
Joined: 2004-09-05 23:31

Post by Stalix » 2004-11-06 16:04

About the versions, it doesn't make any difference, I tried them all and they all have the same errors.

Here are all the erros I get(its a bit long):

It was way too long so I edited the post.
Last edited by Stalix on 2004-11-07 04:09, edited 1 time in total.

.Sulan.
Posts: 17
Joined: 2004-10-24 15:33

Post by .Sulan. » 2004-11-06 20:10

Damn, a 7 mile post....

You need to extract wtl to a directory in the source root called wtl and same for stlport with a directory called stlport. This is to compile 0.666. For the others you need to include it form the GUI.
Like:

C:\dcpp_source\wtl
C:\dcpp_source\stlport

Stalix
Posts: 14
Joined: 2004-09-05 23:31

Post by Stalix » 2004-11-07 04:11

I tried what you said bought putting the stl and wtl folders in the source folder.. still nothin happened.

joakim_tosteberg
Forum Moderator
Posts: 587
Joined: 2003-05-07 02:38
Location: Sweden, Linkoping

Post by joakim_tosteberg » 2004-11-07 08:10

With some of the errors I meant at a mximum 10 of them.
Try to do that.

Stalix
Posts: 14
Joined: 2004-09-05 23:31

Post by Stalix » 2004-11-07 20:04

OK... I'm really anxious to finish this. Just can one of you tell me what you guys did from a clean install of windows what stuff you installed and what options to changes and such. I don't want another try this and try that, i'm sorry i'm really annoyedy with this VS.

So can someone plae post what do you do to make VAS work after a clean install of windows. Like what features to add, what special plug-ins to install and what options to change.

TheParanoidOne
Forum Moderator
Posts: 1420
Joined: 2003-04-22 14:37

Post by TheParanoidOne » 2004-11-08 00:21

None. Default install and then follow the instructions in compile.txt.
The world is coming to an end. Please log off.

DC++ Guide | Words

Stalix
Posts: 14
Joined: 2004-09-05 23:31

Post by Stalix » 2004-11-08 01:50

I did everything in compilr.txt, if I understood it right.

Thats what I wanted someone to put it in their own words.

Gasman1015
Posts: 184
Joined: 2003-05-26 11:29
Location: UK

Post by Gasman1015 » 2004-11-08 02:17

Always remember you're unique, just like everyone else.

Locked