Re: [Boost-users] boost 1.44.0 undefined reference to boost::filesystem2::no_check
No, that issue is a bit different and I have already included
Any one??
any idea?
Waiting for response in this regard.
There was a similar issues here:
http://permalink.gmane.org/gmane.comp.lib.boost.user/62789
Doesn't it apply your case? do you include
On 2010-10-12 15:16, Asif Fayyaz wrote:
No, that issue is a bit different and I have already included
I am again posting the code: --------------------------------Sample application source: #include
#include int main() { std::string m_FileName(boost::filesystem::path("testfile1.txt", boost::filesystem::no_check).native_file_string());
printf("Testboost.....%s\n", m_FileName.c_str()); return 0; } --------------------------------
Compile & Link --> generate test.exe: g++ -o test.exe test.cpp -lboost_filesystem Start (here on Linux): ./test.exe prints: Testboost.....testfile1.txt IMHO it seems to work, so what was your problem?
No, that issue is a bit different and I have already included
I am again posting the code: --------------------------------Sample application source: #include
#include int main() { std::string m_FileName(boost::filesystem::path("testfile1.txt", boost::filesystem::no_check).native_file_string());
printf("Testboost.....%s\n", m_FileName.c_str()); return 0; } --------------------------------
Compile & Link --> generate test.exe: g++ -o test.exe test.cpp -lboost_filesystem
Start (here on Linux): ./test.exe prints: Testboost.....testfile1.txt
IMHO it seems to work, so what was your problem?
FWIW, I've successfully compiled and linked the above code in MSVC10.
participants (3)
-
Asif Fayyaz
-
for-gmane
-
Igor R