Compile 6811

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

Moderator: Moderators

Locked
Ganntrader
Posts: 8
Joined: 2003-10-08 05:23

Compile 6811

Post by Ganntrader » 2006-01-30 16:59

Hi

I have no problem compiling 674 but when compiling 6811 i get this error
"fatal error RC1015: cannot open include file 'wtl\\atlres.h'." and a couple of warnings
I have updated SDK, STL, WTL and set all paths, atleast i think so.

Do i need to do anything with the yassl?

Whats this?

Pothead
Posts: 223
Joined: 2005-01-15 06:55

Post by Pothead » 2006-01-30 20:04

WTL included properly ?

If so, try removing one of them \

Ganntrader
Posts: 8
Joined: 2003-10-08 05:23

Post by Ganntrader » 2006-01-31 03:44

Hi

Im running windows XP SP2 and MSVS .Net 2003

I have this settings in
Tools/Options/Projects/VC++ Directories/Executable files
C:\Microsoft Platform SDK\Bin

Tools/Options/Projects/VC++ Directories/Include files
D:\STLPort
D:\WTL\include
C:\Microsoft Platform SDK\Include

Tools/Options/Projects/VC++ Directories/Library files
C:\Microsoft Platform SDK\Lib

I have done noting with yassl

/GannTrader

Pothead
Posts: 223
Joined: 2005-01-15 06:55

Post by Pothead » 2006-01-31 05:21

Now read Compile.txt.
Wtl, STL, and Yassl all go in sub folders of where ever you extracted the DC++ source.

ullner
Forum Moderator
Posts: 333
Joined: 2004-09-10 11:00
Contact:

Post by ullner » 2006-01-31 11:41

Have it be <atlres.h> instead of "wtl\\atlres.h".

Pothead
Posts: 223
Joined: 2005-01-15 06:55

Post by Pothead » 2006-01-31 12:04

I don't think < > 's work in the .rc file. :?

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

Post by GargoyleMT » 2006-01-31 12:23

Pothead wrote:I don't think < > 's work in the .rc file. :?
They do, it used to be that way.

Making the STLPort directory local makes sense, since it's incompatible with the included STL implementation. However, making the WTL directory local doesn't make a lot of sense in my view. Especially not for those of us with multiple directories of DC++-based source code.

Ganntrader
Posts: 8
Joined: 2003-10-08 05:23

Post by Ganntrader » 2006-01-31 16:51

Which folder, stlport, wtl, yassl, must be placed under the sourcecodefolder?

The compile.txt doesnt tell me exactly were all includefolders can/must be placed, freely or under the sourcecodefolder.

/GannTrader

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

Post by GargoyleMT » 2006-02-01 11:45

Ganntrader wrote:Which folder, stlport, wtl, yassl, must be placed under the sourcecodefolder?
All of them must be.

Compile.txt isn't the simplest, but last time I checked, it was complete... I believe. :)

Ganntrader
Posts: 8
Joined: 2003-10-08 05:23

Post by Ganntrader » 2006-02-01 13:04

Ok thnx

But this must be new for v6811 becourse this wasnt needed in v674.

Then just 1 more question or 3 :)
STLport462: I copy the hole folder?
wtl75final: I just copy the include folder?
What do i copy of yassl 1.1.5? Just copying the hole folder results in compile error or do i leave it as it is?

/GannTrader

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

Post by GargoyleMT » 2006-02-01 13:22

Ganntrader wrote:But this must be new for v6811 becourse this wasnt needed in v674.
Local WTL and stlport directories are in my clean copy of 0.674's source, so it must have been the preferred installation method even then.
Ganntrader wrote:STLport462: I copy the hole folder?
I use the version on DC++'s web site.
Ganntrader wrote:wtl75final: I just copy the include folder?
yes.
Ganntrader wrote:What do i copy of yassl 1.1.5? Just copying the hole folder results in compile error or do i leave it as it is?
DC++ comes with yassl... are you downloading another version and replacing what is already there?

Ganntrader
Posts: 8
Joined: 2003-10-08 05:23

Post by Ganntrader » 2006-02-01 18:28

About yassl

Yes i know its there but the compile.txt says
"Download YaSSL from http://yassl.com/. Unpack it to the yassl folder"
This is a bit confusing.
If its there why tell me to download it when i dont need to do that?
In my opinion that line should be removed from the compile.txt since its not needed.

Thanx for all help most of this i already guest but i wanted it to be confirmed.
By the way. When compiling in release mode i get a some warnings. 33 in total to be exact. I suppose this is what everybody get?

/GannTrader

Pothead
Posts: 223
Joined: 2005-01-15 06:55

Post by Pothead » 2006-02-01 19:45

I seem to remember someone else mentioning someting about this. hmm, maybe DC++ uses Yassl 1.0.8 and they downloaded 1.1.5 or something like that. Use the one provided with dc++ source. :)

Carraya
Posts: 112
Joined: 2004-09-21 11:43

Post by Carraya » 2006-02-02 02:30

Yup Pot it was me, downloading YASSL and replacing the one in the cvs caused lots and lots of errors...
<random funny comment>

Locked