compiling error .24
Moderator: Moderators
compiling error .24
c:\pippo\client\ShareManager.cpp(74) : error C2371: 'i' : redefinition; different basic types
C:\pippo\client\ShareManager.cpp(69) : see declaration of 'i'
C:\pippo\client\ShareManager.cpp(75) : error C2227: left of '->second' must point to class/struct/union
Error executing cl.exe.
??????????
thank for the help
visual 6+sp5
C:\pippo\client\ShareManager.cpp(69) : see declaration of 'i'
C:\pippo\client\ShareManager.cpp(75) : error C2227: left of '->second' must point to class/struct/union
Error executing cl.exe.
??????????
thank for the help
visual 6+sp5
Re: compiling error .24
Add the wtlport and stlport, posts about this can be found elsewhere on this board.
Sarf
---
To be happy living in this world, there are sides of the soul one must entirely paralyze.
Sarf
---
To be happy living in this world, there are sides of the soul one must entirely paralyze.
Code: Select all
for(Directory::MapIter j = directories.begin(); j != directories.end(); ++j) {
delete j->second;
}
Re: compiling error .24
[quote="sarf"]Add the wtlport and stlport, posts about this can be found elsewhere on this board.
i have latest SDK and both stlport ad wtlport and DC 0.232 compiled just fine. From 0.233 i have this problem
i have latest SDK and both stlport ad wtlport and DC 0.232 compiled just fine. From 0.233 i have this problem
i've tried but now give this error:Gadget wrote:Code: Select all
for(Directory::MapIter j = directories.begin(); j != directories.end(); ++j) { delete j->second; }
--------------------Configuration: DCPlusPlus - Win32 Release--------------------
Linking...
MainFrm.obj : error LNK2001: unresolved external symbol "public: static class ADLSearchFrame * ADLSearchFrame::frame" (?frame@ADLSearchFrame@@2PAV1@A)
MainFrm.obj : error LNK2001: unresolved external symbol "public: long __thiscall ADLSearchFrame::OnEndLabelEditList(int,struct tagNMHDR *,int &)" (?OnEndLabelEditList@ADLSearchFrame@@QAEJHPAUtagNMHDR@@AAH@Z)
MainFrm.obj : error LNK2001: unresolved external symbol "public: long __thiscall ADLSearchFrame::OnDoubleClickList(int,struct tagNMHDR *,int &)" (?OnDoubleClickList@ADLSearchFrame@@QAEJHPAUtagNMHDR@@AAH@Z)
MainFrm.obj : error LNK2001: unresolved external symbol "public: long __thiscall ADLSearchFrame::OnMoveDown(unsigned short,unsigned short,struct HWND__ *,int &)" (?OnMoveDown@ADLSearchFrame@@QAEJGGPAUHWND__@@AAH@Z)
MainFrm.obj : error LNK2001: unresolved external symbol "public: long __thiscall ADLSearchFrame::OnMoveUp(unsigned short,unsigned short,struct HWND__ *,int &)" (?OnMoveUp@ADLSearchFrame@@QAEJGGPAUHWND__@@AAH@Z)
MainFrm.obj : error LNK2001: unresolved external symbol "public: long __thiscall ADLSearchFrame::OnRemove(unsigned short,unsigned short,struct HWND__ *,int &)" (?OnRemove@ADLSearchFrame@@QAEJGGPAUHWND__@@AAH@Z)
MainFrm.obj : error LNK2001: unresolved external symbol "public: long __thiscall ADLSearchFrame::OnAdd(unsigned short,unsigned short,struct HWND__ *,int &)" (?OnAdd@ADLSearchFrame@@QAEJGGPAUHWND__@@AAH@Z)
MainFrm.obj : error LNK2001: unresolved external symbol "public: long __thiscall ADLSearchFrame::OnContextMenu(unsigned int,unsigned int,long,int &)" (?OnContextMenu@ADLSearchFrame@@QAEJIIJAAH@Z)
MainFrm.obj : error LNK2001: unresolved external symbol "public: long __thiscall ADLSearchFrame::OnClose(unsigned int,unsigned int,long,int &)" (?OnClose@ADLSearchFrame@@QAEJIIJAAH@Z)
MainFrm.obj : error LNK2001: unresolved external symbol "public: long __thiscall ADLSearchFrame::OnCreate(unsigned int,unsigned int,long,int &)" (?OnCreate@ADLSearchFrame@@QAEJIIJAAH@Z)
MainFrm.obj : error LNK2001: unresolved external symbol "public: void __thiscall ADLSearchFrame::UpdateLayout(int)" (?UpdateLayout@ADLSearchFrame@@QAEXH@Z)
client.lib(DirectoryListing.obj) : error LNK2001: unresolved external symbol "protected: static class ADLSearchManager * Singleton<class ADLSearchManager>::instance" (?instance@?$Singleton@VADLSearchManager@@@@1PAVADLSearchManager@@A)
client.lib(DCPlusPlus.obj) : error LNK2001: unresolved external symbol "protected: static class ADLSearchManager * Singleton<class ADLSearchManager>::instance" (?instance@?$Singleton@VADLSearchManager@@@@1PAVADLSearchManager@@A)
client.lib(DCPlusPlus.obj) : error LNK2001: unresolved external symbol "public: void __thiscall ADLSearchManager::Load(void)" (?Load@ADLSearchManager@@QAEXXZ)
client.lib(DCPlusPlus.obj) : error LNK2001: unresolved external symbol "public: void __thiscall ADLSearchManager::Save(void)" (?Save@ADLSearchManager@@QAEXXZ)
App/DCPlusPlus.exe : fatal error LNK1120: 14 unresolved externals
Error executing link.exe.
DCPlusPlus.exe - 16 error(s), 0 warning(s)
-
- The Creator Himself
- Posts: 296
- Joined: 2003-01-02 17:15
Gadget wrote:Add ADLSearch.cpp and ADLSearch.h to Client files and ADLSearchFrame.cpp and ADLSearchFrame.h to DCPlusPlus files.volume wrote:Linking...
MainFrm.obj : error LNK2001: unresolved external symbol "public: static class ADLSearchFrame
WOWWWWWW now work
Thank!!!
Ps. you are the gadget of 'gadget hub script' ?
http://gadget.no-ip.infovolume wrote:Ps. you are the gadget of 'gadget hub script' ?
ok are youGadget wrote:http://gadget.no-ip.infovolume wrote:Ps. you are the gadget of 'gadget hub script' ?
Code: Select all
SpyFrame.cpp
UploadPage.cpp
UsersFrame.cpp
WinUtil.cpp
Generating Code...
Linking...
LINK : fatal error LNK1104: cannot open file "dbghelp.lib"
Error executing link.exe.
DCPlusPlus.exe - 1 error(s), 440 warning(s)
WinXP PL SP1
VC6++ SP5
BaGRoS
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
BaGRoS, this thread is a better match for the problem you're experiencing.