Newbie in the house! Need help compiling DC++

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

Moderator: Moderators

Locked
Makemies
Posts: 23
Joined: 2004-03-21 06:06

Newbie in the house! Need help compiling DC++

Post by Makemies » 2004-07-21 12:46

When I try to build DC++ 0.306 I get this error:

Code: Select all

d:\DCPlusPlus-0.306-src\windows\stdafx.cpp(33): fatal error C1189: #error :  STLPort not correctly installed, read compile.txt
Sometimes STLPort, sometimes WTL, but same error every time. I use Microsoft Visual Studio .NET 2003, and I have STLPort and WTL included...
Any ideas? Questions? Suggestions? Please, help me...
It would be really nice to do some own modifications to DC++.
Last edited by Makemies on 2004-07-21 13:00, edited 1 time in total.

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

Re: Newbie at the house! Need help compiling DC++

Post by TheParanoidOne » 2004-07-21 12:55

Makemies wrote:Any ideas? Questions? Suggestions? Please, help me...
Hmm. Just randomly out of the blue, I suggest reading compile.txt.
The world is coming to an end. Please log off.

DC++ Guide | Words

Makemies
Posts: 23
Joined: 2004-03-21 06:06

Post by Makemies » 2004-07-21 12:59

I have read it many times... No help there...

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

Post by TheParanoidOne » 2004-07-21 13:24

In that case, did you understand it? Did you follow the instructions?

The message above says STLPort is not installed correcty. Have you done that?
The world is coming to an end. Please log off.

DC++ Guide | Words

Makemies
Posts: 23
Joined: 2004-03-21 06:06

Post by Makemies » 2004-07-21 13:28

I downloaded STLPort and WTL from Source Exras, then i extracted the packages to my hd and then added the stlport and wtl folders to VS .Net 2003 includes... If thats how its supposed to do, then yes I did that...

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

Post by TheParanoidOne » 2004-07-21 13:44

So what happens when you do a clean build?
What happens when you use the current source code?
The world is coming to an end. Please log off.

DC++ Guide | Words

Makemies
Posts: 23
Joined: 2004-03-21 06:06

Post by Makemies » 2004-07-21 13:52

So what happens when you do a clean build?
Same error appears.
What happens when you use the current source code?
Still, same error :(

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

Post by TheParanoidOne » 2004-07-21 13:57

Can you post a screenshot of your includes please.
The world is coming to an end. Please log off.

DC++ Guide | Words

Makemies
Posts: 23
Joined: 2004-03-21 06:06

Post by Makemies » 2004-07-21 14:14

Yes I can. And I forgot to say that I also downloaded Core SDK from the website mentioned in the compile.txt... Its in includes, but i've also tried without it... Didn't work... Well here's the includes:
Image

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

Post by TheParanoidOne » 2004-07-21 14:29

The version of STLPort used in 0.306 is not the version you are using. Can you double check the results when using the most recent source code (0.403). Clean codebase, clean build.

FYI, 0.403 is the first version to use v4.6.2 of STLPort.
The world is coming to an end. Please log off.

DC++ Guide | Words

Makemies
Posts: 23
Joined: 2004-03-21 06:06

Post by Makemies » 2004-07-21 14:42

That was the problem... I tought that DC++ 0.401 was the newest. Well, I knew there was 0.403 but it's unstable...It works fine with 0.403 but what stlport should i use for 0.306 and where can i get it? And by the way, thank you very much TheParanoidOne... You really saved my day :D You are the man :)

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

Post by TheParanoidOne » 2004-07-21 14:48

Ignore the "unstable" tag. It's just a pseudonym for "latest".

If you don't want to do that, why do you want to use such an old version of DC++?
The world is coming to an end. Please log off.

DC++ Guide | Words

Makemies
Posts: 23
Joined: 2004-03-21 06:06

Post by Makemies » 2004-07-21 14:52

Well, I don't want to use 0.403, because I had some problems with it, and 0.401...well i think i use that...What version of STLPort works with 0.401?

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

Post by TheParanoidOne » 2004-07-21 15:14

What problems did you have? Perhaps I can help resolve them?
The world is coming to an end. Please log off.

DC++ Guide | Words

Makemies
Posts: 23
Joined: 2004-03-21 06:06

Post by Makemies » 2004-07-21 15:22

I didn't have any problems with the source code, but i tried 0.403 version few days ago and for example the hubs were changing places at the tab... I think that was the only "problem", but i have a certain order for the hubs at the tab and when they just change places it drives me crazy...well you probably thin I'm crazy now :D

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

Post by TheParanoidOne » 2004-07-21 15:25

A recent version introduced the feature where you can drag and drop the tabs to change the order. Perhaps this is what you are seeing?
The world is coming to an end. Please log off.

DC++ Guide | Words

Makemies
Posts: 23
Joined: 2004-03-21 06:06

Post by Makemies » 2004-07-21 15:35

Hmm... Maybe :P... I think that was it... Thank you again TheParanoidOne...

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

Post by TheParanoidOne » 2004-07-21 16:32

No problem. Glad to help. :)
The world is coming to an end. Please log off.

DC++ Guide | Words

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

Post by Gasman1015 » 2004-07-21 16:59

Makemies wrote: but what stlport should i use for 0.306
Checkout stdafx.cpp in the source files, it will tell you which version of wtl and stl is required.
Always remember you're unique, just like everyone else.

Guitarm
Forum Moderator
Posts: 385
Joined: 2004-01-18 15:38

Post by Guitarm » 2004-07-21 17:11

Gasman1015 wrote:
Makemies wrote: but what stlport should i use for 0.306
Checkout stdafx.cpp in the source files, it will tell you which version of wtl and stl is required.
While you're at it you can check out stdinc.cpp as well :)
"Nothing really happens fast. Everything happens at such a rate that by the time it happens, it all seems normal."

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-07 21:46
Location: .pa.us

Post by GargoyleMT » 2004-07-22 18:51

Makemies wrote:Well, I don't want to use 0.403, because I had some problems with it, and 0.401...
Whenever someone dislikes the latest version and wants to use an old (outdated) one, I press them for reasons. If you take issue with any version, you need to give feedback if you want it to be fixed. It's hard enough guessing what users want.

Makemies
Posts: 23
Joined: 2004-03-21 06:06

Post by Makemies » 2004-07-23 07:25

I still have two questions to ask... First of all, how can i change the icons of client? I use CZDC++ 0.403 [E] source and i have modified the icons but they wont change... Theres everytime the normal CZDC++ icon, even though I've changed it...Is there some kind of protection that I cant change the icons? If there is, how can i get it off? And second question is that how can i change the filename that i compile? its always czdcplusplus.exe and I want it to be the name of my own client...

Todi
Forum Moderator
Posts: 699
Joined: 2003-03-04 12:16
Contact:

Post by Todi » 2004-07-23 08:48

Try the CZDC forum if there is one. In case you missed that detail, this is the DC++ forum. Good luck.

*locked*

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-07 21:46
Location: .pa.us

Post by GargoyleMT » 2004-07-23 18:49

Makemies wrote:Theres everytime the normal CZDC++ icon, even though I've changed it...Is there some kind of protection that I cant change the icons?
I bet you don't realize that each icon has multiple color depths and resolutions. You've probably changed the 32x32 icon, but not the 16x16 or 48x48.

If you have problems with a mod, use their forum, not ours.

Locked