When compiling, just after you press run and the box comes up, type
"-game modname" (without the ") and run it, its a possibility its trying to open the map from the default half-life map directory and not your mod's map directory.
![:)](http://192.241.182.11/images/smilies/smile.png)
Hope that works. (sorry if you've tried that).