Hello,
while compiling dc++ I got user defined error:
c:\Cpp NET\dcpp\windows\stdafx.cpp(28): fatal error C1189: #error : Read compile.txt and do as it says before asking stupid questions
I have looked at the src code and it is:
#if (_WTL_VER < 0x700) || (_STLPORT_VERSION < 0x452)
#error Read compile.txt and do as it says before asking stupid questions
#endif
That means the error is active when wtl or stlport is old.
I have downloaded both packets from dcplusplus.sourceforge.net site, but it seems that they are really old! For example, in wtl packet have found a file atlapp.h and inside it a line like:
// WTL version number
#define _WTL_VER 0x0310
Of course 0x0310 is less than 0x700!
And in stlport I have found file stl\_config.h, where is:
/* STLport version */
# define _STLPORT_VERSION 0x451
And again, 0x451 < 0x452!
So, in which way have you succesfully compiled your program? Maybe you have newer versions of these packets? If yes, can you write the address where I can download it from?
Thanks in advance,
Vallen.
the wtl and stlport packets are not up to date?!
Moderator: Moderators
-
- Forum Moderator
- Posts: 58
- Joined: 2003-01-03 11:30
- Location: Québec, Canada
- Contact:
Hello!
Thanks for the answer.
Required to compile source" - 2 links to DCPlusPlus-wtl-src.zip and stlport-dcpp.zip.
Is there another link to newer files?
TIA,
Vallen.
Thanks for the answer.
2 Versions? Hmm I can see only one version of each of the files. I simply go to "Download" section and then have "DC++ source extrasIceman[grrrr] wrote:there was 2 version of each file on the download page... be sure you had the good ones!
Required to compile source" - 2 links to DCPlusPlus-wtl-src.zip and stlport-dcpp.zip.
Is there another link to newer files?
TIA,
Vallen.
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
Outdated links
Look at the sourceforge page proper, rather than dcplusplus.sf.net for the other versions (the up to date needed ones) of the includes/libraries.
http://sourceforge.net/project/showfile ... p_id=40287
http://sourceforge.net/project/showfile ... p_id=40287
Re: Outdated links
Many thanks! I have downloaded the newer files and the compilation works now!GargoyleMT wrote:Look at the sourceforge page proper, rather than dcplusplus.sf.net for the other versions (the up to date needed ones) of the includes/libraries.
http://sourceforge.net/project/showfile ... p_id=40287
Vallen.