Build possible using MSVC9?

Asked by Johan Franzén

Hello there,

I've been trying to build this project for a few hours, but to no avail. I'm following the instructions in Compile.txt from the project root. This is what I'm using:

- lp:dcplusplus
- Python 2.7
- SCons 2.0.1
- MSVC9 SP1 (Feature Pack installed)
All running on a Win7 Ultimate x64 computer.

I've added C:\Python27\Scripts to the path.
After starting up an Visual Studio 2008 Command Prompt and running "scons tools=default" this is all I get:

---
M:\kod\dcplusplus>scons tools=default
scons: Reading SConscript files ...
Checking for C++ header file htmlhelp.h... (cached) yes
Checking for C++ header file natupnp.h... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
Compiling build\debug-default\win32\stdafx.pch (precompiled header)
stdafx.cpp
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\mmsystem.h(1840) : warning C4201: nonstandard extension used : nameless struct/union
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\mmsystem.h(1844) : warning C4201: nonstandard extension used : nameless struct/union
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\mmsystem.h(1865) : warning C4201: nonstandard extension used : nameless struct/union
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\mmsystem.h(1869) : warning C4201: nonstandard extension used : nameless struct/union
M:\kod\dcplusplus\dcpp/stdinc.h(84) : fatal error C1083: Cannot open include file: 'cstdint': No such file or directory
scons: *** [build\debug-default\win32\stdafx.pch] Error 2
scons: building terminated because of errors.

M:\kod\dcplusplus>
---

Help, please!

Question information

Language:
English Edit question
Status:
Answered
For:
DC++ Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
poy (poy) said :
#1

no, not anymore. DC++ is now using various C++0x features which are only available in MSVC 10.

Can you help with this problem?

Provide an answer of your own, or ask Johan Franzén for more information if necessary.

To post a message you must log in.