newbie; unresolved external * 31
Moderator: Moderators
newbie; unresolved external * 31
I download DC++ 0,668 and I do all things written in compile.txt but i have 31errors, all identic:
unresolved external symbol "unsigned long __cdecl _exception_code(void)" (?_exception_code@@YAKXZ)
If someone understand me (sorry for my english) , and know what is screwed Please answer.
my machine is WinXp and i use ms vs.Net 2003
unresolved external symbol "unsigned long __cdecl _exception_code(void)" (?_exception_code@@YAKXZ)
If someone understand me (sorry for my english) , and know what is screwed Please answer.
my machine is WinXp and i use ms vs.Net 2003
Should I give you a fish or teach you fishing?
You've probably missed a include, either stlport or wtl. Mine looks like this:
(VC++ Directories -> Include files)
F:\DCPlusPlus\includes\wtl\wtl75_4291\include
F:\DCPlusPlus\includes\stl\DCPlusPlus-STLPort-4.6.2
And then of course....google is always your friend : http://www.google.se/search?hl=sv&q=unr ... ning&meta=
You've probably missed a include, either stlport or wtl. Mine looks like this:
(VC++ Directories -> Include files)
F:\DCPlusPlus\includes\wtl\wtl75_4291\include
F:\DCPlusPlus\includes\stl\DCPlusPlus-STLPort-4.6.2
And then of course....google is always your friend : http://www.google.se/search?hl=sv&q=unr ... ning&meta=
"Nothing really happens fast. Everything happens at such a rate that by the time it happens, it all seems normal."
well, if it is not a problem for You i would like to get fish;)
But serious, did You (or anyone) know where is bug, all error messages contain the same symbol "unsigned long __cdecl _exception_code(void)" (?_exception_code@@YAKXZ) so i think its some trivial mistake but i can't find it.
Once again help please /*and of course forgive my english*/
But serious, did You (or anyone) know where is bug, all error messages contain the same symbol "unsigned long __cdecl _exception_code(void)" (?_exception_code@@YAKXZ) so i think its some trivial mistake but i can't find it.
Once again help please /*and of course forgive my english*/
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
Ok, are you absolutely sure you have the right versions of ATL and STL for the version of DC++ you are trying to compile?. And again - are you sure you have included them the right way?
"Nothing really happens fast. Everything happens at such a rate that by the time it happens, it all seems normal."
-
- Forum Moderator
- Posts: 587
- Joined: 2003-05-07 02:38
- Location: Sweden, Linkoping
I guess you meant wtl here.Guitarm wrote:Ok, are you absolutely sure you have the right versions of ATL and STL for the version of DC++ you are trying to compile?. And again - are you sure you have included them the right way?
In the error messages, there are not anythin like First referenced in somefunc(someparam) at the end of the error message? ( Check the build window instead of the task window if you did that before as the build window sometimes contains more info )
hmmm... I'm not sure i have the right ver of libs. I just download them together with dc source and unpack into separate dirs. Output window contain:
Code: Select all
------ Build started: Project: zlib, Configuration: Release Win32 ------
zlib - up-to-date.
------ Build started: Project: bzip2, Configuration: Release Win32 ------
bzip2 - up-to-date.
------ Build started: Project: client, Configuration: Release Win32 ------
Compiling...
NmdcHub.cpp
client\NmdcHub.cpp(37) : warning C4355: 'this' : used in base member initializer list
Creating library...
Build log was saved at "file://f:\development\DCPlusPlus-0.668-src\vc7\Release\client\BuildLog.htm"
client - 0 error(s), 1 warning(s)
------ Build started: Project: DCPlusPlus, Configuration: Release Win32 ------
Compiling...
MainFrm.cpp
Linking...
UsersFrame.obj : error LNK2001: unresolved external symbol "unsigned long __cdecl _exception_code(void)" (?_exception_code@@YAKXZ)
WinUtil.obj : error LNK2001: unresolved external symbol "unsigned long __cdecl _exception_code(void)" (?_exception_code@@YAKXZ)
TransferView.obj : error LNK2001: unresolved external symbol "unsigned long __cdecl _exception_code(void)" (?_exception_code@@YAKXZ)
TreePropertySheet.obj : error LNK2001: unresolved external symbol "unsigned long __cdecl _exception_code(void)" (?_exception_code@@YAKXZ)
UCPage.obj : error LNK2001: unresolved external symbol "unsigned long __cdecl _exception_code(void)" (?_exception_code@@YAKXZ)
UploadPage.obj : error LNK2001: unresolved external symbol "unsigned long __cdecl _exception_code(void)" (?_exception_code@@YAKXZ)
SpyFrame.obj : error LNK2001: unresolved external symbol "unsigned long __cdecl _exception_code(void)" (?_exception_code@@YAKXZ)
StatsFrame.obj : error LNK2001: unresolved external symbol "unsigned long __cdecl _exception_code(void)" (?_exception_code@@YAKXZ)
stdafx.obj : error LNK2001: unresolved external symbol "unsigned long __cdecl _exception_code(void)" (?_exception_code@@YAKXZ)
TextFrame.obj : error LNK2001: unresolved external symbol "unsigned long __cdecl _exception_code(void)" (?_exception_code@@YAKXZ)
PropertiesDlg.obj : error LNK2001: unresolved external symbol "unsigned long __cdecl _exception_code(void)" (?_exception_code@@YAKXZ)
PublicHubsFrm.obj : error LNK2001: unresolved external symbol "unsigned long __cdecl _exception_code(void)" (?_exception_code@@YAKXZ)
QueueFrame.obj : error LNK2001: unresolved external symbol "unsigned long __cdecl _exception_code(void)" (?_exception_code@@YAKXZ)
SearchFrm.obj : error LNK2001: unresolved external symbol "unsigned long __cdecl _exception_code(void)" (?_exception_code@@YAKXZ)
main.obj : error LNK2001: unresolved external symbol "unsigned long __cdecl _exception_code(void)" (?_exception_code@@YAKXZ)
MainFrm.obj : error LNK2001: unresolved external symbol "unsigned long __cdecl _exception_code(void)" (?_exception_code@@YAKXZ)
NotepadFrame.obj : error LNK2001: unresolved external symbol "unsigned long __cdecl _exception_code(void)" (?_exception_code@@YAKXZ)
PrivateFrame.obj : error LNK2001: unresolved external symbol "unsigned long __cdecl _exception_code(void)" (?_exception_code@@YAKXZ)
FinishedFrame.obj : error LNK2001: unresolved external symbol "unsigned long __cdecl _exception_code(void)" (?_exception_code@@YAKXZ)
FinishedULFrame.obj : error LNK2001: unresolved external symbol "unsigned long __cdecl _exception_code(void)" (?_exception_code@@YAKXZ)
GeneralPage.obj : error LNK2001: unresolved external symbol "unsigned long __cdecl _exception_code(void)" (?_exception_code@@YAKXZ)
HubFrame.obj : error LNK2001: unresolved external symbol "unsigned long __cdecl _exception_code(void)" (?_exception_code@@YAKXZ)
DirectoryListingFrm.obj : error LNK2001: unresolved external symbol "unsigned long __cdecl _exception_code(void)" (?_exception_code@@YAKXZ)
DownloadPage.obj : error LNK2001: unresolved external symbol "unsigned long __cdecl _exception_code(void)" (?_exception_code@@YAKXZ)
FavoriteDirsPage.obj : error LNK2001: unresolved external symbol "unsigned long __cdecl _exception_code(void)" (?_exception_code@@YAKXZ)
FavoritesFrm.obj : error LNK2001: unresolved external symbol "unsigned long __cdecl _exception_code(void)" (?_exception_code@@YAKXZ)
ADLSearchFrame.obj : error LNK2019: unresolved external symbol "unsigned long __cdecl _exception_code(void)" (?_exception_code@@YAKXZ) referenced in function "public: long __thiscall ATL::CComCriticalSection::Init(void)" (?Init@CComCriticalSection@ATL@@QAEJXZ)
Advanced2Page.obj : error LNK2001: unresolved external symbol "unsigned long __cdecl _exception_code(void)" (?_exception_code@@YAKXZ)
AdvancedPage.obj : error LNK2001: unresolved external symbol "unsigned long __cdecl _exception_code(void)" (?_exception_code@@YAKXZ)
AppearancePage.obj : error LNK2001: unresolved external symbol "unsigned long __cdecl _exception_code(void)" (?_exception_code@@YAKXZ)
./App/DCPlusPlus.exe : fatal error LNK1120: 1 unresolved externals
Build log was saved at "file://f:\development\DCPlusPlus-0.668-src\vc7\Release\windows\BuildLog.htm"
DCPlusPlus - 31 error(s), 0 warning(s)
------ Build started: Project: help, Configuration: Release Win32 ------
Compiling Help File
System nie może odnaleźć określonej ścieżki.//system can't find define directory
Build log was saved at "file://F:\development\DCPlusPlus-0.668-src\vc7\Debug\help\BuildLog.htm"
help - 0 error(s), 0 warning(s)
---------------------- Done ----------------------
Build: 4 succeeded, 1 failed, 0 skipped
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
I rebuild it many times and combine with release/debug and almost all available project options. I even try many real stupid things like or compile and include library with this function doing nothing , yes i know its dumb , but i really want to make it works.
Any ideas
Code: Select all
#define _exception_code(void) NULL
Any ideas
-
- Forum Moderator
- Posts: 1420
- Joined: 2003-04-22 14:37
-
- Forum Moderator
- Posts: 587
- Joined: 2003-05-07 02:38
- Location: Sweden, Linkoping
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us