From: Phillip Seaver (phil_at_[hidden])
Date: 2006-04-05 11:15:50
Peters, Richard wrote:
> I've got a problem with the MIDL HOWTO Q&A question number 4:
> "Q4: I'm converting a Visual Studio project and I get the linker error
> 'unresolved external symbol _LIBID_exampleLib'.
> A4: Include example-typelib_i.c to one of the source files"
> I tried putting mylibrary_i.c into the list of source files, but bjam
> can't find the file (which is generated by the MIDL compiler). I can put
> bin/msvc/debug/mylibrary_i.c into the list of source files, which works
> (well, it doesn't work with subprojects), but obviously that can't be
> the correct solution. I also tried using <implicit-dependency>, but that
> didn't work either. How can I tell bjam to look into the build directory
> when getting that source file?
> Best regards,
> Richard Peters
I suspect they meant for you to add '#include "example-typelib_i.c"' to
one of your other source files, since that's the way it's done in my
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk