A
Angus
Hello
I am using some classes from a third party and have included them in my
projecxt and am compiling and linking with them.
Everything compiles ok but I get these link errors:
I added all your files to my project and recompiled. Now everything compiles
as before but get these link errors:
Linking...
Win32Exception.obj : error LNK2001: unresolved external symbol "class
std::basic_string,class std::allocator > __cdecl
JetByteTools::Win32::GetLastErrorMessage(unsigned long)"
(?GetLastErrorMessage@Win32@JetB
yteTools@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@
K@Z)
SocketServer.obj : error LNK2001: unresolved external symbol "class
std::basic_string,class std::allocator > __cdecl
JetByteTools::Win32::GetLastErrorMessage(unsigned long)"
(?GetLastErrorMessage@Win32@JetByt
eTools@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@K@
Z)
ThreadPool.obj : error LNK2001: unresolved external symbol "class
std::basic_string,class std::allocator > __cdecl
JetByteTools::Win32::GetLastErrorMessage(unsigned long)"
(?GetLastErrorMessage@Win32@JetByteT
ools@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@K@Z)
IOBuffer.obj : error LNK2001: unresolved external symbol "void __cdecl
JetByteTools::Win32::Output(class std::basic_string,class std::allocator >
const &)" (?Output@Win32@JetByteTools@@YAXABV?$basic_string@DU
?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
SocketServer.obj : error LNK2001: unresolved external symbol "void __cdecl
JetByteTools::Win32::Output(class std::basic_string,class std::allocator >
const &)" (?Output@Win32@JetByteTools@@YAXABV?$basic_strin
g@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
ThreadPool.obj : error LNK2001: unresolved external symbol "void __cdecl
JetByteTools::Win32::Output(class std::basic_string,class std::allocator >
const &)" (?Output@Win32@JetByteTools@@YAXABV?$basic_string@
DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
Debug/CubaMgr.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
I have a main (sort of global .h file and in there I have #include'd the .h
file I need from the range of third party headers.
There is no external library required so I am confused as to what would
cause this problem?
I am using some classes from a third party and have included them in my
projecxt and am compiling and linking with them.
Everything compiles ok but I get these link errors:
I added all your files to my project and recompiled. Now everything compiles
as before but get these link errors:
Linking...
Win32Exception.obj : error LNK2001: unresolved external symbol "class
std::basic_string,class std::allocator > __cdecl
JetByteTools::Win32::GetLastErrorMessage(unsigned long)"
(?GetLastErrorMessage@Win32@JetB
yteTools@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@
K@Z)
SocketServer.obj : error LNK2001: unresolved external symbol "class
std::basic_string,class std::allocator > __cdecl
JetByteTools::Win32::GetLastErrorMessage(unsigned long)"
(?GetLastErrorMessage@Win32@JetByt
eTools@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@K@
Z)
ThreadPool.obj : error LNK2001: unresolved external symbol "class
std::basic_string,class std::allocator > __cdecl
JetByteTools::Win32::GetLastErrorMessage(unsigned long)"
(?GetLastErrorMessage@Win32@JetByteT
ools@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@K@Z)
IOBuffer.obj : error LNK2001: unresolved external symbol "void __cdecl
JetByteTools::Win32::Output(class std::basic_string,class std::allocator >
const &)" (?Output@Win32@JetByteTools@@YAXABV?$basic_string@DU
?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
SocketServer.obj : error LNK2001: unresolved external symbol "void __cdecl
JetByteTools::Win32::Output(class std::basic_string,class std::allocator >
const &)" (?Output@Win32@JetByteTools@@YAXABV?$basic_strin
g@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
ThreadPool.obj : error LNK2001: unresolved external symbol "void __cdecl
JetByteTools::Win32::Output(class std::basic_string,class std::allocator >
const &)" (?Output@Win32@JetByteTools@@YAXABV?$basic_string@
DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
Debug/CubaMgr.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
I have a main (sort of global .h file and in there I have #include'd the .h
file I need from the range of third party headers.
There is no external library required so I am confused as to what would
cause this problem?