Boost logo

Boost :

From: Joel de Guzman (joel_at_[hidden])
Date: 2005-02-12 23:40:46

Hi Hartmut,

I wanted to try out the examples. I encountered some problems:

+ Read the quikstart to get me started immediately.
     "Do not instantiate the main, preprocessing iterators yourself."
     --> not enough context here. "main" is undefined at this point.

+ when using bjam V2, VC7.1 fails with a buffer overrun (compiler
     problem). No problem with bjam V1. I wanted to try the samples
     but they don't have a V1 Jamfile, only V2. So I had to switch
     to using g++ instead. So far so good.

+ Now, I'm able to build the samples using bjam V2. A little hickup:
     bjam complains:
     error: Unable to find file or target named
     error: '/boost/program_options//boost_program_options'
     error: referred from project at
     error: 'cpp_tokens/build'
     Looking at program_options, it seems that the library name is
     program_options (without the boost_ prefix).

+ Got this fixed and. Now got into a link error: ..\..\..\bin.v2\tools\inspect\build\gcc-3.2\
     ain.cpp: multiple definition of `_main'
     ect.cpp: first defined here

Any clues?


Joel de Guzman

Boost list run by bdawes at, gregod at, cpdaniel at, john at