Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uhd.lib cannot be opened #643

Closed
Slaih opened this issue Oct 26, 2022 · 6 comments
Closed

uhd.lib cannot be opened #643

Slaih opened this issue Oct 26, 2022 · 6 comments

Comments

@Slaih
Copy link

Slaih commented Oct 26, 2022

lib\Release\uhd.lib entrance file cannot be opened

Setup Details

I try to generate uhd in windows with cmake gui

Expected Behavior

I expected to compile project in visual studio with no error

Actual Behaviour

but I got this
image

Steps to reproduce the problem

Additional Information

@manderseck
Copy link
Contributor

I cannot reproduce the issue here on Win10 and VS2019. @Slaih Please provide more information, otherwise I'll close this issue. Thanks!

@Slaih
Copy link
Author

Slaih commented Nov 8, 2022

I solved this issue by adding include directories to vs2022 project properties. Thanks your consideration.

@Slaih Slaih closed this as completed Nov 8, 2022
@nathanxpereira
Copy link

Hi, I am also going through this issue, can you elaborate how you fixed it? @Slaih

@Slaih
Copy link
Author

Slaih commented Feb 12, 2024

Hello,

I actually gave up with setting uhd at windows because it is originally developed for linux

@mkoop-ni
Copy link
Contributor

Hi, I am also going through this issue, can you elaborate how you fixed it? @Slaih

Unfortunately, I can not read the error message from the original problem description. I would recommend you follow the instructions in the KB 'Building and Installing the USRP Open Source Toolchain (UHD and GNU Radio) on Windows', even so the listed dependency versions are little outdated. Using these instructions, I was successful able to build UHD while using:

  • Windows 10
  • Visual Studio 2022
  • cmake 3.28.1
  • boost 1.83.0 (using the precompiled installer msvc-14.3-64.exe)
  • libusb 1.0.22
  • python 3.12.1
  • doxygen 1.8.14
  • (optionally) nsis 3.09.

Note:

  • Enable the ENABLE_PYTHON_API box in the cmake_gui application to optionally also build the UHD python API
  • To use the python API please see info in UHD Manual>>Installing the Python API.

If you run into problems when executing the outlined steps, either create a new issue or consider other available support options outlined at https://www.ettus.com/support/.

@nathanxpereira
Copy link

I was able to solve this issue. To revisit the original problem: @mkoop-ni . and to log for others who come across the same problem.
198108306-6ef4ee1f-8931-4404-9999-6c5b3fd8dfbc

This error occurred because I used precompiled installer msvc-14.0-64.exe, when using Visual Studio 2022. Visual studio 2022 is only compatible with msvc-143.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants