[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost-users
Subject:    Re: [Boost-users] [External] Error LNK1104 cannot open file 'boost_unit_test_framework-vc143-mt-x64-
From:       "Mushtaq A. Syed, Ph.D. via Boost-users" <boost-users () lists ! boost ! org>
Date:       2023-08-28 18:22:55
Message-ID: cab43219ab874dbdab70b8510d155d66 () verusresearch ! net
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]

[Attachment #4 (text/plain)]

Hi Matthieu:
                I checked my Cmake, and I have not selected BOOST_ALL_DYN_LINK.
                I only define Boost_INCLUDE_DIR as C:/Program \
Files/Boost/boost_1_82_0 and Boost_LIBRARY_DIRS as C:/Program \
Files/Boost/boost_1_82_0/stage/lib.  The only library that gives me an error and \
which I don't have is boost_unit_test_framework-vc143-mt-x64-1_82.lib. I don't get an \
error for any of the other libraries (libboost).  Would you know what I am doing \
wrong?  Thanks a lot!
                Cheers,
                Mushtaq


----------------------------
Mushtaq Syed, Ph.D.
Principal Digital Signal Processing Engineer
Verus Research

[cid:imageaca987.JPG@d5d94e8b.45a4c634]<http://>

Direct  505-396-7109
Cell      408-514-7821

6100 Uptown Blvd NE, Suite 260
Albuquerque, New Mexico 87110
verusresearch.net
----------------------------


From: Boost-users <boost-users-bounces@lists.boost.org> On Behalf Of Matthieu Brucher \
                via Boost-users
Sent: Monday, August 28, 2023 10:27 AM
To: boost-users@lists.boost.org
Cc: Matthieu Brucher <matthieu.brucher@gmail.com>
Subject: Re: [External] [Boost-users] Error LNK1104 cannot open file \
'boost_unit_test_framework-vc143-mt-x64-1_82.lib' cal_data_gain_pwr_test \
C:\Users\mushtaq.syed\Downloads\uhd-master\host\build\tests\LINK 1

Classic problem of static vs shared libraries. Select the one you can be using based \
on your project.

Matthieu Brucher

Le lun. 28 août 2023 à 17:02, Mushtaq A. Syed, Ph.D. via Boost-users \
<boost-users@lists.boost.org<mailto:boost-users@lists.boost.org>> a écrit : Hi:
               My project uses the Boost library. I have installed C:\Program \
Files\Boost\boost_1_82_0.  I also built using the bootstrap and .\b2 commands from \
the command window. This was because all the libboost libraries in C:\Program \
Files\Boost\boost_1_82_0\stage\lib were missing. Now when I build my code using \
Visual Studio 2022, I am getting the above error. I searched my Boost root folder and \
cannot find boost_unit_test_framework-vc143-mt-x64-1_82.lib; however, I do see \
libboost_unit_test_framework-vc143-mt-x64-1_82.lib and other libboost libraries but \
not a single boost library. I don't know why it is looking for \
boost_unit_test_framework-vc143-mt-x64-1_82.lib and not \
libboost_unit_test_framework-vc143-mt-x64-1_82.lib. Could you please help resolve \
this? Thanks a lot!
Cheers,
Mushtaq


----------------------------
Mushtaq Syed, Ph.D.
Principal Digital Signal Processing Engineer
Verus Research

[cid:image001.jpg@01D9D9A8.1D378050]

Direct  505-396-7109
Cell      408-514-7821

6100 Uptown Blvd NE, Suite 260
Albuquerque, New Mexico 87110
verusresearch.net<http://verusresearch.net>
----------------------------



NOTICE:  This electronic mail message is intended exclusively for the individual or \
entity to which it is addressed. This message, together with any attachment, may \
contain sensitive or privileged information.  Any unauthorized review, use, printing, \
retention, copying, disclosure, or distribution of said email is strictly prohibited. \
If you have received this message in error, please (1) immediately advise the sender \
by reply email message and (2) delete all copies of this message. \
_______________________________________________ Boost-users mailing list
Boost-users@lists.boost.org<mailto:Boost-users@lists.boost.org>
https://lists.boost.org/mailman/listinfo.cgi/boost-users


--
Quantitative researcher, Ph.D.
Blog: http://blog.audio-tk.com/
LinkedIn: http://www.linkedin.com/in/matthieubrucher




________________________________

This email has been scanned for spam and viruses. Click \
here<https://us-spambrella.cloud-protect.net/index01.php?mod_id=11&mod_option=logitem& \
report=1&type=easyspam&k=k1&payload=53616c7465645f5fe481a7c266f5f6f6ff7d623634788ca8ae \
be0a8e5094a2981a3dae0703fbaf16704bbf83c09d5f5f94f2f8be6e3d73b9394785bddb55fa1c7db5105f \
79e91b51c212967ba9a66a04a5ce7c876b6a7006d9806bd1de6c52f29fd57bf118ca2258a231d73ff77777 \
43b0b883474618a2b84ba597889d3cadb03ec9da346e4abec8e05c052de6f0dbce6883ff7f362a5cc5b946 \
528972c0aa6c&mail_id=1693240033-71i4n5DkJlXs&r_address=mushtaq.syed%40verusresearch.net> \
to report this email as spam.


NOTICE:  This electronic mail message is intended exclusively for the individual or \
entity to which it is addressed. This message, together with any attachment, may \
contain sensitive or privileged information.  Any unauthorized review, use, printing, \
retention, copying, disclosure, or distribution of said email is strictly prohibited. \
If you have received this message in error, please (1) immediately advise the sender \
by reply email message and (2) delete all copies of this message


[Attachment #5 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"> <head>
<!-- Template generated by Exclaimer Signature Manager Exchange Edition on 12:22:55 \
Monday, 28 August 2023 --> <meta http-equiv="Content-Type" content="text/html; \
charset=utf-8"> <style type="text/css">P.ImprintUniqueID {
	MARGIN: 0cm 0cm 0pt
}
LI.ImprintUniqueID {
	MARGIN: 0cm 0cm 0pt
}
DIV.ImprintUniqueID {
	MARGIN: 0cm 0cm 0pt
}
TABLE.ImprintUniqueIDTable {
	MARGIN: 0cm 0cm 0pt
}
DIV.Section1 {
	page: Section1
}
</style>
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:"Exo 2";
	panose-1:0 0 5 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
p.m3832307214572649291imprintuniqueid, li.m3832307214572649291imprintuniqueid, \
div.m3832307214572649291imprintuniqueid  \
{mso-style-name:m_3832307214572649291imprintuniqueid;  mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
span.gmailsignatureprefix
	{mso-style-name:gmail_signature_prefix;}
span.EmailStyle23
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<p class="ImprintUniqueID"></p>
<div class="WordSection1">
<p class="MsoNormal">Hi Matthieu:<o:p></o:p></p>
<p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
I checked my Cmake, and I have not selected BOOST_ALL_DYN_LINK.<o:p></o:p></p> <p \
class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
I only define Boost_INCLUDE_DIR as C:/Program Files/Boost/boost_1_82_0 and \
Boost_LIBRARY_DIRS as C:/Program Files/Boost/boost_1_82_0/stage/lib.<o:p></o:p></p> \
<p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
The only library that gives me an error and which I don't have is \
boost_unit_test_framework-vc143-mt-x64-1_82.lib. I don't get an error for any of the \
other libraries (libboost).<o:p></o:p></p> <p \
class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
Would you know what I am doing wrong?<o:p></o:p></p> <p \
class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
Thanks a lot!<o:p></o:p></p> <p \
class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
Cheers,<o:p></o:p></p> <p \
class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
Mushtaq<o:p></o:p></p> <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<p></p>
<p class="ImprintUniqueID"><font face="Exo 2">----------------------------<br>
</font><font style="font-family:Exo \
2;font-size:10pt;color:#008A86;">Mushtaq</font><font color="#008a86" size="4" \
face="Exo 2">&nbsp;</font><font style="font-family:Exo \
2;font-size:10pt;color:#008A86;">Syed, Ph.D.</font><br> <font style="font-family:Exo \
2;font-size:9pt;">Principal Digital Signal Processing Engineer</font><br> <font \
size="1" face="Exo 2"><font style="font-family:Exo 2;font-size:9pt;">Verus \
Research</font></font><br> <br>
<a href="http://" target=""><img width="202" height="82" style="border: 0px Solid ; " \
src="cid:imageaca987.JPG@d5d94e8b.45a4c634"></a><br> <br>
<font style="font-family:Exo 2;font-size:8pt;color:#000000;">Direct \
&nbsp;</font><font style="font-family:Exo \
2;font-size:8pt;color:#008A86;">505-396-7109</font><br> <font style="font-family:Exo \
2;font-size:8pt;color:windowtext;">Cell &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font><font \
style="font-family:Exo 2;font-size:8pt;color:#008A86;">408-514-7821</font><br> <br>
<font size="1" face="Exo 2">6100 Uptown Blvd NE, Suite 260<br>
Albuquerque, New Mexico 87110<br>
<u><strong><font color="#00a18a">verusresearch.net</font></strong></u><br>
----------------------------</font></p>
<p class="ImprintUniqueID">&nbsp;</p>
<p class="ImprintUniqueID"></p>
<div class="WordSection1">
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Boost-users \
&lt;boost-users-bounces@lists.boost.org&gt; <b>On Behalf Of </b>Matthieu Brucher via \
Boost-users<br> <b>Sent:</b> Monday, August 28, 2023 10:27 AM<br>
<b>To:</b> boost-users@lists.boost.org<br>
<b>Cc:</b> Matthieu Brucher &lt;matthieu.brucher@gmail.com&gt;<br>
<b>Subject:</b> Re: [External] [Boost-users] Error LNK1104 cannot open file \
'boost_unit_test_framework-vc143-mt-x64-1_82.lib' cal_data_gain_pwr_test \
C:\Users\mushtaq.syed\Downloads\uhd-master\host\build\tests\LINK 1<o:p></o:p></p> \
</div> <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class="MsoNormal">Classic problem of static vs shared libraries. Select the one \
you can be using based on your project.<o:p></o:p></p> </div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">Matthieu Brucher<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class="MsoNormal">Le&nbsp;lun. 28 août 2023 à &nbsp;17:02, Mushtaq A. Syed, Ph.D. \
via Boost-users &lt;<a \
href="mailto:boost-users@lists.boost.org">boost-users@lists.boost.org</a>&gt; a \
écrit&nbsp;:<o:p></o:p></p> </div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in \
6.0pt;margin-left:4.8pt;margin-right:0in"> <div>
<div>
<div>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi:<o:p></o:p></p> <p \
class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;&nb \
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;My \
project uses the Boost library. I have installed C:\Program \
Files\Boost\boost_1_82_0.<o:p></o:p></p> <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I \
also built using the bootstrap and .\b2 commands from the command window. This was \
because all the libboost libraries in C:\Program Files\Boost\boost_1_82_0\stage\lib  \
were missing.<o:p></o:p></p> <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in"> Now when \
I build my code using Visual Studio 2022, I am getting the above error. I searched my \
Boost root folder and cannot find boost_unit_test_framework-vc143-mt-x64-1_82.lib; \
however, I do see libboost_unit_test_framework-vc143-mt-x64-1_82.lib and other  \
libboost libraries but not a single boost library. I don't know why it is looking for \
boost_unit_test_framework-vc143-mt-x64-1_82.lib and not \
libboost_unit_test_framework-vc143-mt-x64-1_82.lib. <o:p></o:p></p>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in"> Could \
you please help resolve this?<o:p></o:p></p> <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in"> Thanks a \
lot!<o:p></o:p></p> <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in"> \
Cheers,<o:p></o:p></p> <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in"> \
Mushtaq<o:p></o:p></p> <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p> \
</div> <p class="m3832307214572649291imprintuniqueid"><span \
style="font-family:&quot;Exo 2&quot;">----------------------------<br> </span><span \
style="font-size:10.0pt;color:#008A86">Mushtaq</span><span \
style="font-size:13.5pt;font-family:&quot;Exo \
2&quot;;color:#008A86">&nbsp;</span><span \
style="font-size:10.0pt;color:#008A86">Syed, Ph.D.</span><br> <span \
style="font-size:9.0pt">Principal Digital Signal Processing Engineer</span><br> <span \
style="font-size:9.0pt;font-family:&quot;Exo 2&quot;">Verus Research</span><br> <br>
<img border="0" width="202" height="82" style="width:2.1041in;height:.8541in" \
id="Picture_x0020_1" src="cid:image001.jpg@01D9D9A8.1D378050"><br> <br>
<span style="font-size:8.0pt;color:black">Direct &nbsp;</span><span \
style="font-size:8.0pt;color:#008A86">505-396-7109</span><br> <span \
style="font-size:8.0pt">Cell &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span \
style="color:#008A86">408-514-7821</span></span><br> <br>
<span style="font-size:7.5pt;font-family:&quot;Exo 2&quot;">6100 Uptown Blvd NE, \
Suite 260<br> Albuquerque, New Mexico 87110<br>
<strong><u><span style="font-family:&quot;Exo 2&quot;;color:#00A18A"><a \
href="http://verusresearch.net" \
                target="_blank">verusresearch.net</a></span></u></strong><br>
----------------------------</span><o:p></o:p></p>
<p class="m3832307214572649291imprintuniqueid">&nbsp;<o:p></o:p></p>
<p>NOTICE:&nbsp; This electronic mail message is intended exclusively for the \
individual or entity to which it is addressed. This message, together with any \
attachment, may contain sensitive or privileged information.&nbsp; Any unauthorized \
review, use, printing, retention,  copying, disclosure, or distribution of said email \
is strictly prohibited.&nbsp; If you have received this message in error, please (1) \
immediately advise the sender by reply email message and (2) delete all copies of \
this message.<o:p></o:p></p> </div>
<p class="MsoNormal">_______________________________________________<br>
Boost-users mailing list<br>
<a href="mailto:Boost-users@lists.boost.org" \
target="_blank">Boost-users@lists.boost.org</a><br> <a \
href="https://lists.boost.org/mailman/listinfo.cgi/boost-users" \
target="_blank">https://lists.boost.org/mailman/listinfo.cgi/boost-users</a><o:p></o:p></p>
 </div>
</blockquote>
</div>
<p class="MsoNormal"><br clear="all">
<br>
<span class="gmailsignatureprefix">-- </span><o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">Quantitative researcher, Ph.D.<br>
Blog: <a href="http://blog.audio-tk.com/" \
                target="_blank">http://blog.audio-tk.com/</a><br>
LinkedIn: <a href="http://www.linkedin.com/in/matthieubrucher" \
target="_blank">http://www.linkedin.com/in/matthieubrucher</a><o:p></o:p></p> </div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p>&nbsp;<o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="100%" align="center">
</div>
<p>This email has been scanned for spam and viruses. Click <a \
href="https://us-spambrella.cloud-protect.net/index01.php?mod_id=11&amp;mod_option=log \
item&amp;report=1&amp;type=easyspam&amp;k=k1&amp;payload=53616c7465645f5fe481a7c266f5f \
6f6ff7d623634788ca8aebe0a8e5094a2981a3dae0703fbaf16704bbf83c09d5f5f94f2f8be6e3d73b9394 \
785bddb55fa1c7db5105f79e91b51c212967ba9a66a04a5ce7c876b6a7006d9806bd1de6c52f29fd57bf11 \
8ca2258a231d73ff7777743b0b883474618a2b84ba597889d3cadb03ec9da346e4abec8e05c052de6f0dbc \
e6883ff7f362a5cc5b946528972c0aa6c&amp;mail_id=1693240033-71i4n5DkJlXs&amp;r_address=mushtaq.syed%40verusresearch.net">
 here</a> to report this email as spam.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<p></p>

<p>NOTICE:&nbsp; This electronic mail message is intended exclusively for the \
individual or entity to which it is addressed. This message, together with any \
attachment, may contain sensitive or privileged information.&nbsp; Any unauthorized \
review, use, printing, retention, copying, disclosure, or distribution of said email \
is strictly prohibited.&nbsp; If you have received this message in error, please (1) \
immediately advise the sender by reply email message and (2) delete all copies of \
this message.</p>

</body>
</html>


["image001.jpg" (image/jpeg)]
["imageaca987.JPG" (image/jpeg)]

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
https://lists.boost.org/mailman/listinfo.cgi/boost-users

--===============2431679091511344761==--


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic