Hi all,
I'm trying to build the tut2 example in boost version 1.44 using qt's
build system (.pro) file.
I get the following error when I run nmake after qmake:
Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.
e:\terratec\projects\common\Qt\4.6.3\bin\qmake.exe -win32 -o
Makefile fr
edag.pro
e:\terratec\projects\common\MicrosoftVisualStudio9.0\VC\BIN\nmake.exe -f
Makefile.Debug
Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.
link /LIBPATH:"e:\terratec\projects\common\Qt\4.6.3\lib"
/NOLOGO /DEBUG
/SUBSYSTEM:CONSOLE /MANIFEST
/MANIFESTFILE:"debug\fredag.intermediate.manifest"
/OUT:debug\fredag.exe @C:\DOCUME~1\builder\LOCALS~1\Temp\nmEB2.tmp
fredag.obj : error LNK2019: unresolved external symbol "private: static
class st
d::codecvt const * & __cdecl
boost::filesystem3::path::
wchar_t_codecvt_facet(void)"
(?wchar_t_codecvt_facet@path@filesystem3@boost@@CAA
APBV?$codecvt@GDH@std@@XZ) referenced in function "public: static class
std::cod
ecvt const & __cdecl
boost::filesystem3::path::codecvt(
void)" (?codecvt@path@filesystem3@boost@@SAABV?$codecvt@GDH@std@@XZ)
fredag.obj : error LNK2019: unresolved external symbol "void __cdecl
boost::file
system3::path_traits::convert(unsigned short const *,unsigned short
const *,clas
s std::basic_string
&,class std::codecvt const &)"
(?convert@path_trait
s@filesystem3@boost@@YAXPBG0AAV?$basic_string@DU?$char_traits@D@std@@V?$allocato
const
__thiscall boost::filesystem3::path::string(class
std::codecvt const &)const "
(?string@path@filesystem3@boost@@QBE?BV?$basic_string@D
U?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV?$codecvt@GDH@5@@Z)
fredag.obj : error LNK2019: unresolved external symbol "void __cdecl
boost::file
system3::path_traits::convert(char const *,char const *,class
std::basic_string<
unsigned short,struct std::char_traits<unsigned short>,class
std::allocator<unsi
gned short> > &,class std::codecvt const &)"
(?convert@
r@D@2@@std@@ABV?$codecvt@GDH@5@@Z) referenced in function "public: class
std::ba
sic_string &,class std::codecvt const &)"
(?convert@
path_traits@filesystem3@boost@@YAXPBDAAV?$basic_string@GU?$char_traits@G@std@@V?
$allocator@G@2@@std@@ABV?$codecvt@GDH@5@@Z)
debug\fredag.exe : fatal error LNK1120: 3 unresolved externals
NMAKE : fatal error U1077:
'e:\terratec\projects\common\MicrosoftVisualStudio9.0
\VC\BIN\link.EXE' : return code '0x460'
Stop.
NMAKE : fatal error U1077:
'e:\terratec\projects\common\MicrosoftVisualStudio9.0
\VC\BIN\nmake.exe' : return code '0x2'
Stop.
It builds fine on Linux and Mac.
I appreciate all hints.
BR. Eirik