how to solve loadlibrary error?

I was running this line:
loadlibrary('LKIF2.dll','LKIF2.h')
and got this error:
??? Error using ==> loadlibrary at 279 Microsoft Visual C++ 2005 or 2008 is required to use this feature.
I'm using matlab 2010b and windows 7 x64 in my computer I've installed Microsoft Visual studio 2010 , Microsoft SDK 7.1 and Microsoft Visual C++ 2008 SP1 Redistributable Package (x64).
how can i solve this error, maybe some missing files?
10x ahead
Shahar

1 件のコメント

Kaustubha Govind
Kaustubha Govind 2012 年 7 月 19 日
From the error message, it looks like you need Visual C++ 2005 or 2008, and not 2010? (Note that the 2008 Redistributable Package is not sufficient, you need to get the compiler)

サインインしてコメントする。

回答 (1 件)

Ken Atwell
Ken Atwell 2012 年 7 月 19 日
編集済み: Walter Roberson 2012 年 7 月 19 日

0 投票

loadlibrary did not yet support Visual C++ 2010 in R2012b. See http://www.mathworks.com/support/compilers/R2010b/win64.html for supported options.

カテゴリ

ヘルプ センター および File ExchangeC Shared Library Integration についてさらに検索

製品

質問済み:

2012 年 7 月 19 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by