Boost logo

Boost Users :

Subject: [Boost-users] BOOST Filesystem file_size problem
From: Claude (clros_at_[hidden])
Date: 2010-12-05 06:04:32


Hi!

I have a problem with file_size ()

If I try to use file_size () like this:

MyFileName string ("myFile");

file_size (path (MyFileName));

[...] Undefined reference to `boost:: filesystem2:: detail:: file_size_api
(std:: basic_string <char, std:: char_traits <char>, std:: allocator <char>>
const &) '[...]

What is wrong?

-- 
View this message in context: http://boost.2283326.n4.nabble.com/BOOST-Filesystem-file-size-problem-tp3073166p3073166.html
Sent from the Boost - Users mailing list archive at Nabble.com.

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