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
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:image5fd716.JPG@ebfac5a4.47a0da54]http:// Direct 505-396-7109 Cell 408-514-7821 6100 Uptown Blvd NE, Suite 260 Albuquerque, New Mexico 87110 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
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> 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
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 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
Hi Matthieu:
Thanks a lot!
Cheers,
Mushtaq
----------------------------
Mushtaq Syed, Ph.D.
Principal Digital Signal Processing Engineer
Verus Research
[cid:imagee951d3.JPG@98733883.4f9b0953]http://
Direct 505-396-7109
Cell 408-514-7821
6100 Uptown Blvd NE, Suite 260
Albuquerque, New Mexico 87110
verusresearch.net
----------------------------
From: Boost-users
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
participants (2)
-
Matthieu Brucher
-
Mushtaq A. Syed, Ph.D.