Mmm, not sure what is going on there. I
can only recommend to take a look at the examples the library provides. Also
try linking against the static filesystem lib.
-delfin
From:
boost-users-bounces@lists.boost.org
[mailto:boost-users-bounces@lists.boost.org] On
Behalf Of Mesut Büyüktokatli
Sent: Monday, July 25, 2005 2:29
PM
To:
Subject: Re: [Boost-users] problem
using boost::filesystem
Well, when i try boost::filesystem::path(“C:\\”,
boost::filesystem::native);
i get a linker error saying this:
Tutorial02.obj : error LNK2001:
Nichtaufgeloestes externes Symbol "public: __thiscall boost::filesystem::path::path(char
const *,bool (__cdecl*)(class _STL::basic_string<char,struct
std::char_traits<char>,class _STL::allocator<char> > const
&))" (??
0path@filesystem@boost@@QAE@PBDP6A_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@_STL@@@_STL@@@Z@Z)
Tutorial02.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool
__cdecl boost::filesystem::native(class _STL::basic_string<char,struct
std::char_traits<char>,class _STL::allocator<char> > const
&)" (?native@filesystem@boost@@YA_NABV?$basic_s
tring@DU?$char_traits@D@std@@V?$allocator@D@_STL@@@_STL@@@Z)
Debug/Tutorial02.exe : fatal error LNK1120: 2 unaufgeloeste externe Verweise
(Sorry its german writings in it)
Mesut