Hi, all.

 

I tring compile list_includes sample code with VS2008 CF.

but, compiled.

 

first of all, modify to wave/samples/list_includes/build/Jamfile.v2.

 

SOURCES =
        ../list_includes.cpp
        ../instantiate_cpp_exprgrammar
        ../instantiate_cpp_grammar
        ../instantiate_cpp_literalgrs
        ../instantiate_defined_grammar
        ../instantiate_lexertl_lexer
    ;

I was modify from ../list_includes.cpp to ../list_includes of second line.

It's right?

 

after, I tring to line_includes sample compiling.

 

Enter to >bjam --build-dir=C:\boost1.35

 

but, not compiled with below errors.

How to solve this problem?

Help me... pleeeeeeez.

 

~~~

 

...patience...
...patience...
...found 1441 targets...
...updating 1 target...
msvc.link C:\boost1.35\boost\bin.v2\libs\wave\samples\list_includes\build\msvc-9
.0\debug\list_includes.exe
   Creating library C:\boost1.35\boost\bin.v2\libs\wave\samples\list_includes\bu
ild\msvc-9.0\debug\list_includes.lib and object C:\boost1.35\boost\bin.v2\libs\w
ave\samples\list_includes\build\msvc-9.0\debug\list_includes.exp
list_includes.obj : error LNK2001: unresolved external symbol "public: static un
signed int const boost::program_options::options_description::m_default_line_len
gth" (?m_default_line_length@options_description@program_options@boost@@2IB)
list_includes.obj : error LNK2001: unresolved external symbol "class std::basic_
string<char,struct std::char_traits<char>,class std::allocator<char> > boost::pr
ogram_options::arg" (?arg@program_options@boost@@3V?$basic_string@DU?$char_trait
s@D@std@@V?$allocator@D@2@@std@@A)
list_includes.obj : error LNK2019: unresolved external symbol "public: static st
ruct boost::wave::cpplexer::lex_input_interface<class boost::wave::cpplexer::lex
_token<struct boost::wave::util::file_position<class boost::wave::util::flex_str
ing<char,struct std::char_traits<char>,class std::allocator<char>,class boost::w
ave::util::CowString<class boost::wave::util::AllocatorStringStorage<char,class
std::allocator<char> >,char *> > > > > * __cdecl boost::wave::cpplexer::lexertl:
:new_lexer_gen<class std::_String_iterator<char,struct std::char_traits<char>,cl
ass std::allocator<char> >,struct boost::wave::util::file_position<class boost::
wave::util::flex_string<char,struct std::char_traits<char>,class std::allocator<
char>,class boost::wave::util::CowString<class boost::wave::util::AllocatorStrin
gStorage<char,class std::allocator<char> >,char *> > > >::new_lexer(class std::_
String_iterator<char,struct std::char_traits<char>,class std::allocator<char> >
const &,class std::_String_iterator<char,struct std::char_traits<char>,class std
::allocator<char> > const &,struct boost::wave::util::file_position<class boost:
:wave::util::flex_string<char,struct std::char_traits<char>,class std::allocator
<char>,class boost::wave::util::CowString<class boost::wave::util::AllocatorStri
ngStorage<char,class std::allocator<char> >,char *> > > const &,enum boost::wave
::language_support)" (?new_lexer@?$new_lexer_gen@V?$_String_iterator@DU?$char_tr
aits@D@std@@V?$allocator@D@2@@std@@U?$file_position@V?$flex_string@DU?$char_trai
ts@D@std@@V?$allocator@D@2@V?$CowString@V?$AllocatorStringStorage@DV?$allocator@
D@std@@@util@wave@boost@@PAD@util@wave@boost@@@util@wave@boost@@@util@wave@boost
@@@lexertl@cpplexer@wave@boost@@SAPAU?$lex_input_interface@V?$lex_token@U?$file_
position@V?$flex_string@DU?$char_traits@D@std@@V?$allocator@D@2@V?$CowString@V?$
AllocatorStringStorage@DV?$allocator@D@std@@@util@wave@boost@@PAD@util@wave@boos
t@@@util@wave@boost@@@util@wave@boost@@@cpplexer@wave@boost@@@345@ABV?$_String_i
terator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0ABU?$file_position@V?$fle
x_string@DU?$char_traits@D@std@@V?$allocator@D@2@V?$CowString@V?$AllocatorString
Storage@DV?$allocator@D@std@@@util@wave@boost@@PAD@util@wave@boost@@@util@wave@b
oost@@@util@45@W4language_support@45@@Z) referenced in function "public: static
struct boost::wave::cpplexer::lex_input_interface<class boost::wave::cpplexer::l
ex_token<struct boost::wave::util::file_position<class boost::wave::util::flex_s
tring<char,struct std::char_traits<char>,class std::allocator<char>,class boost:
:wave::util::CowString<class boost::wave::util::AllocatorStringStorage<char,clas
s std::allocator<char> >,char *> > > > > * __cdecl boost::wave::cpplexer::lexert
l::lexertl_input_interface<class boost::wave::cpplexer::lex_token<struct boost::
wave::util::file_position<class boost::wave::util::flex_string<char,struct std::
char_traits<char>,class std::allocator<char>,class boost::wave::util::CowString<
class boost::wave::util::AllocatorStringStorage<char,class std::allocator<char>
>,char *> > > > >::new_lexer<class std::_String_iterator<char,struct std::char_t
raits<char>,class std::allocator<char> > >(class std::_String_iterator<char,stru
ct std::char_traits<char>,class std::allocator<char> > const &,class std::_Strin
g_iterator<char,struct std::char_traits<char>,class std::allocator<char> > const
 &,struct boost::wave::util::file_position<class boost::wave::util::flex_string<
char,struct std::char_traits<char>,class std::allocator<char>,class boost::wave:
:util::CowString<class boost::wave::util::AllocatorStringStorage<char,class std:
:allocator<char> >,char *> > > const &,enum boost::wave::language_support)" (??$
new_lexer@V?$_String_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@?$l
exertl_input_interface@V?$lex_token@U?$file_position@V?$flex_string@DU?$char_tra
its@D@std@@V?$allocator@D@2@V?$CowString@V?$AllocatorStringStorage@DV?$allocator
@D@std@@@util@wave@boost@@PAD@util@wave@boost@@@util@wave@boost@@@util@wave@boos
t@@@cpplexer@wave@boost@@@lexertl@cpplexer@wave@boost@@SAPAU?$lex_input_interfac
e@V?$lex_token@U?$file_position@V?$flex_string@DU?$char_traits@D@std@@V?$allocat
or@D@2@V?$CowString@V?$AllocatorStringStorage@DV?$allocator@D@std@@@util@wave@bo
ost@@PAD@util@wave@boost@@@util@wave@boost@@@util@wave@boost@@@cpplexer@wave@boo
st@@@234@ABV?$_String_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0AB
U?$file_position@V?$flex_string@DU?$char_traits@D@std@@V?$allocator@D@2@V?$CowSt
ring@V?$AllocatorStringStorage@DV?$allocator@D@std@@@util@wave@boost@@PAD@util@w
ave@boost@@@util@wave@boost@@@util@34@W4language_support@34@@Z)
C:\boost1.35\boost\bin.v2\libs\wave\samples\list_includes\build\msvc-9.0\debug\l
ist_includes.exe : fatal error LNK1120: 3 unresolved externals

        call "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86
 >nul
link /NOLOGO /INCREMENTAL:NO /DEBUG /subsystem:console /out:"C:\boost1.35\boost\
bin.v2\libs\wave\samples\list_includes\build\msvc-9.0\debug\list_includes.exe"
 @"C:\boost1.35\boost\bin.v2\libs\wave\samples\list_includes\build\msvc-9.0\debu
g\list_includes.exe.rsp"
        if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%
        if exist "C:\boost1.35\boost\bin.v2\libs\wave\samples\list_includes\buil
d\msvc-9.0\debug\list_includes.exe.manifest" (
            mt -nologo -manifest "C:\boost1.35\boost\bin.v2\libs\wave\samples\li
st_includes\build\msvc-9.0\debug\list_includes.exe.manifest" "-outputresource:C:
\boost1.35\boost\bin.v2\libs\wave\samples\list_includes\build\msvc-9.0\debug\lis
t_includes.exe;1"
        )

...failed msvc.link C:\boost1.35\boost\bin.v2\libs\wave\samples\list_includes\bu
ild\msvc-9.0\debug\list_includes.exe...
...failed updating 1 target...