Compile 0.263

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

Moderator: Moderators

dex_killer
Posts: 9
Joined: 2003-09-08 20:59
Location: Denmark

Compile 0.263

Post by dex_killer » 2003-09-30 23:13

Thanks to the fix (http://dcplusplus.sourceforge.net/forum ... php?t=5528) I only have 3 errors left, instead of 188! :-)

I really hope someone can help with the last ones.. Cause I dunno what to do!

Generating Code...
Linking...
MainFrm.obj : error LNK2001: unresolved external symbol "public: long __thiscall TextFrame::OnCreate(unsigned int,unsigned int,long,int &)" (?OnCreate@TextFrame@@QAEJIIJAAH@Z)
MainFrm.obj : error LNK2001: unresolved external symbol "public: void __thiscall TextFrame::UpdateLayout(int)" (?UpdateLayout@TextFrame@@QAEXH@Z)
App/DCPlusPlus.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.

DCPlusPlus.exe - 3 error(s), 16 warning(s)

pindemad
Posts: 2
Joined: 2003-05-24 17:36

Post by pindemad » 2003-10-01 00:16

You have to add "TextFrame.cpp" to the project

joakim_tosteberg
Forum Moderator
Posts: 587
Joined: 2003-05-07 07:38
Location: Sweden, Linkoping

Post by joakim_tosteberg » 2003-10-01 04:05

I can´t just understan thi, why does so many people have do add file to the project manually? I´ve never got any problem with that.

Twink
Posts: 436
Joined: 2003-04-01 04:31
Location: New Zealand

Post by Twink » 2003-10-01 05:53

I think its because some people are using the old visual studio 6 project files? and since arne doesn't use them they aren't updated.

dex_killer
Posts: 9
Joined: 2003-09-08 20:59
Location: Denmark

Solved

Post by dex_killer » 2003-10-01 14:43

pindemad wrote:You have to add "TextFrame.cpp" to the project


Thank you so much! Now it finally works.

But if I'm using and old c++, then which one would you
recommend?

joakim_tosteberg
Forum Moderator
Posts: 587
Joined: 2003-05-07 07:38
Location: Sweden, Linkoping

Post by joakim_tosteberg » 2003-10-01 16:09

Vs .net 2002 or 2003

dex_killer
Posts: 9
Joined: 2003-09-08 20:59
Location: Denmark

Final comment

Post by dex_killer » 2003-10-01 18:42

I'll just write my last comment.

Thank you so much for answering that fast!
My problem is now solved and I will order
VS .net 2003 ASAP!

Dex Killer

Well actually I have one more problem.. I think I might
aswell ask you guys about! I know it's not on topic here.

When I try to compile dc++k 0.251 I get 14 errors I don't
know what to do with.

Linking...
LINK : warning LNK4199: /DELAYLOAD:imagehlp.dll ignored; no imports found from imagehlp.dll
ADLSearchFrame.obj : error LNK2001: unresolved external symbol "public: long __thiscall ADLSProperties::OnCloseCmd(unsigned short,unsigned short,struct HWND__ *,int &)" (?OnCloseCmd@ADLSProperties@@QAEJGGPAUHWND__@@AAH@Z)
ADLSearchFrame.obj : error LNK2001: unresolved external symbol "public: long __thiscall ADLSProperties::OnInitDialog(unsigned int,unsigned int,long,int &)" (?OnInitDialog@ADLSProperties@@QAEJIIJAAH@Z)
PropertiesDlg.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall DCPPkPage::write(void)" (?write@DCPPkPage@@UAEXXZ)
PropertiesDlg.obj : error LNK2001: unresolved external symbol "public: void __thiscall DCPPkPage::updateEdits(void)" (?updateEdits@DCPPkPage@@QAEXXZ)
PropertiesDlg.obj : error LNK2001: unresolved external symbol "public: void __thiscall DCPPkPage::initDialog(void)" (?initDialog@DCPPkPage@@QAEXXZ)
PropertiesDlg.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall DCPPkDetectorPage::write(void)" (?write@DCPPkDetectorPage@@UAEXXZ)
PropertiesDlg.obj : error LNK2001: unresolved external symbol "public: void __thiscall DCPPkDetectorPage::updateEdits(void)" (?updateEdits@DCPPkDetectorPage@@QAEXXZ)
PropertiesDlg.obj : error LNK2001: unresolved external symbol "public: void __thiscall DCPPkDetectorPage::initDialog(void)" (?initDialog@DCPPkDetectorPage@@QAEXXZ)
PropertiesDlg.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall DCPPkDetector2Page::write(void)" (?write@DCPPkDetector2Page@@UAEXXZ)
PropertiesDlg.obj : error LNK2001: unresolved external symbol "public: long __thiscall DCPPkDetector2Page::onInitDialog(unsigned int,unsigned int,long,int &)" (?onInitDialog@DCPPkDetector2Page@@QAEJIIJAAH@Z)
client.lib(ConnectionManager.obj) : error LNK2001: unresolved external symbol "public: bool __thiscall UserClientType::isExtendedLock(void)" (?isExtendedLock@UserClientType@@QAE_NXZ)
client.lib(ConnectionManager.obj) : error LNK2001: unresolved external symbol "public: static class UserClientType * __fastcall UserClientType::getUserClientType(class _STL::basic_string,class _STL::allocator >,class _STL::basic_string,class _STL::allocator >)" (?getUserClientType@UserClientType@@SIPAV1@V?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@0@Z)
client.lib(ConnectionManager.obj) : error LNK2001: unresolved external symbol "public: __thiscall UserClientType::~UserClientType(void)" (??1UserClientType@@QAE@XZ)
App/DCPlusPlus.exe : fatal error LNK1120: 13 unresolved externals
Error executing link.exe.

joakim_tosteberg
Forum Moderator
Posts: 587
Joined: 2003-05-07 07:38
Location: Sweden, Linkoping

Post by joakim_tosteberg » 2003-10-01 19:05

Loos like the same kinds of erors you had with dc++. I think you will have to add ADLSProperties, DCPPkPage, DCPPkDetectorPage and DCPPkDetector2Page. I´m not sure if you havt to add both the .cpp and .h files or only the .ccp or the .h. Test this and see if you get lesser errors.

cherrio
Posts: 28
Joined: 2003-02-17 14:02

Post by cherrio » 2003-10-01 22:29

I got the same errors on my mission to compile DC++ http://dcplusplus.sourceforge.net/forum ... php?t=5536

Yes, you have to add the .cpp to the Source Files and .h to the Headers files that joakim_tosteberg mentioned.

dex_killer
Posts: 9
Joined: 2003-09-08 20:59
Location: Denmark

Post by dex_killer » 2003-10-02 10:08

joakim_tosteberg wrote:Loos like the same kinds of erors you had with dc++. I think you will have to add ADLSProperties, DCPPkPage, DCPPkDetectorPage and DCPPkDetector2Page. I´m not sure if you havt to add both the .cpp and .h files or only the .ccp or the .h. Test this and see if you get lesser errors.


Now I only have 4 errors left..

--------------------Configuration: DCPlusPlus - Win32 Release--------------------
Linking...
LINK : warning LNK4199: /DELAYLOAD:imagehlp.dll ignored; no imports found from imagehlp.dll
client.lib(ConnectionManager.obj) : error LNK2001: unresolved external symbol "public: bool __thiscall UserClientType::isExtendedLock(void)" (?isExtendedLock@UserClientType@@QAE_NXZ)
client.lib(ConnectionManager.obj) : error LNK2001: unresolved external symbol "public: static class UserClientType * __fastcall UserClientType::getUserClientType(class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char>
>,class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> >)" (?getUserClientType@UserClientType@@SIPAV1@V?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@0@Z)
client.lib(ConnectionManager.obj) : error LNK2001: unresolved external symbol "public: __thiscall UserClientType::~UserClientType(void)" (??1UserClientType@@QAE@XZ)
App/DCPlusPlus.exe : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.

cherrio
Posts: 28
Joined: 2003-02-17 14:02

Post by cherrio » 2003-10-02 10:32

add UserClientType.cpp to the source files and UserClientType.h to the header files. Clean Solution and rebuild.

dex_killer
Posts: 9
Joined: 2003-09-08 20:59
Location: Denmark

Post by dex_killer » 2003-10-02 11:36

Don't know why I didn't think about that myself.. Well
thanks alot!

Who is online

Users browsing this forum: Google [Bot] and 0 guests