Compiler cannot find .lib file

I'm trying to compile project in visual studio with intel's compiler. The project compiles fine with visual studio and its own compiler, but when I switch to intel's compiler I get: Error 1 error LNK1181: cannot open input file 'rpcrt4.lib'

Anybody knows how to correct it?

Thank you

Upvotes: 1

Views: 2229

Answers (1)

Dipika
Dipika

Reputation: 584

You can add in your program using pragma like this

#pragma comment(lib, "rpcrt4.lib");

Upvotes: 3

Related Questions