[boost::filesystem::wpath]wpath missing in boost 1.37?
Hi Dear I want use boost::filesystem::wpath for directory operation, It worked fine in VS2005, but I can't compile the same code by code::block + MinGW. The compiler report error below. D:\Development\Tools\boosttest\localization.cpp:14: error: `wpath' is not a member of `boost::filesystem' D:\Development\Tools\boosttest\localization.cpp:14: error: expected `;' before "path" D:\Development\Tools\boosttest\localization.cpp:15: error: `path' was not declared in this scope How can I resolve it ? Is it a bug in MinGW? Thanks -- Best Regards, Kennir
AMDG Ken zhang wrote:
I want use boost::filesystem::wpath for directory operation, It worked fine in VS2005, but I can't compile the same code by code::block + MinGW. The compiler report error below.
D:\Development\Tools\boosttest\localization.cpp:14: error: `wpath' is not a member of `boost::filesystem' D:\Development\Tools\boosttest\localization.cpp:14: error: expected `;' before "path" D:\Development\Tools\boosttest\localization.cpp:15: error: `path' was not declared in this scope
How can I resolve it ? Is it a bug in MinGW?
is BOOST_NO_STD_WSTRING defined? In Christ, Steven Watanabe
On Sun, Nov 30, 2008 at 02:40:23AM +0800, Ken zhang wrote:
Hi Dear
I want use boost::filesystem::wpath for directory operation, It worked fine in VS2005, but I can't compile the same code by code::block + MinGW. The compiler report error below.
D:\Development\Tools\boosttest\localization.cpp:14: error: `wpath' is not a member of `boost::filesystem' D:\Development\Tools\boosttest\localization.cpp:14: error: expected `;' before "path" D:\Development\Tools\boosttest\localization.cpp:15: error: `path' was not declared in this scope
How can I resolve it ? Is it a bug in MinGW?
IIRC MinGW 3.4.x doesn't support wide character natively. You can try to build boost with MinGW+STLPort which brings wchar_t support. MinGW 4.x might also have them.
Thanks -- Best Regards,
Kennir
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Hi Dear
Sure, My GCC version is 3.4.x, So it does not support wide character
natively . :(
gcc-core-3.4.5-20060117-1-vista.tar.gz
gcc-g++-3.4.5-20060117-1-vista.tar.gz
mingw-runtime-3.14.tar.gz
mingw32-make-3.81-2.tar.gz
mingw-utils-0.3.tar.gz
w32api-3.11.tar.gz
binutils-2.18.50-20080109.tar.gz
gdb-6.7.50.20071127-mingw.tar.bz2
Thanks
2008/11/30 Deng Xiyue
On Sun, Nov 30, 2008 at 02:40:23AM +0800, Ken zhang wrote:
Hi Dear
I want use boost::filesystem::wpath for directory operation, It worked fine in VS2005, but I can't compile the same code by code::block + MinGW. The compiler report error below.
D:\Development\Tools\boosttest\localization.cpp:14: error: `wpath' is not a member of `boost::filesystem' D:\Development\Tools\boosttest\localization.cpp:14: error: expected `;' before "path" D:\Development\Tools\boosttest\localization.cpp:15: error: `path' was not declared in this scope
How can I resolve it ? Is it a bug in MinGW?
IIRC MinGW 3.4.x doesn't support wide character natively. You can try to build boost with MinGW+STLPort which brings wchar_t support. MinGW 4.x might also have them.
Thanks -- Best Regards,
Kennir
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Best Regards, Ken Zhang Greatelsoft Co., Ltd. mailto:ken@greatelsoft.com http://www.greatelsoft.com M/P:0086-1350-191-6596
Hello, You may wish to try tdm branch of mingw (http://www.tdragon.net/recentgcc/). Its gcc is 4.3.2 now.
Sure, My GCC version is 3.4.x, So it does not support wide character natively . :(
gcc-core-3.4.5-20060117-1-vista.tar.gz gcc-g++-3.4.5-20060117-1-vista.tar.gz mingw-runtime-3.14.tar.gz mingw32-make-3.81-2.tar.gz mingw-utils-0.3.tar.gz w32api-3.11.tar.gz binutils-2.18.50-20080109.tar.gz gdb-6.7.50.20071127-mingw.tar.bz2
IIRC MinGW 3.4.x doesn't support wide character natively. You can try to build boost with MinGW+STLPort which brings wchar_t support. MinGW 4.x might also have them.
-- Constantin Bryzgalin http://www.oneclicktools.com
I got it! Thank you very much!
2008/12/1 Constantin Bryzgalin
Hello,
You may wish to try tdm branch of mingw (http://www.tdragon.net/recentgcc/). Its gcc is 4.3.2 now.
Sure, My GCC version is 3.4.x, So it does not support wide character natively . :(
gcc-core-3.4.5-20060117-1-vista.tar.gz gcc-g++-3.4.5-20060117-1-vista.tar.gz mingw-runtime-3.14.tar.gz mingw32-make-3.81-2.tar.gz mingw-utils-0.3.tar.gz w32api-3.11.tar.gz binutils-2.18.50-20080109.tar.gz gdb-6.7.50.20071127-mingw.tar.bz2
IIRC MinGW 3.4.x doesn't support wide character natively. You can try to build boost with MinGW+STLPort which brings wchar_t support. MinGW 4.x might also have them.
-- Constantin Bryzgalin http://www.oneclicktools.com
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Best Regards, Ken Zhang Greatelsoft Co., Ltd. mailto:ken@greatelsoft.com http://www.greatelsoft.com M/P:0086-1350-191-6596
participants (4)
-
Constantin Bryzgalin
-
Deng Xiyue
-
Ken zhang
-
Steven Watanabe