Troubles with building boost 1.32

P

p_kolya

Hello!
I'am build boost 1.32, but some libraries (program_options for example)
didn't compile because of errors. For example file:
boost\program_options\detail\utf8_codecvt_facet.hpp can't be compiled
:(
I'm use:
boost 1.32
STLPort 4.6.2
Visual C++ 7.1
WinXP SP2 Prof
Thanks.
 
M

mlimber

p_kolya said:
Hello!
I'am build boost 1.32, but some libraries (program_options for example)
didn't compile because of errors. For example file:
boost\program_options\detail\utf8_codecvt_facet.hpp can't be compiled
:(
I'm use:
boost 1.32
STLPort 4.6.2
Visual C++ 7.1
WinXP SP2 Prof
Thanks.

Can you post a simple but complete program that demonstates the
problem?

Cheers! --M
 
K

Kristo

p_kolya said:
Hello!
I'am build boost 1.32, but some libraries (program_options for example)
didn't compile because of errors. For example file:
boost\program_options\detail\utf8_codecvt_facet.hpp can't be compiled

Problems such as this should be directed to a Boost mailing list.
Strictly speaking, Boost is OT here.

Kristo
 
M

mlimber

Kristo said:
Problems such as this should be directed to a Boost mailing list.
Strictly speaking, Boost is OT here.

Kristo

Agreed. But because of Boost's contributions to the quasi-standard TR1,
it's a little grayer than, say, platform issues. I'm willing to hear
more before I direct the OP to Boost lists. :)

Cheers! --M
 
P

p_kolya

I want to say that when I compile boost from sources to install it I
get these errors. Problem in boost installation.
 
B

Ben Pope

p_kolya said:
Hello!
I'am build boost 1.32, but some libraries (program_options for example)
didn't compile because of errors. For example file:
boost\program_options\detail\utf8_codecvt_facet.hpp can't be compiled
:(
I'm use:
boost 1.32
STLPort 4.6.2
Visual C++ 7.1
WinXP SP2 Prof
Thanks.

I had problems with this too, and after some faffing around, it appears as though you need to patch 2 files, and make sure you build both with wchar_t as a built-in type (/Zc:wchar_t).

Unfortunately I don't have the instructions to hand, there must have been a power cut at work again.

The CVS versions of STLport and Boost seem to build quite nicely together, but I have not run the regression tests yet.

It's dissapointing that two such great products do not work nicely together, but Boost 1.33.1 and STLport 5 should resolve this, I think. the latest development versions show promise.

Make sure you set up your environemnts correctly (include paths), and that /Zc:whcar_t is set on both builds.

Ben
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top