I was hoping that I could actually compile this all by myself but after two days on it, I need to escalate. Bear in mind that I have never used VS or C++ before, but I have a programming background and learn quickly.
I'm actually happy at how far I got.
Anyway, to the problem. Trying to compile 0.25 using VS.NET and coming up against a brick wall. Having read compile.txt and a *lot* of the Developer Help section, I have downloaded and included the following packages in the following order:
stlport-4.5.3-dcpp
wtl7.0
MS Core SDK\include
<Rest of includes>
Building gives me the following errors:
Code: Select all
------ Build started: Project: client, Configuration: Debug Win32 ------
Compiling...
stdinc.cpp
e:\Apps\Microsoft\Core SDK\include\Windows.h(157) : fatal error C1083: Cannot open include file: 'excpt.h': No such file or directory
client - 1 error(s), 0 warning(s)
------ Build started: Project: bzip2, Configuration: Debug Win32 ------
Compiling...
randtable.c
v:\DC++\DCPlusPlus-0.25-src\stlport\stdlib.h(23) : fatal error C1083: Cannot open include file: '../include/stdlib.h': No such file or directory
huffman.c
v:\DC++\DCPlusPlus-0.25-src\stlport\stdlib.h(23) : fatal error C1083: Cannot open include file: '../include/stdlib.h': No such file or directory
decompress.c
v:\DC++\DCPlusPlus-0.25-src\stlport\stdlib.h(23) : fatal error C1083: Cannot open include file: '../include/stdlib.h': No such file or directory
crctable.c
v:\DC++\DCPlusPlus-0.25-src\stlport\stdlib.h(23) : fatal error C1083: Cannot open include file: '../include/stdlib.h': No such file or directory
compress.c
v:\DC++\DCPlusPlus-0.25-src\stlport\stdlib.h(23) : fatal error C1083: Cannot open include file: '../include/stdlib.h': No such file or directory
bzlib.c
v:\DC++\DCPlusPlus-0.25-src\stlport\stdlib.h(23) : fatal error C1083: Cannot open include file: '../include/stdlib.h': No such file or directory
blocksort.c
v:\DC++\DCPlusPlus-0.25-src\stlport\stdlib.h(23) : fatal error C1083: Cannot open include file: '../include/stdlib.h': No such file or directory
Generating Code...
bzip2 - 7 error(s), 0 warning(s)
------ Build started: Project: zlib, Configuration: Debug Win32 ------
Compiling...
zutil.c
v:\DC++\DCPlusPlus-0.25-src\stlport\stddef.h(23) : fatal error C1083: Cannot open include file: '../include/stddef.h': No such file or directory
trees.c
v:\DC++\DCPlusPlus-0.25-src\stlport\stddef.h(23) : fatal error C1083: Cannot open include file: '../include/stddef.h': No such file or directory
infutil.c
v:\DC++\DCPlusPlus-0.25-src\stlport\stddef.h(23) : fatal error C1083: Cannot open include file: '../include/stddef.h': No such file or directory
inftrees.c
v:\DC++\DCPlusPlus-0.25-src\stlport\stddef.h(23) : fatal error C1083: Cannot open include file: '../include/stddef.h': No such file or directory
inflate.c
v:\DC++\DCPlusPlus-0.25-src\stlport\stddef.h(23) : fatal error C1083: Cannot open include file: '../include/stddef.h': No such file or directory
inffast.c
v:\DC++\DCPlusPlus-0.25-src\stlport\stddef.h(23) : fatal error C1083: Cannot open include file: '../include/stddef.h': No such file or directory
infcodes.c
v:\DC++\DCPlusPlus-0.25-src\stlport\stddef.h(23) : fatal error C1083: Cannot open include file: '../include/stddef.h': No such file or directory
infblock.c
v:\DC++\DCPlusPlus-0.25-src\stlport\stddef.h(23) : fatal error C1083: Cannot open include file: '../include/stddef.h': No such file or directory
deflate.c
v:\DC++\DCPlusPlus-0.25-src\stlport\stddef.h(23) : fatal error C1083: Cannot open include file: '../include/stddef.h': No such file or directory
Generating Code...
zlib - 9 error(s), 0 warning(s)
------ Build started: Project: DCPlusPlus, Configuration: Debug Win32 ------
Compiling...
stdafx.cpp
e:\Apps\Microsoft\Core SDK\include\Windows.h(157) : fatal error C1083: Cannot open include file: 'excpt.h': No such file or directory
DCPlusPlus - 1 error(s), 0 warning(s)
stlport issues
I cannot understand why the line "# include _STLP_NATIVE_C_HEADER(stddef.h)" would make it try to include "../include/stddef.h" (and similar for stdlib.h). Either way, this path (and therefore file) doesn't exist, so problem.
MS SDK issues
The Windows.h file complains about not finding excpt.h. The only place this exists is <SDKRoot>\include\Win64\crt and <SDKRoot>\src\crt.
I tried including both these directories but they produced other errors so that probably isn't the way to go.
All other errors I've had so far I have been able to fix, but here I am stuck. I'm sure the answer is blindingly obvious, but any help would be greatly appreciated.
Thanks