Forum: GNU Radio ld.exe cannot find -lusrp on windows

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Zainab Q. (Guest)
on 2009-05-10 15:49
(Received via mailing list)
I have successfully installed gnuradio on windows xp but i am having a
slight problem running the C++ files. When i enter the following command
on
MinGW:
$ g++ usrp_test_c++.cpp -o testusrp -lusrp

I get the following error:

C:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe:
cannot
find -lusrp
collect2: ld returned 1 exit status

Please guide me to figure out the problem. I have the files

libusrp-0.dll
libusrp.dll.a
libusrp.la
libusrp.lai

in the following folder:

C:\gnuradio-3.1.3\usrp\host\lib\legacy\.libs

Is there any file missing? or if i need to set the Path variable then
which
one needs to be set?

Regards
Zainab
This topic is locked and can not be replied to.