Needing help with bbv2 |
|
List Info Thread: Needing help with bbv2
|
||||||||||||||||||||||||||||||||||||||||||||
|
|
|
| Needing help with bbv2 <library-file> usage | |
| 2006-09-19 20:59:27 | |
I've got a problem with <library-file> on MSVC
compilers.
In my Jamfile.v2 I have:
lib boost_thread_pthread
: ## sources ##
pthread/thread.cpp
pthread/mutex.cpp
pthread/condition.cpp
pthread/exceptions.cpp
pthread/xtime.cpp
: ## requirements ##
<include>"C:/Program
Files/ptw32/Pre-built.2/include"
<library-file>"C:/ProgramFiles/ptw32/Pre-built.2
/lib/pthreadVC2.lib"
<define>BOOST_THREAD_POSIX
<thrd-api>pthread
However the build fails with:
LINK : fatal error LNK1104: cannot open file
'<plibs/thread/src>C:\Program.obj'
I have been looking into the respective rsp file which
reads:
"bin.v2\libs\thread\build\msvc-7.1\debug\thrd-ap
i-pthread\threading-multi\thread.obj"
"bin.v2\libs\thread\build\msvc-7.1\debug\thrd-ap
i-pthread\threading-multi\mutex.obj"
"bin.v2\libs\thread\build\msvc-7.1\debug\thrd-ap
i-pthread\threading-multi\condition.obj"
"bin.v2\libs\thread\build\msvc-7.1\debug\thrd-ap
i-pthread\threading-multi\exceptions.obj"
"bin.v2\libs\thread\build\msvc-7.1\debug\thrd-ap
i-pthread\threading-multi\xtime.obj"
<plibs/thread/src>C:\Program
Files\ptw32\Pre-built.2\lib\pthreadVC2.lib
The last line obviously beeing wrong.
I am hoping that someone more knowledgeable with boost.build
v2 can tell
me what possibly might be wrong. I am aware that the above
might not be
easily reproducable without checking out the thread_rewrite
branch.
If needed to further diagnose the problem I will try to set
up a
separate project file.
Thank you for help,
Roland
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
a>
|
|
| Needing help with bbv2 <library-file> usage | |
| 2006-09-19 21:22:01 | |
Quoting Roland Schwarz <roland.schwarz |
|
| Needing help with bbv2 <library-file> usage | |
| 2006-09-20 13:55:48 | |
Brian Ravnsgaard Riis wrote: > Your problem aside... > > ... > What's <library-file> ?? You should be able to link in a prebuilt external library. > Is it documented anywhere? > > Not sure about this. I found it from looking through the boost Jamfile's. Roland _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build a> |
|
| Needing help with bbv2 <library-file> usage | |
| 2006-09-20 20:46:59 | |
Roland Schwarz wrote: > You should be able to link in a prebuilt external library. I thought <file> and <name> were the relevant features for this. I ask because this may tie in with an issue I posted about a week ago, and to which I have got no reply yet... http://tinyurl.com/ztpmp >> Is it documented anywhere? >> >> > Not sure about this. I found it from looking through the boost Jamfile's. I'll take a look. |
|
| Needing help with bbv2 <library-file> usage | |
| 2006-09-21 16:31:55 | |
Brian Ravnsgaard Riis wrote: > What's <library-file> ?? Is it documented anywhere? If I use <library> instead of <library-file> everything seems to work as expected. It was the name beeing used in v1. However since it also appeared in v2 toolsets and some graph lib v2 test files I erreonously assumed it still beeing valid. Obviously my assumption was wrong. Regards Roland _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build a> |
|
about | contact Other archives ( Real Estate discussion Medical topics )