put the wrong library in the link. used RNGSSELIB instead of PRAND.