Anyone thought of doing up cookbook instructions for different VS environments for all of us newbies?
Here's what I've done:
1. Installed MS SDK
2. Downloaded DC++ sources (v3.01) and put it in ./source/
3. Downloaded STL port (v4.5.3) and it into ./source/stlport/
4. Downloaded WTL (v7.0) and put in ./source/wtl
5. Opened up DCPlusPlus.sln in Visual Studio (2003, or 7.1)
6. Right click on DCPlusPlus, chose properties, selected ConfigurationProperties|C/C++ and added ./source/wtl and ./source/stlport to the Addition Includes Directories
7. Repeated for other items in the solution explorer
8. Right clicked DCPlusPlus and chose build
9. Receive the following errors:
c:\source\stlport\stl\_string.c(337): warning C4346: '_STL::basic_string<_CharT,_Traits,_Alloc>::size_type' : dependent name is not a type
c:\source\stlport\stl\_string.c(337): error C2143: syntax error : missing ';' before '_STL::basic_string<_CharT,_Traits,_Alloc>::find'
c:\source\stlport\stl\_string.c(337): error C2501: '_STL::basic_string<_CharT,_Traits,_Alloc>::size_type' : missing storage-class or type specifiers
c:\source\stlport\stl\_string.c(337): warning C4346: '_STL::basic_string<_CharT,_Traits,_Alloc>::find' : dependent name is not a type
prefix with 'typename' to indicate a type
c:\source\stlport\stl\_string.c(337): error C2143: syntax error : missing ',' before '*'
c:\source\stlport\stl\_string.c(350): warning C4346: '_STL::basic_string<_CharT,_Traits,_Alloc>::size_type' : dependent name is not a type
prefix with 'typename' to indicate a type
c:\source\stlport\stl\_string.c(350): error C2143: syntax error : missing ';' before '_STL::basic_string<_CharT,_Traits,_Alloc>::find'
c:\source\stlport\stl\_string.c(350): error C2501: '_STL::basic_string<_CharT,_Traits,_Alloc>::size_type' : missing storage-class or type specifiers
c:\source\stlport\stl\_string.c(350): error C2065: '_CharT' : undeclared identifier
c:\source\stlport\stl\_string.c(350): warning C4346: '_STL::basic_string<_CharT,_Traits,_Alloc>::find' : dependent name is not a type
prefix with 'typename' to indicate a type
c:\source\stlport\stl\_string.c(350): error C2146: syntax error : missing ')' before identifier '__c'
c:\source\stlport\stl\_string.c(350): error C2501: '_STL::basic_string<_CharT,_Traits,_Alloc>::find' : missing storage-class or type specifiers
c:\source\stlport\stl\_string.c(350): error C2350: '_STL::basic_string<_CharT,_Traits,_Alloc>::find' is not a static member
c:\source\stlport\stl\_string.c(350): error C2059: syntax error : ')'
c:\source\stlport\stl\_string.c(362): error C3861: '_CharT': identifier not found, even with argument-dependent lookup
c:\source\stlport\stl\_string.c(362): error C2065: '_Traits' : undeclared identifier
c:\source\stlport\stl\_string.c(362): error C2065: '_Alloc' : undeclared identifier
(etc.)
Suggestions on my next step? Thanks in advance for any help you can supply...
Chris
[code][/code]
Visual Studio 2003 (7.1) Compilation Error
Moderator: Moderators
-
joakim_tosteberg
- Forum Moderator
- Posts: 587
- Joined: 2003-05-07 07:38
- Location: Sweden, Linkoping
-- 0.300 2003-10-27 --
Get the new stlport here http://prdownloads.sourceforge.net/dcpl ... p?download
- * ---- IMPORTANT ----
Security update, upgrade unless you want to risk losing files anywhere
on your hd (this is for all versions prior to this one) (thanks fusbar for bringing
it to my attention)
---- IMPORTANT ----
* Some code cleanup
* Added vertical tiling of windows
* Nick and password are now taken from favorite hubs on redirect (thanks saurod)
* Fixed a case sensitivity bug in favorite hubs (thanks saurod)
* Locale formatting of exact size in search (thanks saurod)
* Fixed a bug where directories were not correctly returned (thanks saurod)
* Replaced the tab control in the settings with a tree, expect many more settings soon
* Fixed a bug when changing priorities from paused
* Reduced transfer view flicker somewhat when sorted by status
* Reconnect time is randomized a little to reduce stress on hub when everyone reconnects
* Small i18n fix in uploads settings (thanks atomicjo)
* Numbers only on search size box (thanks atomicjo)
* Delete multiple favorite users (thanks gargoyle)
* Autocomplete turned off when using shift-tab (to tab between the windows instead)
(thanks gargoyle)
* Small fixes (thanks gargoyle)
* Toolbar updates (thanks gargoyle)
* Speeded up match queue a lot (I mean a _lot_)
* Added a network statistics view
* Added tab-specific context menus
* Added support for hub $Supports
* Added hub-sent usercommands
* Usercommands changed to raw in save file
* New %[ parameters in user commands
* & is used to escape the & in chat (currently only escapes when really necessary, i e
| or $ escape is used)
* Added "Match Queue" to various right-click menus
* Internationalised settings (thanks gargoyle)
* Fixed finished frame lockups
* Moved to Visual Studio 7.1, 7.0 project files are available, but won't be maintained...
* Own icon always set to blue (DC++) (thanks atomicjo)
* Edges around the settings (thanks opera)
* Fixed right-click issue in the hub frame (thanks bzbetty)
* Fixed a problem with detecting protocol extensions
* Updates to the queue frame (bugs fixed and smarter when using with multiple drives)
* Fixes to zblock sends (thanks sandos)
* Links are opened in a new browser window
* New STLPort again (4.5-1020)
* Increased some buffer sizes to increase high-speed transfer performance
* Added tooltip to hub window status bar that shows last 5 status lines
* /-commands that don't exist are now sent to the hub
* Added /pm
* Added /g to search google
* Added /imdb to search imdb
Get the new stlport here http://prdownloads.sourceforge.net/dcpl ... p?download
-
cab938
- Posts: 3
- Joined: 2003-11-01 04:40
Ok, hint well taken. I had read that in anothe post and thought I had the right version of STL port. Once I install this and rebuild I get the following errors/warnings:
c:\source\DCPlusPlus.rc(10): fatal error RC1015: cannot open include file 'atlres.h'.
c:\source\client\simplexml.cpp(83): warning C4702: unreachable code
The latter is probably unimportant, but what is altres.h? I can't even find that when I search for it in the filesystem.
Did I miss a download?
Thanks again,
Chris
c:\source\DCPlusPlus.rc(10): fatal error RC1015: cannot open include file 'atlres.h'.
c:\source\client\simplexml.cpp(83): warning C4702: unreachable code
The latter is probably unimportant, but what is altres.h? I can't even find that when I search for it in the filesystem.
Did I miss a download?
Thanks again,
Chris
Who is online
Users browsing this forum: Google [Bot] and 0 guests