I dont know what is wrong, i had hdd format so i dont know how i compile to format
--------------------Configuration: client - Win32 Debug--------------------
Compiling...
stdinc.cpp
c:\program files\microsoft visual studio\vc98\include\xmemory(39) : warning C4100: '_P' : unreferenced formal parameter
c:\program files\microsoft visual studio\vc98\include\xmemory(41) : warning C4100: '_P' : unreferenced formal parameter
c:\program files\microsoft visual studio\vc98\include\vector(249) : warning C4663: C++ language change: to explicitly specialize class template 'vector' use the following syntax:
template<> class vector<bool,class std::allocator<unsigned int> > ...
c:\program files\microsoft visual studio\vc98\include\xlocale(242) : warning C4511: 'codecvt_base' : copy constructor could not be generated
c:\program files\microsoft visual studio\vc98\include\xlocale(223) : see declaration of 'codecvt_base'
c:\program files\microsoft visual studio\vc98\include\xlocale(296) : warning C4663: C++ language change: to explicitly specialize class template 'codecvt' use the following syntax:
template<> class codecvt<unsigned short,char,int> ...
c:\program files\microsoft visual studio\vc98\include\xlocale(398) : warning C4511: 'codecvt<unsigned short,char,int>' : copy constructor could not be generated
c:\program files\microsoft visual studio\vc98\include\xlocale(296) : see declaration of 'codecvt<unsigned short,char,int>'
c:\program files\microsoft visual studio\vc98\include\xlocale(387) : warning C4018: '<' : signed/unsigned mismatch
c:\program files\microsoft visual studio\vc98\include\xlocale(420) : warning C4511: 'ctype_base' : copy constructor could not be generated
c:\program files\microsoft visual studio\vc98\include\xlocale(410) : see declaration of 'ctype_base'
c:\program files\microsoft visual studio\vc98\include\xlocale(519) : warning C4663: C++ language change: to explicitly specialize class template 'ctype' use the following syntax:
template<> class ctype<char> ...
c:\program files\microsoft visual studio\vc98\include\xlocale(611) : warning C4511: 'ctype<char>' : copy constructor could not be generated
c:\program files\microsoft visual studio\vc98\include\xlocale(519) : see declaration of 'ctype<char>'
c:\program files\microsoft visual studio\vc98\include\xlocale(552) : warning C4100: '_D' : unreferenced formal parameter
c:\program files\microsoft visual studio\vc98\include\xlocale(554) : warning C4100: '_D' : unreferenced formal parameter
c:\program files\microsoft visual studio\vc98\include\xlocale(513) : warning C4511: 'ctype<unsigned short>' : copy constructor could not be generated
c:\program files\microsoft visual studio\vc98\include\istream(573) : see reference to class template instantiation 'std::ctype<unsigned short>' being compiled
c:\@new!dc\dcplusplus-0.22-src\client\stdinc.h(53) : fatal error C1083: Cannot open include file: 'hash_map': No such file or directory
Error executing cl.exe.
DCPlusPlus.exe - 1 error(s), 13 warning(s)
1 error(s), 13 warning(s) when compiling 0.22
Moderator: Moderators
-
- Forum Moderator
- Posts: 58
- Joined: 2003-01-03 11:30
- Location: Québec, Canada
- Contact:
I have that problem too, and I've downloaded the wtl and the stlport. I just don't know exactly what to do with them.
Where is the include path? I've put it in my dos-path and in the "Additional resource include directories" but none of them seems to work.1) Make sure you've downloaded the WTL 7.0 Package and have all the files in it in your include path
2) Make sure you have stlport 4.5.3 installed and that it's included _before_ the standard vc directories
solution
okay its ya stl
use the stl dcpp in your includes find the stl-dcpp folder, then the stl folder if you dont select the stl folder number 2 then it wont find hash map cos that is were it resides.
conclusion 0 errors 0 warnings
use the stl dcpp in your includes find the stl-dcpp folder, then the stl folder if you dont select the stl folder number 2 then it wont find hash map cos that is were it resides.
conclusion 0 errors 0 warnings
ashes to ashes, dust to dust, if the dope dont get you. The acid must
include path
oh and how to include well i use vc 6
and i go to tools, options, directories
and i go to tools, options, directories
ashes to ashes, dust to dust, if the dope dont get you. The acid must
Of course the stl is in a sub-folder, what kind of noob do you take me for?... :)
But it did help to know where to put the paths.
Now I get a completely different set of errors though...
but there's another thread on this here -> http://dcplusplus.sourceforge.net/forum ... .php?t=261
But it did help to know where to put the paths.
Now I get a completely different set of errors though...
Code: Select all
f:\progg\dc++\stlport-4.5.3-dcpp\stl\_threads.h(116) : error C2733: second C linkage of overloaded function 'InterlockedIncrement' not allowed
f:\progg\dc++\stlport-4.5.3-dcpp\stl\_threads.h(116) : see declaration of 'InterlockedIncrement'
f:\progg\dc++\stlport-4.5.3-dcpp\stl\_threads.h(117) : error C2733: second C linkage of overloaded function 'InterlockedDecrement' not allowed
f:\progg\dc++\stlport-4.5.3-dcpp\stl\_threads.h(117) : see declaration of 'InterlockedDecrement'
f:\progg\dc++\stlport-4.5.3-dcpp\stl\_threads.h(118) : error C2733: second C linkage of overloaded function 'InterlockedExchange' not allowed
f:\progg\dc++\stlport-4.5.3-dcpp\stl\_threads.h(118) : see declaration of 'InterlockedExchange'