Boost logo

Boost Users :

From: Mesut BŁyŁktokatli (bueyuekt_at_[hidden])
Date: 2005-07-25 16:29:01


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_at_filesystem@boost@@QAE_at_PBDP6A_NABV?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@_STL@@@_STL@@@Z_at_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_at_filesystem@boost@@YA_NABV?$basic_s
tring_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@_STL@@@_STL@@@Z)
Debug/Tutorial02.exe : fatal error LNK1120: 2 unaufgeloeste externe Verweise

(Sorry its german writings in it)

Mesut

  ----- Original Message -----
  From: Delfin Rojas
  To: boost-users_at_[hidden]
  Sent: Monday, July 25, 2005 9:03 PM
  Subject: Re: [Boost-users] problem using boost::filesystem

  Try boost::filesystem::path("C:\\", boost::filesystem::native);

   

  You can also take a look at the examples under <boost/libs/filesystem/example>

   

  Hope this helps,

   

  -delfin



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net