compiling error .24

Problems compiling? Don't understand the source code? Don't know how to code your feature? Post here.

Moderator: Moderators

Locked
volume
Posts: 13
Joined: 2003-03-12 05:02

compiling error .24

Post by volume » 2003-03-12 05:13

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

sarf
Posts: 382
Joined: 2003-01-24 05:43
Location: Sweden
Contact:

Re: compiling error .24

Post by sarf » 2003-03-12 12: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.

Gadget
Posts: 62
Joined: 2003-01-11 06:24
Location: Finland
Contact:

Post by Gadget » 2003-03-12 15:52

Code: Select all

	for(Directory::MapIter j = directories.begin(); j != directories.end(); ++j) {
		delete j->second;
	}

volume
Posts: 13
Joined: 2003-03-12 05:02

Re: compiling error .24

Post by volume » 2003-03-13 02:36

[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

volume
Posts: 13
Joined: 2003-03-12 05:02

Post by volume » 2003-03-13 02:56

Gadget wrote:

Code: Select all

	for(Directory::MapIter j = directories.begin(); j != directories.end(); ++j) {
		delete j->second;
	}
i've tried but now give this error:

--------------------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)

arnetheduck
The Creator Himself
Posts: 296
Joined: 2003-01-02 17:15

Post by arnetheduck » 2003-03-13 09:22

Oops, I believe the vc6 project files are a bit out of date...I'll try a vc6 compile before the next release, and fix what needs fixing...

volume
Posts: 13
Joined: 2003-03-12 05:02

Post by volume » 2003-03-13 11:01

arnetheduck wrote:Oops, I believe the vc6 project files are a bit out of date...I'll try a vc6 compile before the next release, and fix what needs fixing...
Thank :lol:

Gadget
Posts: 62
Joined: 2003-01-11 06:24
Location: Finland
Contact:

Post by Gadget » 2003-03-14 09:08

volume wrote:Linking...
MainFrm.obj : error LNK2001: unresolved external symbol "public: static class ADLSearchFrame
Add ADLSearch.cpp and ADLSearch.h to Client files and ADLSearchFrame.cpp and ADLSearchFrame.h to DCPlusPlus files.

volume
Posts: 13
Joined: 2003-03-12 05:02

Post by volume » 2003-03-17 05:02

Gadget wrote:
volume wrote:Linking...
MainFrm.obj : error LNK2001: unresolved external symbol "public: static class ADLSearchFrame
Add ADLSearch.cpp and ADLSearch.h to Client files and ADLSearchFrame.cpp and ADLSearchFrame.h to DCPlusPlus files.
:P

WOWWWWWW now work :P :P :P

Thank!!! :lol:

Ps. you are the gadget of 'gadget hub script' ?

Gadget
Posts: 62
Joined: 2003-01-11 06:24
Location: Finland
Contact:

Post by Gadget » 2003-03-17 05:12

volume wrote:Ps. you are the gadget of 'gadget hub script' ?
http://gadget.no-ip.info

volume
Posts: 13
Joined: 2003-03-12 05:02

Post by volume » 2003-03-18 04:36

Gadget wrote:
volume wrote:Ps. you are the gadget of 'gadget hub script' ?
http://gadget.no-ip.info
ok are you :lol:

BaGRoS
Posts: 7
Joined: 2003-04-05 09:25

Post by BaGRoS » 2003-04-05 09:28

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)
Help me
WinXP PL SP1
VC6++ SP5
8) BaGRoS 8)

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-07 21:46
Location: .pa.us

Post by GargoyleMT » 2003-04-05 16:53

BaGRoS, this thread is a better match for the problem you're experiencing.

Locked