1

I downloded the sample session from the intel media sdk and tried to build it . But unfortunatly it always says :"cannot open file 'libmfx_vs2015.lib'" . I have looked on many solutions saying i should change the path of the linker in the project propertires but it didn't change anything about the build. Can anyone point me in the right direction or atleast point me to a decent tutorial on how to use the media sdk api ?

Cahnging the path for the additional lib

LNK1104 cannot open file'libmfx_vs2015.lib'

drescherjm
  • 10,365
  • 5
  • 44
  • 64
Dennis_Z
  • 47
  • 6
  • 1
    This means either of 3 things. 1. The fie named incorrectly (does not match what you typed) or it is in the wrong folder. 2. The file is corrupt. or 3. You are mixing 32 and 64 bit. – drescherjm Jun 24 '19 at 14:58
  • Does the file exist anywhere on your system if you search for it? – cen Jun 24 '19 at 15:31
  • @drescherjm Thank you it solved the issue- i forgot to set the solution platform to 64. Thank you !!!! – Dennis_Z Jun 25 '19 at 05:29

1 Answers1

1

LNK1104 cannot open file 'libmfx_vs2015.lib' (or any other library) usually means one of the following three things:

  1. The file was not found in the library search paths. It could be named differently or the path is not in your Linker->General->Additional Library Directories setting for the current configuration or the system wide directories property page: https://learn.microsoft.com/en-us/cpp/build/reference/vcpp-directories-property-page?view=vs-2019
  2. The library is corrupt in some way.
  3. You could also be mixing 32 and 64 bit binaries. Your application bitlevel must match the library so if the library is 64 bit make sure you are using the x64 configuration for your application in Visual Studio.
drescherjm
  • 10,365
  • 5
  • 44
  • 64