Re: [USRP-users] MSVC + CMake

2018-12-08 Thread Marcus Müller via USRP-users
Hi Martin, I'll simply answer although I'm definitely not a Windows developer, so from my very small and selective set of windows dev experiences: Oh, that sounds like the problem that you can't link release executables to debug libraries, or vice versa. I was very surprised by that, and it still

Re: [USRP-users] MSVC + CMake

2018-12-07 Thread Martin K via USRP-users
Marcus, Thank you. I ran the 'INSTALL' target in Visual Studio and it installed FindUHD.cmake successfully. Previously I had generated an installer with the NSIS tool and I don't think it installed FindUHD.cmake. CMake now finds UHD. Is it normal that I cannot Debug a UHD client program in Visual

Re: [USRP-users] MSVC + CMake

2018-12-07 Thread Marcus Müller via USRP-users
Dear Mr. Klingensmith, puh, it's been a while since I worked under Windows with CMake, but do try cmake -DCMAKE_MODULE_PATH=/path/to/where/FindUHD.cmake .. or using ccmake to add that path to the CMAKE_MODULE_PATH list. Best regards, Marcus On Thu, 2018-12-06 at 16:29 -0500, Martin K via USRP

[USRP-users] MSVC + CMake

2018-12-06 Thread Martin K via USRP-users
I just built UHD for my version of Visual Studio (15.5 == 2017) the examples, such as uhd_usrp_probe, execute normally. I am trying to make a new project and build the init_usrp example. The CMake GUI for Windows cannot find UHD: CMake Error at CMakeLists.txt:33 (find_package): By not providing "