BOOST Filesystem file_size problem

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-tp3073... Sent from the Boost - Users mailing list archive at Nabble.com.

[...] Undefined reference to `boost:: filesystem2:: detail:: file_size_api (std:: basic_string <char, std:: char_traits <char>, std:: allocator <char>> const &) '[...]
Forget to link boost_filesystem.so? Regards, chenwj -- Wei-Ren Chen (陳韋任) Tel:886-2-2788-3799 #1667 Parallel Processing Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.)

My problem was that HD was spoiling and had many I/O errors!! -- View this message in context: http://boost.2283326.n4.nabble.com/BOOST-Filesystem-file-size-problem-tp3073... Sent from the Boost - Users mailing list archive at Nabble.com.
participants (2)
-
Claude
-
陳韋任