Problem running .cpp files on gnuradio windows

I have successfully installed gnuradio on windows and the python
examples
work fine. Now i am trying to run a test program (.cpp file) using mingw
on
windows using the following command
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

is there some other way to run .cpp files on mingw? i have got all the
header files which this program requires in the same folder but if i run
it
without the -lusrp statement mingw is unable to find those header files.